I use softdevice s110 7.3.0 and SDK version 7.2.
Some times softdevice call app_error_handler with: error_code 0xDEADBEEF line num - 990 file_name - src\ll_ctrl.s0.c
I can't recognize why that happens. softdevice call app_error_handler after i try to disconnect form device and delete bond information.
This is my code:
err_code = dm_device_delete_all(&m_app_handle);
APP_ERROR_CHECK(err_code);
if( m_conn_handle == BLE_CONN_HANDLE_INVALID )return NRF_SUCCESS;
err_code = sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
if( err_code != NRF_ERROR_INVALID_STATE )
{
APP_ERROR_CHECK(err_code);
}
return NRF_SUCCESS;