Android-DFU-Library icon indicating copy to clipboard operation
Android-DFU-Library copied to clipboard

Batch/Automatic DFU update mode?

Open gfwilliams opened this issue 2 years ago • 0 comments

DFU Bootloader version (please complete the following information):

  • nRF5 SDK version: SDK 12
  • Are you using bonding: no
  • DFU Library version: 2.3

Device information (please complete the following information):

  • Device: Redmi Note 8 Pro
  • OS: Android 11

Your question

I have a bunch of devices that I would like to automatically update, but right now I have to manually tap Device -> Select, DfuTarg then Start for every device

Would it be possible to add a mode (maybe even just accessible from Settings) where as soon as the DFU update completes, it immediately starts scanning for a device with the same name as last time, and then flashes that too, and so on.

While I've developed some Android apps before I'm totally new to Kotlin and I'm struggling to really find my way around the source. Even if I did manage to hack it together I don't think it would be in a state for me to contribute back, so any help with this would be gratefully appreciated!

gfwilliams avatar Sep 20 '23 14:09 gfwilliams