mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 18:57:36 +01:00
Garmin Forerunner 965: Initial support
This commit is contained in:
parent
7efeb14ca4
commit
dd93133168
@ -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.GarminCoordinator;
|
||||
|
||||
public class GarminForerunner965Coordinator extends GarminCoordinator {
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
return Pattern.compile("^Forerunner 965|UAT-4315$");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDeviceNameResource() {
|
||||
return R.string.devicetype_garmin_forerunner_245;
|
||||
}
|
||||
}
|
@ -63,6 +63,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.Ga
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner255SCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner255SMusicCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner265Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner965Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2XSolarCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.swim.GarminSwim2Coordinator;
|
||||
@ -382,6 +383,7 @@ public enum DeviceType {
|
||||
GARMIN_FORERUNNER_255S(GarminForerunner255SCoordinator.class),
|
||||
GARMIN_FORERUNNER_255S_MUSIC(GarminForerunner255SMusicCoordinator.class),
|
||||
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
|
||||
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
|
||||
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
|
||||
GARMIN_INSTINCT(GarminInstinctCoordinator.class),
|
||||
GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class),
|
||||
|
@ -1560,6 +1560,7 @@
|
||||
<string name="devicetype_garmin_forerunner_255s">Garmin Forerunner 255S</string>
|
||||
<string name="devicetype_garmin_forerunner_255s_music">Garmin Forerunner 255S Music</string>
|
||||
<string name="devicetype_garmin_forerunner_265">Garmin Forerunner 265</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_vivoactive_3">Garmin Vívoactive 3</string>
|
||||
<string name="devicetype_garmin_vivoactive_4">Garmin Vívoactive 4</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user