Skip to content

BLEConnection::requestPairing does not return if the device is disconnected during pairing. #566

Closed
@arms22

Description

@arms22

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions