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

iOS automatic re-bonding after power off/on of phone

Do you have an example application which automatically re-bonds to an iPhone when the phone has been powered off and then powered on.

Otherwise, what changes are required to make this work starting from an existing example.

Parents
  • I don't know how the peripheral will know that the central has been turned off / on. But you can delete the bond info on the peripheral and change the device address. This way the peripheral will look like a completely new device and you can bond again. Note that the old bond will still be in the bluetooth device list on the iOS device. Since it's not possible to delete this from the peripheral you will have to manually delete this.

Reply
  • I don't know how the peripheral will know that the central has been turned off / on. But you can delete the bond info on the peripheral and change the device address. This way the peripheral will look like a completely new device and you can bond again. Note that the old bond will still be in the bluetooth device list on the iOS device. Since it's not possible to delete this from the peripheral you will have to manually delete this.

Children
Related