We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd9edc commit 82dec08Copy full SHA for 82dec08
lib/dfu/src/main/java/no/nordicsemi/android/dfu/ButtonlessDfuImpl.java
@@ -135,6 +135,9 @@ public void performDfu(@NonNull final Intent intent)
135
// but reset instead. In that case, Android would assume disconnection after
136
// "supervision timeout" seconds, which may be 5 more seconds.
137
if (shouldScanForBootloader()) {
138
+ // Why waiting? See: https://github.com/NordicSemiconductor/Android-DFU-Library/issues/444
139
+ mService.waitFor(500);
140
+
141
// If the device will use a different address in bootloader mode, there is no
142
// reason to wait for that. The library will immediately start scanning for the
143
// device advertising in bootloader mode and connect to it.
0 commit comments