BLE_GAP_EVT_DISCONNECTED doesn't occur when connection is terminated after receiving LL_VERSION_IND

Hi

We established a connection with a mobie phone as central device and an nRF52832 or nRF52833 as peripheral device.
If we afterwards try to terminate the connection on the nRF with sd_ble_gap_disconnect(), the BLE_GAP_EVT_DISCONNECTED does not occur.

We have seen with a Bluetooth sniffer, that the SoftDevice sends the LL_TERMINATE_IND right after the central device has sent the LL_VERSION_IND.
Is it possible that the SoftDevice could not trigger BLE_GAP_EVT_DISCONNECTED because it is somehow stuck because it could not answer the LL_VERSION_IND?

If we add a small delay so that the connection is terminated after the SoftDevice answered the LL_VERSION_IND, the BLE_GAP_EVT_DISCONNECTED is triggered.

The problem occurred on the nRF52832 (S132 V7.2.0) and on the nRF52833 (S140 V7.2.0).

Do you know this behavior?

Many thanks in advance.
Remo

Parents Reply Children
No Data
Related