1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-04 03:52:02 +02:00

Garmin Fenix 6 Sapphire: Initial support

This commit is contained in:
José Rebelo 2024-06-07 21:27:37 +01:00
parent 1007feef60
commit 47e3cbcb33
3 changed files with 21 additions and 0 deletions

View File

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

View File

@ -51,6 +51,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsDevice
import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsLiveDeviceCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.galaxy_buds.GalaxyBudsProDeviceCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.epixpro.GarminEpixProCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.fenix.Fenix6SapphireSCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.forerunner245.GarminForerunner245Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2xsolar.GarminInstinct2XSolarCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.swim2.GarminSwim2Coordinator;
@ -347,6 +348,7 @@ public enum DeviceType {
NUTMINI(NutCoordinator.class),
VIVOMOVE_HR(GarminVivomoveHrCoordinator.class),
GARMIN_EPIX_PRO(GarminEpixProCoordinator.class),
GARMIN_FENIX_6_SAPPHIRE(Fenix6SapphireSCoordinator.class),
GARMIN_FORERUNNER_245(GarminForerunner245Coordinator.class),
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class),

View File

@ -1496,6 +1496,7 @@
<string name="devicetype_garmin_venu_2_plus">Garmin Venu 2 Plus</string>
<string name="devicetype_garmin_venu_3">Garmin Venu 3</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_instinct_solar">Garmin Instinct Solar</string>
<string name="devicetype_garmin_instinct_2s">Garmin Instinct 2S</string>
<string name="devicetype_garmin_instinct_2s_solar">Garmin Instinct 2S Solar</string>