Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Check BLE connection status

Hello!

We're using SDK 12.3 on our application, and we're aware that the SDK is targeted to be event driven, meaning that our code should be the one keeping track of the connection status by using the propagate events.

However, the problem we're facing is that sometimes, when the scheduler queue becomes full, and because it is also being used for the SoftDevice, the code looses some SD events, loosing track of the connection status.

If the SD also kept track of the latest connection status, we were thinking about using a timer to periodically compare the tracked status with what the SD knows.

Is this approach viable/possible?

Thanks!

Related