mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-27 10:07:32 +01:00
Amazfit Bip U Pro: Support flashing AGPS updates
Use Huafetcher for fetching the data.
This commit is contained in:
parent
1341501ac4
commit
3a642251fe
@ -69,12 +69,8 @@ public class AmazfitBipUProFirmwareInfo extends HuamiFirmwareInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ArrayUtils.startsWith(bytes, GPS_ALMANAC_HEADER)) {
|
if (ArrayUtils.startsWith(bytes, AGPS_UIHH_HEADER)) {
|
||||||
return HuamiFirmwareType.GPS_ALMANAC;
|
return HuamiFirmwareType.AGPS_UIHH;
|
||||||
}
|
|
||||||
|
|
||||||
if (ArrayUtils.startsWith(bytes, GPS_CEP_HEADER)) {
|
|
||||||
return HuamiFirmwareType.GPS_CEP;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (byte[] gpsHeader : GPS_HEADERS) {
|
for (byte[] gpsHeader : GPS_HEADERS) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user