1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Mi Watch Lite: Do not set firmware version to ... during connect

This commit is contained in:
Andreas Shimokawa 2023-10-17 22:25:31 +02:00 committed by José Rebelo
parent 7de94432d0
commit 01a552e0f7

View File

@ -74,10 +74,6 @@ public class XiaomiPlaintextSupport extends XiaomiSupport {
this.characteristicDataUpload = new XiaomiCharacteristic(this, btCharacteristicDataUpload, authService);
this.characteristicDataUpload.setEncrypted(false);
// FIXME why is this needed?
getDevice().setFirmwareVersion("...");
//getDevice().setFirmwareVersion2("...");
builder.add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZING, getContext()));
enableNotifications(builder, true);
builder.requestMtu(247);