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: Problem with pairing mode with passkey

Part Number: CC2640R2F

Hi all, I'm developing a project on a CC2640R2DK_5XD acting as multi_role.. I need to establish a connection "just works" when the device is a peripheral and with passkey when is a central Is it possible??

Is the central/master device that decides this kind of connection parameter or not?

Thank you all

Moniaga

  • Hello Moniaga,

    The GAP Bond Manager is configured by the application to reflect the device's IO capabilities which is used for all roles. The actual pairing method is selected based on the configured IO Capability and the peer device's IO Capability. See the GAP Bond Manager section in the SW User's Guide for more details.

    In order for this to work you would need to reconfigure the GAP Bond Manager GAPBOND_IO_CAP_xxx based on when you knew the pairing request was going to be sent/received. We don't provide such example so you will need to implement the changes in your app. I would suggest leaving it NO_INPUT_NO_OUTPUT by default then when you are the central initiating pairing, change it to a Keyboard/Display.

    Best wishes