Hello,
I am currently building up a little application on top of the ble_multilink_peripheral_example.
I would like to have the nRF Master Control Panel on Android to automatically "refresh" the value I set in my code with sd_ble_gatts_value_set(m_conn_handle,m_char_handles.value_handle, &test_value);
How to do that? Are the 3 down arrows in the Control Supposed to do that? It says "notifications enabled" in the debug console of the Android App when I press them and also the descriptor changes from "Notifications and indications diasbled" to "Notifications enabled". But then nothing more happens. What function do I need in my code for this to work? sd_ble_gatts_hvx?
//Edit:
I still got a problem I can't seem to solve on my own.. When I disconnect and reconnect from the nRF Master Control Panel (Android) the status in the MCP is still "Bonded" and if I press the single arrow down I still get recent mesaurement values. But when I press the 3 down-arrows to enable notifications the status changes to "Bonding..." then to "Bonded" and I have to press the 3 down-arrows once again to make it work. What may cause this? main.c ble_app_multilink_peripheral.zip