Bluetooth: host: bt_conn_auth_cb callbacks are not called when pairing to BLE 4.1 central in BT_SECURITY_L4 mode. #31607
Labels
area: Bluetooth Host
Bluetooth Host (excluding BR/EDR)
area: Bluetooth
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Milestone
I'n using peripheral_lbs from Nordic nRF Connect SDK on nRF52840dk board.
I have Android phone Samsung Galaxy J1. It has BLE 4.1 only.
I've set secuirity level to BT_SECUIRITY_L4
On a smartphone I run nRFConnect app and try to pair with DK board.
Pairing fails because BLE 4.1 doesn't support LESC pairing (BT_SECURITY_L4) but
Board shows that the "secuirity_changed" callback called and then immediately "disconnected" callback.
Expected behavior
I expect bt_conn_auth callbacks like "cancel" or "pairing_failed" to be called but they are not.
Workaround:
Handle in-progress pairing as failed in disconnected callback if pairing_failed has not been called yet
The text was updated successfully, but these errors were encountered: