-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update speed is much slower than iOS #377
Comments
I found that the upload speed dropped suddenly after the |
You may also set the prepare object delay to 0 to increase the speed you'll find a method in the initializer. |
Android-DFU-Library/lib/dfu/src/main/java/no/nordicsemi/android/dfu/DfuServiceInitiator.java Lines 216 to 219 in 39cd896
|
Try different settings in the nRF DFU, available in play store. Then apply to your app. |
I have tried many different settings, but still not much difference |
Hello, did you manage to improve the upload speed? |
Yes, it depends on the device (maybe bluetooh hardware...), my client uses Umidigi A7 Pro, it's very slow |
Hi. |
Same here. IOS is happening in about 30s, Android 3-4mins. This only started happening since upgrading to 2.3.0. Interestingly only seems to happen on Samsung devices, and so far only about 20% of Samsung devices have this problem. |
Hi, In the change we're comparing "Build.HARDWARE" to "ums512_25c10". To bypass the check, set MTU to 516 instead of default 517 using Android-DFU-Library/lib/dfu/src/main/java/no/nordicsemi/android/dfu/DfuServiceInitiator.java Lines 399 to 403 in ee04574
Perhaps there's a better condition to be checked, as there may be more devices with that HARDWARE name, which are incorrectly included. |
Note, that the log in the first comment was created before PR 408 was implemented and DFU is requested as normal:
On Samsung A8 Tab the issue manifest with an error after sending just a first packet longer than negotiated 23 bytes. |
DFU Bootloader version:
Device information:
Your question
Client complains about my Android app updating firmware more slowly than iOS. With a ~422KB dfu (.zip) file, iOS takes about 30 seconds to complete, while Android takes ~3 minutes, iOS average avgSpeed is about 6Kb/s, while Android's is only about ~1.7Kb/s. Please help me, here is my code (after I wrote the command to launch DFU mode and scan the DFU device)
Logs
The text was updated successfully, but these errors were encountered: