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

     What project do you have on your nRF52810?

    1/3. Are you not able to pair and perform bonding in the iOS version of the nRFConnect app? You should have a button in the nRFConnect app where you can choose to pair to the device. 

    2. Do you mean on the nRF side or the iOS side? If you check out the ble_app_gls peripheral example, it sends a pairing request to the central device upon connection and checks if the link is authenticated after connection in the pm_evt_handler(). It will trig a disconnect if the central does not use MITM protection.

    4. A peripheral device can't initiate bonding, and only send a security request which usually leads to a pairing request from the central, but in a central application this is generally done by calling pm_conn_secure once service discovery is completed.

    Best regards,

    Simon

Reply
  • Hi

     What project do you have on your nRF52810?

    1/3. Are you not able to pair and perform bonding in the iOS version of the nRFConnect app? You should have a button in the nRFConnect app where you can choose to pair to the device. 

    2. Do you mean on the nRF side or the iOS side? If you check out the ble_app_gls peripheral example, it sends a pairing request to the central device upon connection and checks if the link is authenticated after connection in the pm_evt_handler(). It will trig a disconnect if the central does not use MITM protection.

    4. A peripheral device can't initiate bonding, and only send a security request which usually leads to a pairing request from the central, but in a central application this is generally done by calling pm_conn_secure once service discovery is completed.

    Best regards,

    Simon

Children
No Data
Related