Hello.
I am using nrf52832 (s132 v7.0.1, SDK v17.0.0) as a peripheral and developing.
I am using nRF Connect to communicate with the peripheral nRF52832.
One of the processes is to disconnect if the security parameters do not match. This disconnection process causes an error in "conn_params_error_handler".
static void conn_params_error_handler(uint32_t nrf_error)
{
APP_ERROR_HANDLER(nrf_error);
return;
}
00> <info> app: Connected, handle 0x0. 00> <info> app: BLE_GAP_EVT_SEC_PARAMS_REQUEST. 00> <error> app: ERROR 8 [NRF_ERROR_INVALID_STATE]
I do not understand why this error occurs.
Therefore, I was looking for a way to deal with it in DevZone, and the answer I got was "you can ignore it".
In case of NRF_ERROR_INVALID_STATE, is it OK to avoid entering "APP_ERROR_HANDLER"?
Please help me to solve this problem.
Best regards.