"NRF_ERROR_NO_MEM" at disconnect

Dear sir/madame

Hope someone can point me into the right direction.

I have created a multirole app that acts as a relay station (range extender) between a peripheral unit and a central unit.  Code is running on nRF2840 (custom board). I am using SDK 17.0.1 and have used the example ble_app_multirole_lesc as starting point.

I removed everything related to services, PM manager, security, UART and then added NUS services for central and peripheral side.

Everything works fine. I can connect a peripheral unit to the central side of the relay station and a central to the peripheral side of the relay station and data from peripheral unit is forwarded to central unit and vice versa.

 If the central unit by some reason stops working a disconnect should be detected in the peripheral side of the relay station, but instead I get NRF_ERROR_NO_MEM via function “conn_params_error_handler” that receive errors from Connection Handler Module.

I have been looking through the ble_conn_params file, but not been able to find anything that could in some way tell me why I get NRF_ERROR_NO_MEM.

 

For your information: If the peripheral unit goes down by some reason a disconnect event is initiated in the central side of the relay station and I handle it according to our requirements.

 

Best regards

Svein

Parents Reply Children
No Data
Related