ABouretz
ABouretz
Thanks for your quick answer, enabling PRNs and setting them to 10 resolved the issue. I didn't find any documentation about that on this repo, is there a detailed documentation...
``` E/BLE DFU: Level : 1 , Message : [DFU] DFU service started Level : 1 , Message : [DFU] Opening file... E/BLE DFU: Level : 5 , Message :...
1. "firstRun" is a variable that check if the inputStream is already defined to avoid recreating it if service is restarted for any reason (which is the case here). You...
Same here, after searching in our code, I can tell we restart the service ourselves if a `DfuBaseService.BROADCAST_ERROR` is received by the listener, which may be the case here.
I just tried your code and the behaviour remains the same. I get the same error 6 when sending the firmware. Since you added `is.mark(is.available())` in the service init, the...
I think you can remove the `.mark()` part and only call the `.reset()` method in LegacyDFU only. That way, LegacyDFU will resend the full file from the beginning but newer...
I'll try it. We do not use the iOS library for LegacyDFU.
``` E/BLE DFU: Level : 1 , Message : DFU service started E/BLE DFU: Level : 1 , Message : Opening file... E/BLE DFU: Level : 5 , Message :...
Here you can see in the full logs that the error is still present but the file is now fully sent, so it fixed the most critical issue. I tried...