This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Pairing notification in central device

Part Number: CC2640R2F


Hi,

uint32_t passkey = 0; // passkey "000000"
    uint8_t pairMode = GAPBOND_PAIRING_MODE_INITIATE;
    uint8_t mitm = TRUE;
    uint8_t ioCap = GAPBOND_IO_CAP_DISPLAY_ONLY;
    uint8_t bonding = TRUE;

    GAPBondMgr_SetParameter(GAPBOND_DEFAULT_PASSCODE, sizeof(uint32_t),
                            &passkey);
    GAPBondMgr_SetParameter(GAPBOND_PAIRING_MODE, sizeof(uint8_t), &pairMode);
    GAPBondMgr_SetParameter(GAPBOND_MITM_PROTECTION, sizeof(uint8_t), &mitm);
    GAPBondMgr_SetParameter(GAPBOND_IO_CAPABILITIES, sizeof(uint8_t), &ioCap);
    GAPBondMgr_SetParameter(GAPBOND_BONDING_ENABLED, sizeof(uint8_t), &bonding);

this is the simpleBleperipheral example code inthe BLE stack 2.2.1 and flashed into the cc22640 EM and connected via iphone 6S nRF App.While connecting the central device asking the pairing confirmation with the key. once we entered the key pairing will get success.

But the same simpleBleperipheral with the above same configuration in the stack CC2640R2 SDK 1.00.00.22 and flashed into CC2640R2 chipset and connected via same central device.

But its not notifying the user for the pairing key to enter and bonding get failed.

Please provide your feedback.

Are we missing any configuration?

Thanks.

-Thangaraj