SoftDevice Assertion Handler type.
When an unexpected error occurs within the SoftDevice it will call the SoftDevice assertion handler callback. The protocol stack will be in an undefined state when this happens and the only way to recover will be to perform a reset, using e.g. CMSIS NVIC_SystemReset().
- Note
- This callback is executed in HardFault context, thus SVC functions cannot be called from the SoftDevice assert callback.
- Parameters
-
[in] | pc | The program counter of the failed assert. |
[in] | line_number | Line number where the assert failed. |
[in] | file_name | File name where the assert failed. |