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

Auto pairing and connect nrf51822 with 2 iphones

Hello,

I have a project based on nrf51822 and SDK 10/S130. I have read about advertising mode and whitelist, but could not find my answer for my issue anywhere in the zone. I am trying to pair and connect 2 iphone with my project, not at the same time. Is it possible to pair and auto connect to iphone 1, and then disconnect and use the second iphone to pair and connect. What I am getting is this error on iphone 2: “pairing unsuccessful pairing took too long, Make sure “dev_name” is turned on , in range and is ready to pair. Also the way I disconnect the first iphone is by moving it into some other room with long distance away to make sure that I see “dev_name Not Connected” on iphone 1, and also I see the led start blinking showing its advertising again. If I bring the iphone 1 close to nrf51822, I see instant pairing and connection automatically.

Thanks

Parents
  • I do understand what is intended behavior and I do understand your frustration. Not being fan of Apple products I would say throw your shitty phone out and use something better. But because that's probably not what you are looking for I say: debug what is happening between that phone and BLE peripheral by reading the bluetooth exchange log. For that you can use any Nordic DK with their sniffer (with little bit of luck).

Reply
  • I do understand what is intended behavior and I do understand your frustration. Not being fan of Apple products I would say throw your shitty phone out and use something better. But because that's probably not what you are looking for I say: debug what is happening between that phone and BLE peripheral by reading the bluetooth exchange log. For that you can use any Nordic DK with their sniffer (with little bit of luck).

Children
No Data
Related