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.

CC2340R5: Specifying Pairing Mode

Part Number: CC2340R5

Tool/software:

I'm not sure how to set the Pairing Mode.

The reason is that it is unclear how the device's behavior will change depending on whether you set it to Initiate a pairing request or Wait for a pairing request.

In my experiments so far, I have been able to connect by setting the Pairing Mode to Initiate a pairing request, so I have been evaluating with this setting.

Recently I noticed that it was failing to connect to my Android device.
When looking at the BLE packet, I noticed an “Insufficient Encryption” error when trying to send a GATT Characteristic Declaration during the encryption procedure.

I think it might be better to set it to "Wait for a pairing request", but I don't understand it even after reading the manual, so I would appreciate some support.

thank you.

  • Hi, 

    Thank you for reaching out.

    It sounds like there might be a confusion between two elements:

    1. Initiate a pairing request or Wait for a pairing request defines if the CC2340Rx device will send the pairing request after connection establishment or if it will wait for the central device to do the same. Changing this parameter should not prevent the “Insufficient Encryption” to occur
    2. Per Bluetooth specifications, several types of pairing exist, based on the capability of the device - see here. Here, it sounds like the Android device is complaining of not having the right level of encryption. 

    I hope this will help,

    Best regards, 

  • I see.
    So paring mode is not the cause.

    I use Just Works Pairing.
    ・We still don't know what causes the "Insufficient Encryption" error.
    ・After this error occurs, the connection sometimes fails. Is it possible that encryption with the paired host is not possible?

    Thank you.

  • Hi, 

    The "Insufficient Encryption" error might be caused by "Just Work Pairing". Please try using Passkey entry or Numeric comparison to see if it helps.

    More details can be found here: software-dl.ti.com/.../gapbondmngr-cc23xx.html

    Best regards,

  • Hello,


    >The "Insufficient Encryption" error might be caused by "Just Work Pairing". Please try using Passkey entry or Numeric comparison to see if it helps.

    Let's try Passkey entry and Numeric comparison.

    >More details can be found here: software-dl.ti.com/.../gapbondmngr-cc23xx.html
    I apologize for my lack of knowledge, but even after reading the content of the link, I still couldn't fully understand the mechanism by which Insufficient Encryption occurs.
    Is there anything different about encryption at JustWorks?

    Thank you.