mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-28 19:45:50 +01:00
Add support for Garmin 955 (#4125)
Co-authored-by: Grzegorz Godlewski <gg@gitgis.com> Co-committed-by: Grzegorz Godlewski <gg@gitgis.com>
This commit is contained in:
parent
fd06519cd1
commit
a762ca9d6c
@ -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 GarminForerunner955Coordinator extends GarminCoordinator {
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
return Pattern.compile("^Forerunner 955$");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDeviceNameResource() {
|
||||
return R.string.devicetype_garmin_forerunner_955;
|
||||
}
|
||||
}
|
@ -13,6 +13,6 @@ public class GarminForerunner965Coordinator extends GarminCoordinator {
|
||||
|
||||
@Override
|
||||
public int getDeviceNameResource() {
|
||||
return R.string.devicetype_garmin_forerunner_245;
|
||||
return R.string.devicetype_garmin_forerunner_965;
|
||||
}
|
||||
}
|
||||
|
@ -71,6 +71,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.GarminForerunner955Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner965Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2SCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2SSolarCoordinator;
|
||||
@ -410,6 +411,7 @@ public enum DeviceType {
|
||||
GARMIN_FORERUNNER_255S(GarminForerunner255SCoordinator.class),
|
||||
GARMIN_FORERUNNER_255S_MUSIC(GarminForerunner255SMusicCoordinator.class),
|
||||
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
|
||||
GARMIN_FORERUNNER_955(GarminForerunner955Coordinator.class),
|
||||
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
|
||||
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
|
||||
GARMIN_INSTINCT(GarminInstinctCoordinator.class),
|
||||
|
@ -1743,6 +1743,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_955">Garmin Forerunner 955</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>
|
||||
|
Loading…
Reference in New Issue
Block a user