mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15: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)
|
||||
.setForeground(false)
|
||||
.setUnsafeExperimentalButtonlessServiceInSecureDfuEnabled(false)
|
||||
.setMtu(23)
|
||||
.disableMtuRequest()
|
||||
.setZip(uri);
|
||||
|
||||
controller = starter.start(getContext(), PineTimeDFUService.class);
|
||||
|
Loading…
Reference in New Issue
Block a user