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.

CC2642R: choosing pairing mode idea

Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG

Hi Team,

Query 1 :

There are 4 pairng modes mentioned BLE5 Stack user guide as follows,

1) Just Works (LE Secure Connections or LE Legacy)

2) Passkey Entry (LE Secure Connections or LE Legacy)

3) Numeric Comparison (LE Secure Connections)

4) Out Of Band (LE Secure Connections or LE Legacy)

Out of this 4 modes. I need a mode like, During pairing It should ask only "someone is trying to pairing Yes / No". This what It should ask. Currently simpleperipheral code is in passkey mode. For my requirement which mode i should choose and How to configure it on simple peripheral code ?

Query 2:

Is there any option like, CC2642 (simple peripheral) device should not allow the Mobile device(central) to pair or connect using its mobile device Bluetooth scan list. CC2642 (simple peripheral) device should pair and connect only through the BLE mobile app only. 

  • Hello Mohan, 

    Can you please provide us with you SDK version, and whether you are using a custom board or a launch pad? We will get back to you as soon as possible with a response! 

    Thanks, 

    Isaac

  • Hi,

    Out of this 4 modes. I need a mode like, During pairing It should ask only "someone is trying to pairing Yes / No". This what It should ask. Currently simpleperipheral code is in passkey mode. For my requirement which mode i should choose and How to configure it on simple peripheral code ?

    You can disable the passkey pairing if you would like. For this simply disable the MITM protection through Sysconfig. You may also change the IO capabilities and this will also impact the pairing procedure. I would recommend referencing the BLE Security Fundamentals SLA as it contains very valuable information about pairing and how to configure it.

    Is there any option like, CC2642 (simple peripheral) device should not allow the Mobile device(central) to pair or connect using its mobile device Bluetooth scan list. CC2642 (simple peripheral) device should pair and connect only through the BLE mobile app only. 

    You can implement an allow list to only allow certain Bluetooth addresses to connect. You can also add some cusotm security checks in your application code to disconnect if the device connected does not have the right properties. For this, reference the Advanced security features SLA.

    Best Regards,

    Jan