1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

Garmin Enduro 3: Initial support

This commit is contained in:
José Rebelo 2024-09-17 20:39:31 +01:00
parent 57c8c77305
commit 67d46c453e
3 changed files with 21 additions and 0 deletions

View File

@ -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;
}
}

View File

@ -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),

View File

@ -1713,6 +1713,7 @@
<string name="devicetype_garmin_venu_2s">Garmin Venu 2S</string>
<string name="devicetype_garmin_venu_3">Garmin Venu 3</string>
<string name="devicetype_garmin_venu_3s">Garmin Venu 3S</string>
<string name="devicetype_garmin_enduro_3">Garmin Enduro 3</string>
<string name="devicetype_garmin_epix_pro">Garmin Epix Pro</string>
<string name="devicetype_garmin_fenix_5">Garmin Fenix 5</string>
<string name="devicetype_garmin_fenix_5_plus">Garmin Fenix 5 Plus</string>