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

Handling devices with random DFU mac address

Open stuffmatic opened this issue 5 years ago • 0 comments

I'm working on implementing DFU for a device that uses a randomized DFU mac address, which causes the DFU process to get stuck trying to connect to the device. The device has already been released, so I'm guessing my best bet is changing the DFU library somehow. I've managed to get DFU to work with a proof of concept hack that makes BootloaderScanner select devices based on name instead of mac address.

I don't know the exact bootloader version, but logcat says No DFU Version characteristic found -> Bootloader from SDK 6.1 or older.

I saw this closed pull request that does what I want to do, but it wasn't clear to me if it was rejected or simply abandoned. If it was the latter, I might be able to submit a PR with similar functionality.

Any advice on how to proceed would be much appreciated.

stuffmatic avatar Jan 29 '21 11:01 stuffmatic