This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cannot pair with previously bonded peer when key is missing

I am using SDK_11 s130 ble_app_gls on nRF51-dk.

An Android phone running nRF-Connect app was able to pair and bond with nRF51-dk. First time doing pairing and bonding works fine. After the bonding information were deleted from the flash of nRF51-dk, the previously bonded Android phone was not able to connect to nRF51-dk. The bonding link keys are still intact at the phone side.

Here is the output from the UART of nRF51-dk.

Start encryption

link secure failed! error: PM_CONN_SEC_ERROR_PIN_OR_KEY_MISSING

Disconnecting

How can one force ble_app_gls to do pairing and bonding if one of the keys is missing from a previously bonded pair?

Related