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

Garmin Fenix 7X: Initial support

This commit is contained in:
José Rebelo 2024-12-12 18:14:25 +00:00
parent 43829d8f62
commit 03eb303181
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix;
import java.util.regex.Pattern;
import nodomain.freeyourgadget.gadgetbridge.R;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
public class GarminFenix7XCoordinator extends GarminCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^fenix 7X$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_fenix_7x;
}
}

View File

@ -69,6 +69,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminF
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7ProCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7ProCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7SCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7SCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7XCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix8Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix8Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner165Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner165Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner235Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner235Coordinator;
@ -442,6 +443,7 @@ public enum DeviceType {
GARMIN_FENIX_6S_SAPPHIRE(GarminFenix6SSapphireCoordinator.class), GARMIN_FENIX_6S_SAPPHIRE(GarminFenix6SSapphireCoordinator.class),
GARMIN_FENIX_7(GarminFenix7Coordinator.class), GARMIN_FENIX_7(GarminFenix7Coordinator.class),
GARMIN_FENIX_7S(GarminFenix7SCoordinator.class), GARMIN_FENIX_7S(GarminFenix7SCoordinator.class),
GARMIN_FENIX_7X(GarminFenix7XCoordinator.class),
GARMIN_FENIX_7_PRO(GarminFenix7ProCoordinator.class), GARMIN_FENIX_7_PRO(GarminFenix7ProCoordinator.class),
GARMIN_FENIX_8(GarminFenix8Coordinator.class), GARMIN_FENIX_8(GarminFenix8Coordinator.class),
GARMIN_FORERUNNER_55(GarminForerunner55Coordinator.class), GARMIN_FORERUNNER_55(GarminForerunner55Coordinator.class),

View File

@ -1755,6 +1755,7 @@
<string name="devicetype_garmin_fenix_6s_sapphire">Garmin Fenix 6S Sapphire</string> <string name="devicetype_garmin_fenix_6s_sapphire">Garmin Fenix 6S Sapphire</string>
<string name="devicetype_garmin_fenix_7">Garmin Fenix 7</string> <string name="devicetype_garmin_fenix_7">Garmin Fenix 7</string>
<string name="devicetype_garmin_fenix_7s">Garmin Fenix 7S</string> <string name="devicetype_garmin_fenix_7s">Garmin Fenix 7S</string>
<string name="devicetype_garmin_fenix_7x">Garmin Fenix 7X</string>
<string name="devicetype_garmin_fenix_7_pro">Garmin Fenix 7 Pro</string> <string name="devicetype_garmin_fenix_7_pro">Garmin Fenix 7 Pro</string>
<string name="devicetype_garmin_fenix_8">Garmin Fenix 8</string> <string name="devicetype_garmin_fenix_8">Garmin Fenix 8</string>
<string name="devicetype_garmin_instinct">Garmin Instinct</string> <string name="devicetype_garmin_instinct">Garmin Instinct</string>