mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-26 16:41:43 +01:00
Amazfit Bip S: Support flashing fonts and setting high MTU
This commit is contained in:
parent
8e08a9d660
commit
25c749bab9
@ -3,7 +3,8 @@
|
|||||||
#### Next
|
#### Next
|
||||||
* Amazfit Bip: Support flashing newer GPS ALM
|
* Amazfit Bip: Support flashing newer GPS ALM
|
||||||
* Amazfit Bip S: Support music control
|
* Amazfit Bip S: Support music control
|
||||||
* Amazfit Bip S: Support flashing watchfaces and GPS CEP
|
* Amazfit Bip S: Support flashing watchfaces, fonts and GPS CEP
|
||||||
|
* Amazfit Bip S: Allow setting high MTU (much faster firmware installation, default off since it does not work for some)
|
||||||
* Fossil Hybrid HR: Add last notification widget
|
* Fossil Hybrid HR: Add last notification widget
|
||||||
* Try to fix vanishing incoming call information when VoIP call support is enabled
|
* Try to fix vanishing incoming call information when VoIP call support is enabled
|
||||||
|
|
||||||
|
@ -94,6 +94,7 @@ public class AmazfitBipSCoordinator extends HuamiCoordinator {
|
|||||||
R.xml.devicesettings_sync_calendar,
|
R.xml.devicesettings_sync_calendar,
|
||||||
R.xml.devicesettings_expose_hr_thirdparty,
|
R.xml.devicesettings_expose_hr_thirdparty,
|
||||||
R.xml.devicesettings_buttonactions_with_longpress,
|
R.xml.devicesettings_buttonactions_with_longpress,
|
||||||
|
R.xml.devicesettings_high_mtu,
|
||||||
R.xml.devicesettings_pairingkey
|
R.xml.devicesettings_pairingkey
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,16 @@ public class AmazfitBipSFirmwareInfo extends HuamiFirmwareInfo {
|
|||||||
if (ArrayUtils.startsWith(bytes, GPS_CEP_HEADER)) {
|
if (ArrayUtils.startsWith(bytes, GPS_CEP_HEADER)) {
|
||||||
return HuamiFirmwareType.GPS_CEP;
|
return HuamiFirmwareType.GPS_CEP;
|
||||||
}
|
}
|
||||||
|
if (ArrayUtils.startsWith(bytes, GPS_CEP_HEADER)) {
|
||||||
|
return HuamiFirmwareType.GPS_CEP;
|
||||||
|
}
|
||||||
|
if (ArrayUtils.startsWith(bytes, NEWFT_HEADER)) {
|
||||||
|
if (bytes[10] == 0x01) {
|
||||||
|
return HuamiFirmwareType.FONT;
|
||||||
|
} else if (bytes[10] == 0x02 || bytes[10] == 0x0A) {
|
||||||
|
return HuamiFirmwareType.FONT_LATIN;
|
||||||
|
}
|
||||||
|
}
|
||||||
return HuamiFirmwareType.INVALID;
|
return HuamiFirmwareType.INVALID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user