diff --git a/lib/dfu/src/main/java/no/nordicsemi/android/dfu/ButtonlessDfuImpl.java b/lib/dfu/src/main/java/no/nordicsemi/android/dfu/ButtonlessDfuImpl.java index 405ae4f9..51393367 100644 --- a/lib/dfu/src/main/java/no/nordicsemi/android/dfu/ButtonlessDfuImpl.java +++ b/lib/dfu/src/main/java/no/nordicsemi/android/dfu/ButtonlessDfuImpl.java @@ -135,6 +135,9 @@ public void performDfu(@NonNull final Intent intent) // but reset instead. In that case, Android would assume disconnection after // "supervision timeout" seconds, which may be 5 more seconds. if (shouldScanForBootloader()) { + // Why waiting? See: https://github.com/NordicSemiconductor/Android-DFU-Library/issues/444 + mService.waitFor(500); + // If the device will use a different address in bootloader mode, there is no // reason to wait for that. The library will immediately start scanning for the // device advertising in bootloader mode and connect to it.