LESC "Just Works" Reconnection Issues

SDK: NCS 1.7.1.

Based on: Peripheral UART example

Central: nRF Dongle

Peripheral: nRF52832

Hi,

I am running into an issue using the "Just Works" pairing method when attempting to reconnect after successfully pairing and bonding. I modified the "Peripheral_UART" example based on the following link https://devzone.nordicsemi.com/f/nordic-q-a/77391/allow-lesc-just-works-pairing-bonding-with-nrf-connect-sdk-zephyr-after-pressing-button/336031#336031 and was successful in pairing and bonding on the initial connection. Upon reconnection, the connection is dropped, and the following output is seen using puTTy: 

E: SMP Timeout
Security failed: DE:56:61:DF:19:86 (random) level 1 err 8
Pairing failed conn: DE:56:61:DF:19:86 (random), reason 8

Reason 8 refers to "BT_SMP_ERR_UNSPECIFIED" so that doesn't give me much information.

I used an Ellisys Sniffer and I was able to see that the connection is dropped after the "LLCP Encryption Start" event when reconnecting.

Any advice would be appreciated!

Best,


Tom

Related