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
  • Paring with iOS is notoriously difficult to get right and it is very annoying for the user experience depending on the application.

    I agree with run_ar in asking why you want to do this.

    However, I'll also add that if you are using pairing/bonding for security, then in this situation, you might want to implement your own device and app side security mechanism. This requires incorporating your own encryption engine on the device side (such as AES-128). You will likely want to choose something that is available on iOS (and probably Android also). So, if data privacy is your goal, then you can forego built-in BLE encryption (it's really easy to break anyway) and build in your own encryption scheme. You may also want to consider some form of authentication to make sure only your app can talk to your device.

Reply
  • Paring with iOS is notoriously difficult to get right and it is very annoying for the user experience depending on the application.

    I agree with run_ar in asking why you want to do this.

    However, I'll also add that if you are using pairing/bonding for security, then in this situation, you might want to implement your own device and app side security mechanism. This requires incorporating your own encryption engine on the device side (such as AES-128). You will likely want to choose something that is available on iOS (and probably Android also). So, if data privacy is your goal, then you can forego built-in BLE encryption (it's really easy to break anyway) and build in your own encryption scheme. You may also want to consider some form of authentication to make sure only your app can talk to your device.

Children
No Data
Related