@caeduk that's a good solution is similar to what we do:
- Before switching the device to be in firmware update OTA/DFU mode, we keep track of which device will be put into that mode.
- Undiscover the device after the disconnection.
- Set the setListener_DeviceReconnect to null.
- We only trigger a connection in the DefaultDeviceReconnectFilter if we know that the device is not transitioning into its firmware update mode.