This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nordic's BLE device matching and binding problems.Android app and Apple app.

The Nordic 52810 that I'm using now for my development project has to do with the pairing of Android and iPhone.Android is available through Bond and Delete Bond in nRF Connect.To achieve binding and unbinding operations.

1. So what should I do if Apple's app is going to be bound and unbound?

2. What API do I call on the BLE side to implement binding and unbinding?

3. In other words, what can I do with my iPhone app on the BLE side to achieve binding and unbinding?

4..pm_peers_delete(); The function is unbinding. What is the binding function?

The project was in a hurry

Thank you very much!

Parents
  • Hi

    1/2. I asked the mobile application devs about this, and due to differences in iOS and Android this functionality is not possible in an iOS app. iOS does not let apps know when a device is bonded or not, and bonding in iOS will be triggered when you (in the application) try reading a protected attribute I.E. a characteristic or descriptor. In order to delete bond information, you have to do delete bond info in Settings -> Bluetooth on the iOS device.

    3. I'm struggling to understand what you mean in this question. Are you trying to implement the pairing request to your ble_app_template project or what?

    Best regards,

    Simon

Reply
  • Hi

    1/2. I asked the mobile application devs about this, and due to differences in iOS and Android this functionality is not possible in an iOS app. iOS does not let apps know when a device is bonded or not, and bonding in iOS will be triggered when you (in the application) try reading a protected attribute I.E. a characteristic or descriptor. In order to delete bond information, you have to do delete bond info in Settings -> Bluetooth on the iOS device.

    3. I'm struggling to understand what you mean in this question. Are you trying to implement the pairing request to your ble_app_template project or what?

    Best regards,

    Simon

Children
  • hi,Simonr,

    1. What I mean is, I'm going to implement a pair binding for my iPhone APP.I did.After our Apple APP connects to the BLE device, the APP sends an instruction (private definition) that sends a request to the host (APP) when the BLE device receives the instruction.When the host (APP) receives the request, click the confirm button.BLE device and host (APP),

    2. the completion of pairing and binding.I mean, my project is on the ble_app_tempalete project, and I'm going to add the above iPhone and BLE device bindings to the ble_app_tempalete.

Related