mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-26 17:47:34 +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)) {
|
||||
return HuamiFirmwareType.GPS_ALMANAC;
|
||||
}
|
||||
|
||||
if (ArrayUtils.startsWith(bytes, GPS_CEP_HEADER)) {
|
||||
return HuamiFirmwareType.GPS_CEP;
|
||||
if (ArrayUtils.startsWith(bytes, AGPS_UIHH_HEADER)) {
|
||||
return HuamiFirmwareType.AGPS_UIHH;
|
||||
}
|
||||
|
||||
for (byte[] gpsHeader : GPS_HEADERS) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user