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-Q1: What should I do to complete pairing and binding with just one click on my phone

Part Number: CC2642R-Q1

Tool/software:

hello:

     When the phone is paired, after pressing the phone twice to pair.

     How can I complete it by pressing once?

     

Another question said:it may be easier to delay pairing until you are ready to save a bond.but,how should I do?  https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1424273/cc2340r5-how-can-i-not-bind-directly-after-pairing-is-completed-but-wait-for-the-cc2340-button-to-be-pressed-before-binding?tisearch=e2e-sitesearch&keymatch=cc2340%20pair#

thank your reply! 

  • Hi,

    Do you mind elaborating on pressing twice to pair? Does the pop-up show up twice? I'm not understanding what you mean by a single button.

    Best,

    Nima Behmanesh

  • Hi,Nima:

       Yes,the pop-up show up twice。

        After I click on pairing, my phone will pop up pairing again.I want to complete pairing and save the device with just one click.

        How should I modify the code or configuration?

    thanks for your reply!

  • Hi,

    What type of phone are you using?

    What SDK version are you using?

    I'm not seeing this on my side, so it may be on the phone.

    Best,

    Nima Behmanesh

  • HI,

      The phone is from Huawei and runs on the Android system。

      The SDK Version is simplelink_cc13xx_cc26xx_sdk_5_40_00_40。

      I have reviewed the underlying code,when I configure the parameters shown on the diagram:first, GAP_LINK_ESTABLISHED_EVENT->GAPBondMgr_Pair,I click the button of pairing.;Second,GAP_PAIRING_REQ_EVENT->gapBondStateStartSecurity,I must click the phone again。and

      I don.t think it on the phone,I think the code should be modified,but I don't known how to do it.

  • Hi, 

    I apologize for the delay. That's a fairly old SDK, do you mind upgrading to the latest SDK for that device and trying the test again? If the issue is not reproduced on the newest SDK, then we can take a look at the code you have right now (however, I do recommend updating to the latest version). 

    Do you also mind providing screenshots of the code?

    Best,

    Nima Behmanesh

  • Hi,

    It does't  matter. The SDK version 6_40 that I am using,。Same as the SDK version 5_40 in terms of effectiveness.Then i use the SDK version 8_30,and the CCS version 20.0,but the hex file can't be download in the chip.I did not use the official board。

    Can you tell your email address? I will send software to you

  • Hello,

    Please reach out to your local Field Applications Engineer (or similar TI representative), and we can take this discussion offline. 

    My initial thoughts are that this is still occurring on the phone side. I've tested our SDKs with other Android devices and this issue isn't reproducible. In your email, do you mind providing an Ellisys log as well?

    Best,

    Nima Behmanesh

  • Hi,I

    I seem to know why I paired twice。I tested it using the NRF Connect app。If I use my phone's built-in Bluetooth to pair, I will only pair once。I will test it a few more times。If I encounter any further problems, I will seek advice again

    Thank you for your reply