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

Softdevice enters a deadlock when the device goes out of range during an active data transmission

Hi, our application uses a nrf52840 module and a nrf52840 dongle. ( sdk15.0.0) in the application. 

The central sends data to the peripheral continuously on an event. When the central goes out of range before the data transmission is complete, we notice a device restart/reset caused by the watchdog.

If the device comes back in range before the watchdog timer is run down, the devices get reconnected and data transmission is completed. 

We have done basic error handling as suggested in various threads

Our guess is that the deadlock could be caused by a memory issue with the softdevice ( but we are not sure)

How to prevent the device from resetting. Is there a way we can get the softdevice out of this deadlock. We are okay to lose the data in the worst case, but can't let the device reset as it causes other issues for our application. 

Kindly help on priority. This is deployment critical.

Parents Reply Children
No Data
Related