Hi,
In my application I have a requirement to send notifications to mobile on triggering particular Interrupts as well as particular events.I have created a customised notification service having one character.I tried implementing in such a way that if interrupt occurs then it has to update ble_gatts_attr_t.p_value.The implemented code is attached below
I have just assigned a value to the member p_value.To reach my requirement I should be able to read value 02 in the characteristic value.For that purpose the given value must get updated into softdevice.Can you please let me know about any specific function call that would lead updating the value onto softdevice??
On top of this,I want to let you know The main requirement of our project i.e we should be able to send notifications like "It is ready","Container is empty" onto the mobile application.Observing character parameters I coudn't analize how to send the value as string.So I thought of updating an integer value whenever any event/interrupt generated.
Depending on the integer value recieved on the mobile,it should display corresponding string as notification.(I guess this part comes under customized mobile application development).
Please suggest me right way to implement my requirement.
Thanks & Regards,
Swathi P.