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.
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.
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.
Apparently to make this work, first you need secure bonding (iOS requirement).
Is there an example of secure bonding using the S110?
We just made a new softdevice release that supports SC (S130 and S132 v2.0.0 (production releases)). However we need some time to release the new SDK that will have experimental support for SC.