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

How to reset nRF52810 softdevice but not application?

It appears the softdevice gets into a strange state when a BLE connection is lost while transferring data.  How does application code reset or reinitialize the softdevice?

Thanks

  • Hi,

    You can disable the Softdevice through sd_softdevice_disable(), but then you would have to re-initialize your BLE services, GAP settings, etc as you do in your startup code. It seems like it would be easier to just call NVIC_SystemReset() when this happens. You say the Softdevice is behaving strangely after the connection is lost, could you provide some more details on this? E.g., does it lead to a Soft reset from the app errror fault handler? 

Related