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

Batch/Automatic DFU update mode? #400

Open gfwilliams opened 1 year ago

gfwilliams commented 1 year ago

DFU Bootloader version (please complete the following information):

Device information (please complete the following information):

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!