mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-27 20:36:51 +01:00
Amazfit Active / GTR 3 Pro: Add new device sources
This commit is contained in:
parent
e469ecd463
commit
106f1fcdd6
@ -33,7 +33,10 @@ public class AmazfitActiveCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(8323328));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
8323328, // chinese mainland version
|
||||
8323329
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +38,10 @@ public class AmazfitActiveEdgeCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(8388864, 8388865));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
8388864, // chinese mainland version
|
||||
8388865
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,11 @@ public class AmazfitBalanceCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(8519936, 8519937, 8519939));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
8519936, // chinese mainland version
|
||||
8519937,
|
||||
8519939
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,11 @@ public class AmazfitBand7Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(252, 253, 254));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
252,
|
||||
253,
|
||||
254
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitBip5Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(8454400, 8454401));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
8454400, // chinese mainland version
|
||||
8454401
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -39,7 +39,11 @@ public class AmazfitBip5UnityCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(8782081, 8782088, 8782089));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
8782081,
|
||||
8782088,
|
||||
8782089
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitCheetahProCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(8126720, 8126721));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
8126720, // chinese mainland version
|
||||
8126721
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +38,10 @@ public class AmazfitCheetahRoundCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(8192256, 8192257));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
8192256, // chinese mainland version
|
||||
8192257
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +38,9 @@ public class AmazfitCheetahSquareCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Collections.singletonList(8257793));
|
||||
return new HashSet<>(Collections.singletonList(
|
||||
8257793
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +38,10 @@ public class AmazfitFalconCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(414, 415));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
414, // chinese mainland version
|
||||
415
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitGTR3Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(226, 227));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
226, // chinese mainland version
|
||||
227
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,12 @@ public class AmazfitGTR3ProCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(229, 230, 6095106));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
229, // chinese mainland version
|
||||
230,
|
||||
242, // chinese mainland version
|
||||
6095106 // chinese mainland version
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -16,9 +16,6 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.huami.amazfitgtr4;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
@ -38,7 +35,11 @@ public class AmazfitGTR4Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(7930112, 7930113, 7864577));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
7930112, // chinese mainland version
|
||||
7930113,
|
||||
7864577
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitGTRMiniCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(250, 251));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
250,
|
||||
251
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitGTS3Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(224, 225));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
224, // chinese mainland version
|
||||
225
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitGTS4Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(7995648, 7995649));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
7995648, // chinese mainland version
|
||||
7995649
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitGTS4MiniCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(246, 247));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
246, // chinese mainland version
|
||||
247
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitTRex2Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(418, 419));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
418, // chinese mainland version
|
||||
419
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,10 @@ public class AmazfitTRexUltraCoordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public Set<Integer> getDeviceSources() {
|
||||
return new HashSet<>(Arrays.asList(6553856, 6553857));
|
||||
return new HashSet<>(Arrays.asList(
|
||||
6553856, // chinese mainland version
|
||||
6553857
|
||||
));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user