I am attempting to update the firmware on a DFU V1 device using javascript inside of a cordova app. Due to the time it takes to roundtrip the write response it is going to take about 4-5 minutes to complete. Because of this the device is restarting before I can complete sending the payload. Is there any options in terms of either A. changing the timeout time, B. sending some sort of PING along with my messages so the device doesnt restart, or C. send more data at a time.
Any help or documentation on the issue would be incredibly helpful