Closed
Description
Describe the bug
BLEConnection::requestPairing
does not return if the device is disconnected during pairing.
After the BLE_GAP_EVT_DISCONNECTED
event occurs, the BLE_GAP_EVT_EVT_CONN_SEC_UPDATE
event does not occur, so
xSemaphoreGive(_pair_sem)
is not called and No longer return from xSemaphoreTake(_pair_sem, portMAX_DELAY).
Set up (mandatory)
- PC & IDE : Arduino 1.8.13 Windows 10
- BSP : 0.20.5
- Board : Feather nRF52840 Express
- Sketch: None