Garmin Venu Sq: Initial support

This commit is contained in:
José Rebelo
2024-10-10 23:14:01 +01:00
parent 400d2aeaba
commit 329eb2c62e
3 changed files with 21 additions and 0 deletions
@@ -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 GarminVenuSqCoordinator extends GarminCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^Venu Sq$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_venu_sq;
}
}
@@ -90,6 +90,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVe
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;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenuSqCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive3Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive3Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive4Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive4Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive4SCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive4SCoordinator;
@@ -436,6 +437,7 @@ public enum DeviceType {
GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class), GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class),
GARMIN_VIVOMOVE_TREND(GarminVivomoveTrendCoordinator.class), GARMIN_VIVOMOVE_TREND(GarminVivomoveTrendCoordinator.class),
GARMIN_VENU(GarminVenuCoordinator.class), GARMIN_VENU(GarminVenuCoordinator.class),
GARMIN_VENU_SQ(GarminVenuSqCoordinator.class),
GARMIN_VENU_2(GarminVenu2Coordinator.class), GARMIN_VENU_2(GarminVenu2Coordinator.class),
GARMIN_VENU_2S(GarminVenu2SCoordinator.class), GARMIN_VENU_2S(GarminVenu2SCoordinator.class),
GARMIN_VENU_2_PLUS(GarminVenu2PlusCoordinator.class), GARMIN_VENU_2_PLUS(GarminVenu2PlusCoordinator.class),
+1
View File
@@ -1719,6 +1719,7 @@
<string name="devicetype_garmin_vivomove_style">Garmin Vívomove Style</string> <string name="devicetype_garmin_vivomove_style">Garmin Vívomove Style</string>
<string name="devicetype_garmin_vivomove_trend">Garmin Vívomove Trend</string> <string name="devicetype_garmin_vivomove_trend">Garmin Vívomove Trend</string>
<string name="devicetype_garmin_venu">Garmin Venu</string> <string name="devicetype_garmin_venu">Garmin Venu</string>
<string name="devicetype_garmin_venu_sq">Garmin Venu Sq</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_2s">Garmin Venu 2S</string>