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: iPhone is not disconnecting.

Part Number: CC2340R5

Hi 

I'm working on CC2340R5 . My application requires ANCS profile inorder to connect with iPhone. My application is supposed to connect the device after passkey pairing. That applies, if I type a wrong passkey it should terminate the connection. This is happening for my Android device, But with the iphone it is not happening. Can anyone help me with the issue. 

  • Hi Krishna,

    I looked into this a bit deeper, It seems the issue probably lies on how apple handles incorrect passkeys. Also another thing to keep in mind is that pair and connected arent the same thing. I tested with the TI simple connect app as well as the BLE scanner app and confirmed that the phone stays "connected" however, it is not truly paired. A test you can do to confirm would to be trying to read the 5th characteristic in the basic_ble example. If the pairing is complete you should be able to read this characteristic, if you are not then you cant. You can understand the situation more by looking into the gapbondmgr.c file.  It seems as though it depends if the device is central or peripheral. 

    I am guessing the Iphone does not terminate the link and instead does no action, allowing the device to try to pair again.

    Kind Regards,

    Rogelio