Hi team support,
Got a problem with project ANCS and more precisely with the bonding and the Flag "allow_repairing" which was false and set by myself to true. But on SDK14.2, regarding to this change, the expected behavior is not produced !
I mean, I run LightBlue, I connect to my example ANCS (SDK 14.2 — Dev Kit nRF52 — iOS 11.2 — allow_repairing = false):
- I connect to my device with LightBlue
- The system launches me an explicit PopUp of peering request to my device
- I accept, I am connected to my device and paired
- I go in iOS Settings, I remove pairing from my device
- I re-connect to my device from LightBlue
- The system does not ask me to pair with my device
- Until all goes well, it's normal
I modify my flag allow_repairing and I set it to "true", I erase my device and reporgram it all.
-
I connect to my device with LightBlue
-
The system launches me an explicit PopUp of peering request to my device, I accept
-
I am connected to my device and paired
-
I go in iOS Settings, I remove pairing from my device
-
I re-connect to my device with LightBlue
-
The system re-launches me an explicit PopUp of peering request to my device, I accept
-
And here is the drama, I have an error message: "Disconnected Alert" "The peripheral has disconnected" and in LightBlue: "Disconnected. Data is Stale" and in my Bluetooth iOS Settings my device is marked as not connected and not paired ...
I just did the test under a version of SDK12.2, with the same example, everything goes well
Where is the eel under rock ?
Thank you for your help !