1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-24 17:45:50 +01:00

Add basic support for Casio GBD-H1000

This commit is contained in:
Andreas Böhler 2022-01-31 23:49:31 +01:00 committed by Gitea
parent 42e0a63429
commit 884538de5e
2 changed files with 3 additions and 1 deletions

View File

@ -50,6 +50,7 @@ vendor's servers.
- Casio GBX-100
- Casio GBD-100
- Casio GBD-200
- Casio GBD-H1000
- [FitPro](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/FitPro)
- Fossil
- [Hybrid HR](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Fossil-Hybrid-HR) [**\[!\]**](#special-pairing-procedures)

View File

@ -52,7 +52,8 @@ public class CasioGBX100DeviceCoordinator extends AbstractDeviceCoordinator {
String name = candidate.getDevice().getName();
if (name != null) {
if (name.startsWith("CASIO") && (name.endsWith("GBX-100") ||
name.endsWith("GBD-200") || name.endsWith("GBD-100"))) {
name.endsWith("GBD-200") || name.endsWith("GBD-100") ||
name.endsWith("GBD-H1000"))) {
return DeviceType.CASIOGBX100;
}
}