1
0
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:
José Rebelo 2024-08-20 19:08:07 +01:00
parent 3bb969dc43
commit 880c85abcf
3 changed files with 21 additions and 0 deletions

View File

@ -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;
}
}

View File

@ -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),

View File

@ -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>