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: Just works paring doesn't work after upgrading stack and chip

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2640

Hi


Just want to know If I missed something.

I changed stack version from [ble_cc26xx_2_01_01_44627] to new [SimpleLink™ CC2640R2 SDK 1.00.00.17.eng]

And at the same time changed chip version to R2 of CC2640

I have followed your guide how to do this and when I got my code running again I see that "just works pairing" doesn't work anymore. 


Here are my settings.  (same settings in both central and peripheral. Only different is that Central uses GAPBOND_PAIRING_MODE_INITIATE )

 // GAP bonding settings.
    {
        uint32 passkey = 0; // passkey "000000"
        uint8 pairMode = GAPBOND_PAIRING_MODE_WAIT_FOR_REQ;
        uint8 mitm = FALSE;
        uint8 ioCap = GAPBOND_IO_CAP_NO_INPUT_NO_OUTPUT;
        uint8 bonding = TRUE;
        uint8 autoSyncWhitelist = TRUE;

        GAPBondMgr_SetParameter( GAPBOND_DEFAULT_PASSCODE, sizeof ( uint32 ), &passkey );
        GAPBondMgr_SetParameter( GAPBOND_PAIRING_MODE, sizeof ( uint8 ), &pairMode );
        GAPBondMgr_SetParameter( GAPBOND_MITM_PROTECTION, sizeof ( uint8 ), &mitm );
        GAPBondMgr_SetParameter( GAPBOND_IO_CAPABILITIES, sizeof ( uint8 ), &ioCap );
        GAPBondMgr_SetParameter( GAPBOND_BONDING_ENABLED, sizeof ( uint8 ), &bonding );
        GAPBondMgr_SetParameter( GAPBOND_AUTO_SYNC_WL, sizeof ( uint8 ), &autoSyncWhitelist );

    }

Tried to attach an air sniffer bot your forum doesn't let me attach an .cfa. How do I attach an air sniffer for you?

I only get pairing failed with unspecified reason.

Have you changed anything in the stack API in the upgrade that I have performed?