mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-27 16:56:57 +02:00
Garmin: Initial support of Instinct 2 Solar
This commit is contained in:
parent
eba72bd40f
commit
1dec34afea
@ -0,0 +1,19 @@
|
|||||||
|
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2solar;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
public class GarminInstinct2SolarCoordinator extends GarminCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
return Pattern.compile("Instinct 2 Solar");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_garmin_instinct_2_solar;
|
||||||
|
}
|
||||||
|
}
|
@ -51,6 +51,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.forerunner245.GarminForerunner245Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.forerunner245.GarminForerunner245Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2s.GarminInstinct2SCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2s.GarminInstinct2SCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.instinct2solar.GarminInstinct2SolarCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.venu3.GarminVenu3Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.venu3.GarminVenu3Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivoactive4s.GarminVivoActive4SCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivoactive4s.GarminVivoActive4SCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivoactive5.GarminVivoActive5Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivoactive5.GarminVivoActive5Coordinator;
|
||||||
@ -330,6 +331,7 @@ public enum DeviceType {
|
|||||||
VIVOMOVE_HR(VivomoveHrCoordinator.class),
|
VIVOMOVE_HR(VivomoveHrCoordinator.class),
|
||||||
GARMIN_FORERUNNER_245(GarminForerunner245Coordinator.class),
|
GARMIN_FORERUNNER_245(GarminForerunner245Coordinator.class),
|
||||||
GARMIN_INSTINCT_2S(GarminInstinct2SCoordinator.class),
|
GARMIN_INSTINCT_2S(GarminInstinct2SCoordinator.class),
|
||||||
|
GARMIN_INSTINCT_2_SOLAR(GarminInstinct2SolarCoordinator.class),
|
||||||
GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class),
|
GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class),
|
||||||
GARMIN_VENU_3(GarminVenu3Coordinator.class),
|
GARMIN_VENU_3(GarminVenu3Coordinator.class),
|
||||||
GARMIN_VIVOACTIVE_4S(GarminVivoActive4SCoordinator.class),
|
GARMIN_VIVOACTIVE_4S(GarminVivoActive4SCoordinator.class),
|
||||||
|
@ -1484,6 +1484,7 @@
|
|||||||
<string name="devicetype_garmin_vivomove_hr">Garmin Vivomove HR</string>
|
<string name="devicetype_garmin_vivomove_hr">Garmin Vivomove HR</string>
|
||||||
<string name="devicetype_garmin_vivomove_style">Vívomove Style</string>
|
<string name="devicetype_garmin_vivomove_style">Vívomove Style</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_2_solar">Garmin Instinct 2 Solar</string>
|
||||||
<string name="devicetype_garmin_forerunner_245">Garmin Forerunner 245</string>
|
<string name="devicetype_garmin_forerunner_245">Garmin Forerunner 245</string>
|
||||||
<string name="devicetype_garmin_vivoactive_4s">Vívoactive 4S</string>
|
<string name="devicetype_garmin_vivoactive_4s">Vívoactive 4S</string>
|
||||||
<string name="devicetype_garmin_vivoactive_5">Vivoactive 5</string>
|
<string name="devicetype_garmin_vivoactive_5">Vivoactive 5</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user