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
  • Hello Jonathan,

    > There is no good way to monitor this,

    Hmm, that was a disappointing result.

    So are there any harmless requests for which the SD will return an event?

    This refers to events that are responded to as events but do not affect BLE operation.

    One thing that came to mind is sd_flash_write, but you cannot write a size of 0, and it will stop the CPU for up to one word (41us).

    If such an API exists, it would be possible to monitor the response of SD events by calling it periodically.

    Best regards,

Children
Related