1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

Add support for Casio GBD-200 and untested support for GBD-100

This commit is contained in:
Andreas Böhler 2021-11-21 16:38:32 +01:00 committed by Gitea
parent 90ae3d0019
commit 4c5d9e5665

View File

@ -51,7 +51,8 @@ public class CasioGBX100DeviceCoordinator extends AbstractDeviceCoordinator {
public DeviceType getSupportedType(GBDeviceCandidate candidate) { public DeviceType getSupportedType(GBDeviceCandidate candidate) {
String name = candidate.getDevice().getName(); String name = candidate.getDevice().getName();
if (name != null) { 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; return DeviceType.CASIOGBX100;
} }
} }