This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pairing with iOS

Hi,

I am having a BLE peripheral on NRF51822 chip. I have set to MITM to 0. I want to communicate with an iOS app which will act as central device. When i first connect with the iOS app it asks "Whether you want to pair or not". I then click on pair and the devices get paired. After that i disconnect the BLE connection. Now when i again try to connect it doesnt ask for pairing. I want to ask for pairing everytime i connect and disconnect. How can i do this? Do i need to make changes on the peripheral side or Central side? And also if you can please help us with the changes that need to be made.

Thanks

Parents
  • Why do you want to do this? Unfortunately, from iOS9.x you have to bond with iOS. For some reason they decided not to support pairing anymore (at least not with iOS9.1). Unfortunately this means you have to manually delete the bond data on both your peripheral and central if you want to create a new bond.

  • Can i store the pairing information in my peripheral. I have an EEPROM memory. What pairing information i need to store. And when i power on again my peripheral i need to use the stored pairing data. What changes i need to make to my code.

Reply
  • Can i store the pairing information in my peripheral. I have an EEPROM memory. What pairing information i need to store. And when i power on again my peripheral i need to use the stored pairing data. What changes i need to make to my code.

Children
No Data
Related