1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 04:16:49 +01:00

Garmin Fenix 7: Initial support

This commit is contained in:
José Rebelo 2024-10-25 18:18:41 +01:00
parent 9d741a7189
commit 22eebf9592
4 changed files with 22 additions and 1 deletions

View File

@ -4,7 +4,7 @@
* Initial support for Anker Soundcore Liberty 4 NC
* Initial support for CMF Buds Pro 2 / Watch Pro 2
* Initial support for Colmi R02/R03/R06/R10 smart rings
* Initial support for Garmin Enduro 3, Fenix 5/5 Plus/5X Plus/6/6S Sapphire/8, Forerunner 165/255/255S Music/245 Music/265S/955/965, Venu/Venu Sq/Venu Sq 2/Venu 2S, Vivoactive 3, Vivomove Trend, Vivosport
* Initial support for Garmin Enduro 3, Fenix 5/5 Plus/5X Plus/6/6S Sapphire/7/8, Forerunner 165/255/255S Music/245 Music/265S/955/965, Venu/Venu Sq/Venu Sq 2/Venu 2S, Vivoactive 3, Vivomove Trend, Vivosport
* Initial support for Huawei Watch 3 / 3 Pro / 4 Pro / D2 / GT 3 SE / GT 5 / GT 5 Pro / GT Cyber / GT Runner
* Initial support for Honor Watch GS 3 / Watch GS Pro
* Initial support for IKEA desk controller

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 GarminFenix7Coordinator extends GarminCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^fenix 7$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_fenix_7;
}
}

View File

@ -63,6 +63,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminF
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix6Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix6SSapphireCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix6SapphireCoordinator;
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.GarminFenix7SCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix8Coordinator;
@ -418,6 +419,7 @@ public enum DeviceType {
GARMIN_FENIX_6(GarminFenix6Coordinator.class),
GARMIN_FENIX_6_SAPPHIRE(GarminFenix6SapphireCoordinator.class),
GARMIN_FENIX_6S_SAPPHIRE(GarminFenix6SSapphireCoordinator.class),
GARMIN_FENIX_7(GarminFenix7Coordinator.class),
GARMIN_FENIX_7S(GarminFenix7SCoordinator.class),
GARMIN_FENIX_7_PRO(GarminFenix7ProCoordinator.class),
GARMIN_FENIX_8(GarminFenix8Coordinator.class),

View File

@ -1737,6 +1737,7 @@
<string name="devicetype_garmin_fenix_6">Garmin Fenix 6</string>
<string name="devicetype_garmin_fenix_6_sapphire">Garmin Fenix 6 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_7s">Garmin Fenix 7S</string>
<string name="devicetype_garmin_fenix_7_pro">Garmin Fenix 7 Pro</string>
<string name="devicetype_garmin_fenix_8">Garmin Fenix 8</string>