This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BLE disconnection does not finish

Hi, I am working on the latest version of SDK (v14) and SoftDevice(v5) on nRF52382. When I call the sd_gap_disconnect it returns NRF_SUCCESS. However the BLE_GAP_DISCONNECT event is not called and the system resets. I checked the reset reason in the power registers and it returns a 4. i.e. a soft reset. The issue here is the disconnection process starts but does not finish, The disconnect event occurs if the nrf_connect app is turned off from the phone. Any reasons for the odd behavior in the first case ?

Parents
  • The cause for the reset was an Internal error. This error came from the ble_conn_params.c file. The function which returned this error is ble_conn_params_init. The timer at the end is initialized once at the beginning and fails the next time we call the params_init function. Handling the internal error fixed the problem.

Reply
  • The cause for the reset was an Internal error. This error came from the ble_conn_params.c file. The function which returned this error is ble_conn_params_init. The timer at the end is initialized once at the beginning and fails the next time we call the params_init function. Handling the internal error fixed the problem.

Children
No Data
Related