This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BLE Connection Termination events missing, connections non-recoverable

Other Parts Discussed in Thread: CC2640

If we have some active BLE connections between a CC2640 Simple BLE Central and a few CC2640 BLE Simple Peripherals (two or three), and we turn off all Peripherals at the same time, not all the corresponding GAP_LINK_TERMINATED_EVENTs are detected by the Central.

After this the number of “missing GAP_LINK_TERMINATED_EVENT” connections are lost forever, indeed if we try to re-establish all new connections, we receive the error BleNoResources when we reach the max number of connections minus the missing number of GAP_LINK_TERMINATED_EVENT.

Moreover, the Central enters in an unreliable state.

We tried to recover the situation with GAPCentralRole_TerminateLink(0xFFFF), but it didn’t help.

We also tried as  here increasing the Minimum Connection Interval, but it didn’t work as well.

The software of the Central and the Peripherals are slightly customized and up to date to the last versions of BLE Stack (2.2.0), TI-RTOS (2.20.06) and XDCtools (3.32.0.06).

Does anyone know if this is a BLE Stack bug?

Is there a workaround to recover the resources lost so that new connections can be established?