mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-27 02:55:50 +01:00
Garmin Enduro 3: Initial support
This commit is contained in:
parent
57c8c77305
commit
67d46c453e
@ -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;
|
||||||
|
}
|
||||||
|
}
|
@ -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.GalaxyBudsDeviceCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsLiveDeviceCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsLiveDeviceCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsProDeviceCoordinator;
|
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.epix.GarminEpixProCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix5Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix5Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix5PlusCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix5PlusCoordinator;
|
||||||
@ -392,6 +393,7 @@ public enum DeviceType {
|
|||||||
ITAG(ITagCoordinator.class),
|
ITAG(ITagCoordinator.class),
|
||||||
NUTMINI(NutCoordinator.class),
|
NUTMINI(NutCoordinator.class),
|
||||||
VIVOMOVE_HR(GarminVivomoveHrCoordinator.class),
|
VIVOMOVE_HR(GarminVivomoveHrCoordinator.class),
|
||||||
|
GARMIN_ENDURO_3(GarminEnduro3Coordinator.class),
|
||||||
GARMIN_EPIX_PRO(GarminEpixProCoordinator.class),
|
GARMIN_EPIX_PRO(GarminEpixProCoordinator.class),
|
||||||
GARMIN_FENIX_5(GarminFenix5Coordinator.class),
|
GARMIN_FENIX_5(GarminFenix5Coordinator.class),
|
||||||
GARMIN_FENIX_5_PLUS(GarminFenix5PlusCoordinator.class),
|
GARMIN_FENIX_5_PLUS(GarminFenix5PlusCoordinator.class),
|
||||||
|
@ -1713,6 +1713,7 @@
|
|||||||
<string name="devicetype_garmin_venu_2s">Garmin Venu 2S</string>
|
<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_3">Garmin Venu 3</string>
|
||||||
<string name="devicetype_garmin_venu_3s">Garmin Venu 3S</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_epix_pro">Garmin Epix Pro</string>
|
||||||
<string name="devicetype_garmin_fenix_5">Garmin Fenix 5</string>
|
<string name="devicetype_garmin_fenix_5">Garmin Fenix 5</string>
|
||||||
<string name="devicetype_garmin_fenix_5_plus">Garmin Fenix 5 Plus</string>
|
<string name="devicetype_garmin_fenix_5_plus">Garmin Fenix 5 Plus</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user