This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Upgrading SDK 6 : ANCS reconnection problem BLE_GAP_SEC_STATUS_PASSKEY_ENTRY_FAILED

Hi,

I am upgrading SDK from 5.2.0 to 6.0.0 working with SoftDevice 7 and I am facing a problem in relation with ANCS.

When I am pairing the phone (IOS 7) the first time, no problem : I am able to handle ANCS notification.

Then I disconnect the nRF51822 and try to reconnect to the phone (BLE still connected on the phone). In that case, I get BLE_GAP_SEC_STATUS_PASSKEY_ENTRY_FAILED

There is no problem with SDK 5.2.0 working SoftDevice 6.

Here are my security parameters :

#define SEC_PARAM_TIMEOUT                    30                                         /**< Timeout for Pairing Request or Security Request (in seconds). */
#define SEC_PARAM_BOND                       1                                          /**< Perform bonding. */
#define SEC_PARAM_MITM                       0                                          /**< Man In The Middle protection not required. */
#define SEC_PARAM_IO_CAPABILITIES            BLE_GAP_IO_CAPS_NONE                       /**< No I/O capabilities. */
#define SEC_PARAM_OOB                        0                                          /**< Out Of Band data not available. */
#define SEC_PARAM_MIN_KEY_SIZE               7                                          /**< Minimum encryption key size. */
#define SEC_PARAM_MAX_KEY_SIZE               16                                         /**< Maximum encryption key size. */

Can you help me?

Am I alone with this problem?

Related