1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 09:17:29 +01:00

Huami: recoginze GPS firmware 19439,3aa3392,135 and whitelist it for Bip S

This commit is contained in:
Andreas Shimokawa 2020-09-27 12:07:52 +02:00
parent 7371fb37c2
commit 8087390336
2 changed files with 5 additions and 0 deletions

View File

@ -85,6 +85,10 @@ public abstract class HuamiFirmwareInfo {
new byte[]{ new byte[]{
0x00, 0x00, 0x00, 0x01, 0x00, 0x09, 0x6F, (byte) 0xD0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x09, 0x6F, (byte) 0xD0,
0x00, 0x01, 0x00, 0x02, 0x3D, (byte) 0xE0, 0x00, 0x69 0x00, 0x01, 0x00, 0x02, 0x3D, (byte) 0xE0, 0x00, 0x69
},
new byte[]{
0x00, 0x00, 0x00, 0x01, 0x00, 0x09, 0x32, 0x70,
0x00, 0x01, 0x00, 0x02, 0x3D, (byte) 0xE0, 0x00, (byte) 0xCC
} }
}; };

View File

@ -53,6 +53,7 @@ public class AmazfitBipSFirmwareInfo extends HuamiFirmwareInfo {
// gps // gps
crcToVersion.put(62532, "18344,eb2f43f,126"); crcToVersion.put(62532, "18344,eb2f43f,126");
crcToVersion.put(31510, "19226,f3a8ad3,135"); crcToVersion.put(31510, "19226,f3a8ad3,135");
crcToVersion.put(41742, "19439,3aa3392,135");
} }
public AmazfitBipSFirmwareInfo(byte[] bytes) { public AmazfitBipSFirmwareInfo(byte[] bytes) {