Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

How to check if SoftDevice is alive?

Hello.

How can I monitor that SoftDevice is working properly?

I am trying to monitor using Radio notification, but RADIO Active does not guarantee that the SoftDevice is working properly, and the interrupt frequency is high.

There is also a way to monitor SDH events, but these do not occur all the time, so I don't think they are suitable for monitoring normality.

There also does not seem to be an API to monitor the status of SoftDevice by polling.

If you have any good ideas, please let me know.

best regards.

Parents Reply Children
  • Hello Jonathan

    > What is it that you are trying to achieve with checking if the softdevice is alive? 

    What I want to do is have the main loop monitor for any abnormal behavior in the soft device and reset the device.

    Believe it or not, this is actually happening, and the reasons why are under investigation.

    See this ticket.: Beacon output suddenly stops

    In rare cases, for some reason, events from the SoftDevice are not sent from the start of a BLE connection and the SoftDevice becomes unresponsive to requests, but application processing, including UART, continues to function normally.

    > there is a check if enabled function

    I don't want to know if it's enabled, I just want to know if it's working.

    best regards,

Related