1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Garmin Fenix 7 Pro: Initial support

This commit is contained in:
José Rebelo 2024-06-09 14:39:10 +01:00
parent 13cbec2a63
commit 241ec26170
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 GarminFenix7ProCoordinator extends GarminCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^fenix 7 Pro$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_fenix_7_pro;
}
}

View File

@ -52,6 +52,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsLiveDe
import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsProDeviceCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsProDeviceCoordinator;
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.GarminFenix6SapphireSCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix6SapphireSCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7ProCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner245Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner245Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2XSolarCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2XSolarCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.swim.GarminSwim2Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.swim.GarminSwim2Coordinator;
@ -350,6 +351,7 @@ public enum DeviceType {
VIVOMOVE_HR(GarminVivomoveHrCoordinator.class), VIVOMOVE_HR(GarminVivomoveHrCoordinator.class),
GARMIN_EPIX_PRO(GarminEpixProCoordinator.class), GARMIN_EPIX_PRO(GarminEpixProCoordinator.class),
GARMIN_FENIX_6_SAPPHIRE(GarminFenix6SapphireSCoordinator.class), GARMIN_FENIX_6_SAPPHIRE(GarminFenix6SapphireSCoordinator.class),
GARMIN_FENIX_7_PRO(GarminFenix7ProCoordinator.class),
GARMIN_FORERUNNER_245(GarminForerunner245Coordinator.class), GARMIN_FORERUNNER_245(GarminForerunner245Coordinator.class),
GARMIN_SWIM_2(GarminSwim2Coordinator.class), GARMIN_SWIM_2(GarminSwim2Coordinator.class),
GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class), GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class),

View File

@ -1499,6 +1499,7 @@
<string name="devicetype_garmin_venu_3s">Garmin Venu 3S</string> <string name="devicetype_garmin_venu_3s">Garmin Venu 3S</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_6_sapphire">Garmin Fenix 6 Sapphire</string> <string name="devicetype_garmin_fenix_6_sapphire">Garmin Fenix 6 Sapphire</string>
<string name="devicetype_garmin_fenix_7_pro">Garmin Fenix 7 Pro</string>
<string name="devicetype_garmin_instinct_solar">Garmin Instinct Solar</string> <string name="devicetype_garmin_instinct_solar">Garmin Instinct Solar</string>
<string name="devicetype_garmin_instinct_2s">Garmin Instinct 2S</string> <string name="devicetype_garmin_instinct_2s">Garmin Instinct 2S</string>
<string name="devicetype_garmin_instinct_2s_solar">Garmin Instinct 2S Solar</string> <string name="devicetype_garmin_instinct_2s_solar">Garmin Instinct 2S Solar</string>