From 4c5d9e5665ef8bceb63cfc1d81ab8f6ebe84733d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20B=C3=B6hler?= Date: Sun, 21 Nov 2021 16:38:32 +0100 Subject: [PATCH] Add support for Casio GBD-200 and untested support for GBD-100 --- .../devices/casio/gbx100/CasioGBX100DeviceCoordinator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/casio/gbx100/CasioGBX100DeviceCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/casio/gbx100/CasioGBX100DeviceCoordinator.java index 059a8e277..fc0538162 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/casio/gbx100/CasioGBX100DeviceCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/casio/gbx100/CasioGBX100DeviceCoordinator.java @@ -51,7 +51,8 @@ public class CasioGBX100DeviceCoordinator extends AbstractDeviceCoordinator { public DeviceType getSupportedType(GBDeviceCandidate candidate) { String name = candidate.getDevice().getName(); if (name != null) { - if (name.startsWith("CASIO") && name.endsWith("GBX-100")) { + if (name.startsWith("CASIO") && (name.endsWith("GBX-100") || + name.endsWith("GBD-200") || name.endsWith("GBD-100"))) { return DeviceType.CASIOGBX100; } }