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

[iOS: pairing cancelled] BLE GAP disconnection no more handle since SDK 7.3.0 ?

Hello,

I would like to have more info about canceling the pairing request on iPhone (thru the popup that asks if you want to pair with the device which is managed by iOS) It's corresponding to the case 1) seen in this Post: devzone.nordicsemi.com/.../

I have noticed different behaviors (with BLE sniffer):

  • SD 7.0.0: When canceling the pairing request, the iPhone send the "pairing failed" and the device immediately answers "LL_TERMINATE_IND" to force the disconnection.

  • SD 7.3.0: I performed the same steps but here the device did not initiate the disconnection. The disconnection appeared 30sec after and it has been initiated by the iPhone.

I just handle the "event_result" in the "device_manager_evt_handler" as suggested in the post below and then I get the same behavior with the SD 7.0.0 : devzone.nordicsemi.com/.../

I guess these different behaviors are because of SD version, right? If so, could you have an explanation of why the SD behavior changed between these two version? (I confess it's difficult to find the reason in the SD release note)

Thanks!

Related