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.

CC2652R7: CC2652R7 Multi role: pairing issue when running simultanous peripheral and central role

Part Number: CC2652R7

Hi

In our project, we are trying to run peripheral and central role simultanously on a CC2652R7, and it works, sort of.

Starting out with a code base performing a Peripheral role, with pairing mode setting "Initiate a pairing request", pairing works well.

However, we now have activated the central role, i.e. running in a multi role setup. In the Central context we connect to a peripheral mesh proxy node, and it does not support pairing. When connecting to the target, the GAP layer returns a central role pairing fail with reason 5, i.e. SMP_PAIRING_FAILED_NOT_SUPPORTED, but that seems logical since the target node does not support it. We then can access the target node as desired.

Our issue however, is that if we connect as a Central to the proxy node first, the Peripheral role pairing does not work. It then returns a reason 4 "SMP_PAIRING_FAILED_CONFIRM_VALUE", when a device tries to connect to our node. In the header file the corresponding comment reads: "The confirm value doesn't match the calculated compare value".

If a connecting device completes the Peripheral role pairing and bonding sequence first, it can then disconnect and reconnect, regardless of Centrol role activities.

So, there is some interdependence regarding pairing that is not fully clear to us. Can you provide additional information, what to look for?

Best regards,

Martin