mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 18:45:49 +01:00
Fix DFU MTU value for PineTime
Explicitely disable the request MTU feature from the NRF DFU library to ensure that it'll send 20 bytes packets (instead of 253B, which will crash InfiniTime).
This commit is contained in:
parent
6cc57a15f5
commit
73a3a4b603
@ -458,7 +458,7 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
|
|||||||
.setKeepBond(true)
|
.setKeepBond(true)
|
||||||
.setForeground(false)
|
.setForeground(false)
|
||||||
.setUnsafeExperimentalButtonlessServiceInSecureDfuEnabled(false)
|
.setUnsafeExperimentalButtonlessServiceInSecureDfuEnabled(false)
|
||||||
.setMtu(23)
|
.disableMtuRequest()
|
||||||
.setZip(uri);
|
.setZip(uri);
|
||||||
|
|
||||||
controller = starter.start(getContext(), PineTimeDFUService.class);
|
controller = starter.start(getContext(), PineTimeDFUService.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user