Closed arms22 closed 4 years ago
ah right, thanks, that is indeed an issue. Currently there is huge pending PR $466 that implement LESC and completely rework the pairing process. We will wait until that PR got merged and double check this again. Thanks for posting.
Hi hathach Thanks for the reply. I'll check again once PR $466 have been merged!
Describe the bug
BLEConnection::requestPairing
does not return if the device is disconnected during pairing.After the
BLE_GAP_EVT_DISCONNECTED
event occurs, theBLE_GAP_EVT_EVT_CONN_SEC_UPDATE
event does not occur, soxSemaphoreGive(_pair_sem)
is not called and No longer return fromxSemaphoreTake(_pair_sem, portMAX_DELAY).
Set up (mandatory)