mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-09 03:37:03 +01:00
Garmin Venu 2S: Initial support
This commit is contained in:
parent
3bb969dc43
commit
880c85abcf
@ -0,0 +1,18 @@
|
|||||||
|
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
|
||||||
|
|
||||||
|
public class GarminVenu2SCoordinator extends GarminCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
return Pattern.compile("^Venu 2S$");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_garmin_venu_2s;
|
||||||
|
}
|
||||||
|
}
|
@ -76,6 +76,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.Garm
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctCrossoverCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctCrossoverCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2PlusCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2PlusCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu2SCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3SCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3SCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenuCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenuCoordinator;
|
||||||
@ -401,6 +402,7 @@ public enum DeviceType {
|
|||||||
GARMIN_VIVOMOVE_TREND(GarminVivomoveTrendCoordinator.class),
|
GARMIN_VIVOMOVE_TREND(GarminVivomoveTrendCoordinator.class),
|
||||||
GARMIN_VENU(GarminVenuCoordinator.class),
|
GARMIN_VENU(GarminVenuCoordinator.class),
|
||||||
GARMIN_VENU_2(GarminVenu2Coordinator.class),
|
GARMIN_VENU_2(GarminVenu2Coordinator.class),
|
||||||
|
GARMIN_VENU_2S(GarminVenu2SCoordinator.class),
|
||||||
GARMIN_VENU_2_PLUS(GarminVenu2PlusCoordinator.class),
|
GARMIN_VENU_2_PLUS(GarminVenu2PlusCoordinator.class),
|
||||||
GARMIN_VENU_3(GarminVenu3Coordinator.class),
|
GARMIN_VENU_3(GarminVenu3Coordinator.class),
|
||||||
GARMIN_VENU_3S(GarminVenu3SCoordinator.class),
|
GARMIN_VENU_3S(GarminVenu3SCoordinator.class),
|
||||||
|
@ -1664,6 +1664,7 @@
|
|||||||
<string name="devicetype_garmin_venu">Garmin Venu</string>
|
<string name="devicetype_garmin_venu">Garmin Venu</string>
|
||||||
<string name="devicetype_garmin_venu_2">Garmin Venu 2</string>
|
<string name="devicetype_garmin_venu_2">Garmin Venu 2</string>
|
||||||
<string name="devicetype_garmin_venu_2_plus">Garmin Venu 2 Plus</string>
|
<string name="devicetype_garmin_venu_2_plus">Garmin Venu 2 Plus</string>
|
||||||
|
<string name="devicetype_garmin_venu_2s">Garmin Venu 2S</string>
|
||||||
<string name="devicetype_garmin_venu_3">Garmin Venu 3</string>
|
<string name="devicetype_garmin_venu_3">Garmin Venu 3</string>
|
||||||
<string name="devicetype_garmin_venu_3s">Garmin Venu 3S</string>
|
<string name="devicetype_garmin_venu_3s">Garmin Venu 3S</string>
|
||||||
<string name="devicetype_garmin_epix_pro">Garmin Epix Pro</string>
|
<string name="devicetype_garmin_epix_pro">Garmin Epix Pro</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user