I'm using the experimental buttonless DFU app in SDK v13 to automatically change a device without buttons to run in DFU mode for an update.
I'd like to automatically reconnect o the device after the mode switch in the same way as the nRF connect app dues during DFU.
However, once the mode has been switched, the device appears with a different UUID. What is the best way of automatically finding the device again once in this mode?
Ways I can think of (none of which seem guaranteed):
- The new device UUID seems to always be one more then the initila device, can this be relied on and use a "guessed" UUID
- Select a device with the name "DFUTarg". Perhaps the first one found or the ose with the strongest RSSI
Any help appreciated.
Cheers,
Rob