mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin Forerunner 945: Initial support
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
|||||||
|
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.GarminWatchCoordinator;
|
||||||
|
|
||||||
|
public class GarminForerunner945Coordinator extends GarminWatchCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
return Pattern.compile("^Forerunner 945$");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_garmin_forerunner_945;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -93,6 +93,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.Ga
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner630Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner630Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner645MusicCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner645MusicCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner735XTCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner735XTCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner945Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner955Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner955Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner965Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner965Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2Coordinator;
|
||||||
@@ -551,6 +552,7 @@ public enum DeviceType {
|
|||||||
GARMIN_FORERUNNER_630(GarminForerunner630Coordinator.class),
|
GARMIN_FORERUNNER_630(GarminForerunner630Coordinator.class),
|
||||||
GARMIN_FORERUNNER_645_MUSIC(GarminForerunner645MusicCoordinator.class),
|
GARMIN_FORERUNNER_645_MUSIC(GarminForerunner645MusicCoordinator.class),
|
||||||
GARMIN_FORERUNNER_735XT(GarminForerunner735XTCoordinator.class),
|
GARMIN_FORERUNNER_735XT(GarminForerunner735XTCoordinator.class),
|
||||||
|
GARMIN_FORERUNNER_945(GarminForerunner945Coordinator.class),
|
||||||
GARMIN_FORERUNNER_955(GarminForerunner955Coordinator.class),
|
GARMIN_FORERUNNER_955(GarminForerunner955Coordinator.class),
|
||||||
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
|
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
|
||||||
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
|
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
|
||||||
|
|||||||
@@ -1885,6 +1885,7 @@
|
|||||||
<string name="devicetype_garmin_forerunner_630">Garmin Forerunner 630</string>
|
<string name="devicetype_garmin_forerunner_630">Garmin Forerunner 630</string>
|
||||||
<string name="devicetype_garmin_forerunner_645_music">Garmin Forerunner 645 Music</string>
|
<string name="devicetype_garmin_forerunner_645_music">Garmin Forerunner 645 Music</string>
|
||||||
<string name="devicetype_garmin_forerunner_735xt">Garmin Forerunner 735XT</string>
|
<string name="devicetype_garmin_forerunner_735xt">Garmin Forerunner 735XT</string>
|
||||||
|
<string name="devicetype_garmin_forerunner_945">Garmin Forerunner 945</string>
|
||||||
<string name="devicetype_garmin_forerunner_955">Garmin Forerunner 955</string>
|
<string name="devicetype_garmin_forerunner_955">Garmin Forerunner 955</string>
|
||||||
<string name="devicetype_garmin_forerunner_965">Garmin Forerunner 965</string>
|
<string name="devicetype_garmin_forerunner_965">Garmin Forerunner 965</string>
|
||||||
<string name="devicetype_garmin_swim_2">Garmin Swim 2</string>
|
<string name="devicetype_garmin_swim_2">Garmin Swim 2</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user