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

[iOS] Reconnecting during full ota update, connect to wrong device

Hi,

we are developing and application on iOS which can among others, update our hardware over the air, and we found out that e.g. after bootloader update is done, then 'iOSDFULibrary' disconnect to the peripheral and connect again to update devices application in update part 2. We have a lot devices in DfuTarg mode, so sometimes it can connect to the wrong device and continue updating.

I saw a comment in your code '// Set the initial peripheral. It may be changed later (flashing App fw after first flashing SD/BL)' but my question is whether it can chagne even if device was paired with phone?

Related