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.

  • By default DM uses p_storage to save bond info++ in flash. If possible I think it is more convenient to just use the device manager as is. If you want to save it in eeprom instead you have to do a lot of modifications to the device manager.

Reply
  • By default DM uses p_storage to save bond info++ in flash. If possible I think it is more convenient to just use the device manager as is. If you want to save it in eeprom instead you have to do a lot of modifications to the device manager.

Children
No Data
Related