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.

CC26xx - Issue with MITM as central in multi-role environment



I am having issues entering in a passcode while trying to authenticate with a peripheral device.  The issue is only with connections as a central device;  I can successfully pair with an android smartphone using MITM in the peripheral role.  Below are the GapBondManager parameters set in the project:

    uint8_t pairMode = GAPBOND_PAIRING_MODE_INITIATE;
    uint8_t mitm = TRUE;
    uint8_t ioCap = GAPBOND_IO_CAP_KEYBOARD_DISPLAY;
    uint8_t bonding = TRUE;

I modified the SimpleBLEMulti demo project to include the bond manager and SNV as well as the necessary callbacks into the bond manager to be able to set the passcode.

It seems that nothing happens after calling GAPBondMgr_PasscodeRsp() with the valid passcode-- no pair status updates, no indication that anything is happening in the background.  After awhile, I will get a pairing failure with the bleTimeout error code and disconnected from the peripheral device.

I have successfully paired to this peripheral device using the SimpleBLECentral demo project using the same Bond Manager settings above.  (Passcode entry in both cases is through setting a breakpoint where GapBondManager_PasscodeRsp() is called and editing the value passed in)