Hello
I am using Android and BLE communication with nRF52832 (BLENano2) now.
I am using SDK 15.0.0 with keil uversion.
Central is Android and peripheral is nRF52832.
Use the SDK "ble_app_blinky".
I now want to send arbitrary data from peripheral to central.
So I added a characteristic based on "ble_app_blinky".
The following program was created for that characteristic.
By calling this "send_value" function
It turned out that a value is set by "sd_ble_gatts_value_set" and a value is notified by "sd_ble_gatts_hvx".
There is something I do not understand here, but I want to know when to call this function.
I found out that I have to be called when notification is enabled.
How should I program when notification is valid?
Please give me an answer