This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

At what point is the softdevice ready to send notifications?

At the moment I'm sending a notificaties during the BLE_GAP_EVT_CONNECTED event. This sometimes results in various errors but I can take care of those. The issue I'm having is that the notifications are not received in the nRF Connect app. I assume that after the BLE_GAP_EVT_CONNECTED event there are still some things going on (security, negotiation, discovery?). At what point can I be sure that both parties are ready to send/receive notifications? Is there an event for this?

In my application the CCCD has notifications enabled stored in the bond information so I can't do anything with the write events. Notifications are send after a GPIO interrupt, so I'm not using a timer to periodically send them.

Parents Reply Children
No Data
Related