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

Bluetooth pairing problem with iOS

Hi,

I am developing a product, based on nrf52840 soc with SDK v15.3 and softdevice V14. I have a pairing problem with the recently released iOS, version14. while my product works well with older iOS versions and all android devices.

The problem is in this manner that, my device sends a pairing request to the iOS14 but iOS doesn't respond to the request and the request encounter with a timeout. the same problem occurs when I try to pair with iOS14 with the nrfConnect desktop version (which uses PCA10056 as a BLE adaptor).

But I could pair iOS14 with the nrfConnect android version and windows BLE interface.

i have attached the sniffer log for 

1) My product fails to pair with iOS14. ->  3187.ios_pair_failure.pcapng

2) Windows pairs successfully with iOS14. ->8372.ios_pair_success_windows.pcapng

Could anyone help me to solve the problem?

thanks

Parents
  • Hi

    First off, what SoftDevice version are you using? We don't have a SoftDevice version 14, and the only version compatible with SDK v15.3.0 is SoftDevice v6.1.1.

    Looking at your sniffer traces, ios_pair_failure doesn't show any information on a pairing process at all, so either the device doesn't initiate pairing in the first place, or the sniffer device does not join in on the pairing process. What example project from the SDK have you based your own project on, and how do you handle pairing on your end? Have you tried debugging to see what error code your nRF device and/or iOS device produce?

    As for the ios_pair_success_windows sniffer trace, it seems like the pairing is conducted correctly indeed, as the sniffer is being "thrown out" when trying to sniff after the pairing process has started.

    Best regards,

    Simon

Reply
  • Hi

    First off, what SoftDevice version are you using? We don't have a SoftDevice version 14, and the only version compatible with SDK v15.3.0 is SoftDevice v6.1.1.

    Looking at your sniffer traces, ios_pair_failure doesn't show any information on a pairing process at all, so either the device doesn't initiate pairing in the first place, or the sniffer device does not join in on the pairing process. What example project from the SDK have you based your own project on, and how do you handle pairing on your end? Have you tried debugging to see what error code your nRF device and/or iOS device produce?

    As for the ios_pair_success_windows sniffer trace, it seems like the pairing is conducted correctly indeed, as the sniffer is being "thrown out" when trying to sniff after the pairing process has started.

    Best regards,

    Simon

Children
  • Hi, Thanks for your attention

     

    The exact name of soft device which I am using is “s140_nrf52_6.1.1_softdevice”

     

    “Looking at your sniffer traces, ios_pair_failure doesn't show any information on a pairing process at al”

    In the “ios_pairing_faild” trace, in packet number 7930, Master (which is my product) sends a pairing request to the iOS. And the iOS does not respond to this request(so pairing fails here). Could you please look at this file again(I think because of a lot of advertising packets you missed this packet)?

     

    “how do you handle pairing on your end”

    In my project, I am starting the pairing process right after receiving BLE_GAP_EVT_CONNECTED by calling the pm_conn_secure function. And then I wait for the related event in the pm_evt_handker function

     

    “What example project from the SDK have you based your own project on”

    The project was started by another developer, but I think it is based on ble_app_hrs_c example

     

    “Have you tried debugging to see what error code your nRF device and/or iOS device produce?”

    Not really, but in the nrfConnect desktop version I can see, sometime after sending a pairing request, nrfConnect shows a timeout message

     

    “As for the ios_pair_success_windows sniffer trace, it seems like the pairing is conducted correctly indeed,”

    Yes, pairing with windows was conducted successfully, and I am searching for a response to this question that why  iOS14 responds to windows request but does not show any reaction to our request.

     

    Thank you so much

    pairing request in ios_pairing_faild"ios_pairing_faild" trace ->  

Related