diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/garmin/watches/enduro/GarminEnduro3Coordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/garmin/watches/enduro/GarminEnduro3Coordinator.java new file mode 100644 index 000000000..fee46b41b --- /dev/null +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/garmin/watches/enduro/GarminEnduro3Coordinator.java @@ -0,0 +1,18 @@ +package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.enduro; + +import java.util.regex.Pattern; + +import nodomain.freeyourgadget.gadgetbridge.R; +import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator; + +public class GarminEnduro3Coordinator extends GarminCoordinator { + @Override + protected Pattern getSupportedDeviceName() { + return Pattern.compile("^Enduro 3$"); + } + + @Override + public int getDeviceNameResource() { + return R.string.devicetype_garmin_enduro_3; + } +} diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java index c85c80595..0fbd5462d 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java @@ -54,6 +54,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBuds2ProDe import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsDeviceCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsLiveDeviceCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsProDeviceCoordinator; +import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.enduro.GarminEnduro3Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.epix.GarminEpixProCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix5Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix5PlusCoordinator; @@ -392,6 +393,7 @@ public enum DeviceType { ITAG(ITagCoordinator.class), NUTMINI(NutCoordinator.class), VIVOMOVE_HR(GarminVivomoveHrCoordinator.class), + GARMIN_ENDURO_3(GarminEnduro3Coordinator.class), GARMIN_EPIX_PRO(GarminEpixProCoordinator.class), GARMIN_FENIX_5(GarminFenix5Coordinator.class), GARMIN_FENIX_5_PLUS(GarminFenix5PlusCoordinator.class), diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ba14ed254..a0262ec01 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1713,6 +1713,7 @@ Garmin Venu 2S Garmin Venu 3 Garmin Venu 3S + Garmin Enduro 3 Garmin Epix Pro Garmin Fenix 5 Garmin Fenix 5 Plus