NordicSemiconductor / Android-DFU-Library

Device Firmware Update library and Android app
http://www.nordicsemi.com/dfu
BSD 3-Clause "New" or "Revised" License
763 stars 269 forks source link

DFU becomes significantly slower on Android 15 #459

Open v-nakamuray opened 1 week ago

v-nakamuray commented 1 week ago

Version

2.5.0 (Latest)

Ask the question

When performing DFU with the same Android device + nRF Connect on the same target device, the speed becomes significantly slower on Android 15.

The attached image captures the graph of DFU performed on the same device using Pixel 6a + Android 14 or 15, and the transfer speed is clearly different.

The device in use is an nRF52840. However, we have confirmed that the DFU speed decreases on other devices as well. Both tests used nRF Connect version 4.28.1.

Is it possible to improve the speed by changing the settings in nRF Connect or the usage of the DFU library?

DFU_graph

Relevant log output

No response

philips77 commented 1 week ago

Hello, I have not yet tried the DFU on Android 15. The only difference I can imagine would be different connection parameters. You may try disabling PRN in Settings / nRF5 DFU options or setting it to some relatively small number. This will make DFU even slower, but perhaps the speed will be more consistent among different devices.

Do you know which nRF5 SDK version you have on nRF52840?

v-nakamuray commented 1 week ago

Hello, I tried on Android15 with the following settings..

A smaller value for the "number of packets" resulted in a bit more slowness. Overall, there is not much change.

DFU_graph_a15

Do you know which nRF5 SDK version you have on nRF52840?

SDK is v15.2. I am also having the same problem with devices using v17.1.