mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Garmin Forerunner 265S: Initial support
This commit is contained in:
parent
b40749d53c
commit
50d5a532d1
@ -0,0 +1,19 @@
|
|||||||
|
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 GarminForerunner265SCoordinator extends GarminCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
// #4131 - including variants of the name just in case
|
||||||
|
return Pattern.compile("^(Garmin )?Forerunner 265[sS]$");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_garmin_forerunner_265s;
|
||||||
|
}
|
||||||
|
}
|
@ -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.GarminForerunner255SCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner255SMusicCoordinator;
|
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.GarminForerunner265Coordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner265SCoordinator;
|
||||||
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.GarminInstinct2SCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2SCoordinator;
|
||||||
@ -411,6 +412,7 @@ public enum DeviceType {
|
|||||||
GARMIN_FORERUNNER_255S(GarminForerunner255SCoordinator.class),
|
GARMIN_FORERUNNER_255S(GarminForerunner255SCoordinator.class),
|
||||||
GARMIN_FORERUNNER_255S_MUSIC(GarminForerunner255SMusicCoordinator.class),
|
GARMIN_FORERUNNER_255S_MUSIC(GarminForerunner255SMusicCoordinator.class),
|
||||||
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
|
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
|
||||||
|
GARMIN_FORERUNNER_265S(GarminForerunner265SCoordinator.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),
|
||||||
|
@ -1743,6 +1743,7 @@
|
|||||||
<string name="devicetype_garmin_forerunner_255s">Garmin Forerunner 255S</string>
|
<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_255s_music">Garmin Forerunner 255S Music</string>
|
||||||
<string name="devicetype_garmin_forerunner_265">Garmin Forerunner 265</string>
|
<string name="devicetype_garmin_forerunner_265">Garmin Forerunner 265</string>
|
||||||
|
<string name="devicetype_garmin_forerunner_265s">Garmin Forerunner 265S</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>
|
||||||
|
Loading…
Reference in New Issue
Block a user