mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-01 20:15:52 +02:00
Garmin Fenix 5: Initial support
This commit is contained in:
parent
0eca157cfc
commit
cdd2392961
@ -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 GarminFenix5Coordinator extends GarminCoordinator {
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
return Pattern.compile("^fenix 5$");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDeviceNameResource() {
|
||||
return R.string.devicetype_garmin_fenix_5;
|
||||
}
|
||||
}
|
@ -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.watches.epix.GarminEpixProCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix5Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix6Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix6SapphireCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.fenix.GarminFenix7SCoordinator;
|
||||
@ -359,6 +360,7 @@ public enum DeviceType {
|
||||
NUTMINI(NutCoordinator.class),
|
||||
VIVOMOVE_HR(GarminVivomoveHrCoordinator.class),
|
||||
GARMIN_EPIX_PRO(GarminEpixProCoordinator.class),
|
||||
GARMIN_FENIX_5(GarminFenix5Coordinator.class),
|
||||
GARMIN_FENIX_6(GarminFenix6Coordinator.class),
|
||||
GARMIN_FENIX_6_SAPPHIRE(GarminFenix6SapphireCoordinator.class),
|
||||
GARMIN_FENIX_7S(GarminFenix7SCoordinator.class),
|
||||
|
@ -1502,6 +1502,7 @@
|
||||
<string name="devicetype_garmin_venu_3">Garmin Venu 3</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_fenix_5">Garmin Fenix 5</string>
|
||||
<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_7s">Garmin Fenix 7S</string>
|
||||
|
Loading…
Reference in New Issue
Block a user