Dear Sir
I was working with nrf52832.
.SDK version ------------- 'nRF5_SDK_15.0.0_a53641a'
Soft device - s132_nrf52_6.0.0_softdevice.hex
I was handling a scenario where I will use the App nRFConnect to connect with a peripheral device. And immediately disconnect ( disconnect is initiated from peripheral side).
It works correctly most of the times, i.e. it will connect and immediately disconnects and again advertise. .. This is repeatedly happening.
But at times I am getting an error message as shown below.
<info> app: Connected.gk3 <info> app: Connected.gk4 <error> app: ERROR 8 [NRF_ERROR_INVALID_STATE] at I:\GK\Rigado\sdk\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\Sieva_prod1_wologs_TestedOK_27022019\main.c:866 PC at: 0x0003103F <error> app: End of error report
The line 866 corresponds to the line ' APP_ERROR_HANDLER(nrf_error)' inside the function 'conn_params_error_handler()'. The following is the complete function definition.
/**@brief Function for handling a Connection Parameters error.
*
* @param[in] nrf_error Error code containing information about what went wrong.
*/
static void conn_params_error_handler(uint32_t nrf_error)
{
NRF_LOG_INFO("\n in conn_params_error_handler \n ");
APP_ERROR_HANDLER(nrf_error);
}
This happens sometimes only and I could not find a clear procedure for reproducing the same error.
Can somebody help me in resolving the issue?
with regards,
Geetha