mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin Vivosmart 3: Initial support
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivosmart;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.GarminWatchCoordinator;
|
||||
|
||||
public class GarminVivosmart3Coordinator extends GarminWatchCoordinator {
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
return Pattern.compile("^vívosmart 3$");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDeviceNameResource() {
|
||||
return R.string.devicetype_garmin_vivosmart_3;
|
||||
}
|
||||
}
|
||||
@@ -132,6 +132,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivomove.Garm
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivomove.GarminVivomoveSportCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivomove.GarminVivomoveStyleCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivomove.GarminVivomoveTrendCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivosmart.GarminVivosmart3Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivosmart.GarminVivosmart4Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivosmart.GarminVivosmart5Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivosport.GarminVivosportCoordinator;
|
||||
@@ -601,6 +602,7 @@ public enum DeviceType {
|
||||
GARMIN_VIVOACTIVE_4S(GarminVivoActive4SCoordinator.class),
|
||||
GARMIN_VIVOACTIVE_5(GarminVivoActive5Coordinator.class),
|
||||
GARMIN_VIVOACTIVE_HR(GarminVivoActiveHrCoordinator.class),
|
||||
GARMIN_VIVOSMART_3(GarminVivosmart3Coordinator.class),
|
||||
GARMIN_VIVOSMART_4(GarminVivosmart4Coordinator.class),
|
||||
GARMIN_VIVOSMART_5(GarminVivosmart5Coordinator.class),
|
||||
GARMIN_VIVOSPORT(GarminVivosportCoordinator.class),
|
||||
|
||||
@@ -1913,6 +1913,7 @@
|
||||
<string name="devicetype_garmin_vivoactive_4s">Garmin Vívoactive 4S</string>
|
||||
<string name="devicetype_garmin_vivoactive_5">Garmin Vívoactive 5</string>
|
||||
<string name="devicetype_garmin_vivoactive_hr">Garmin Vívoactive HR</string>
|
||||
<string name="devicetype_garmin_vivosmart_3">Garmin Vívosmart 3</string>
|
||||
<string name="devicetype_garmin_vivosmart_4">Garmin Vívosmart 4</string>
|
||||
<string name="devicetype_garmin_vivosmart_5">Garmin Vívosmart 5</string>
|
||||
<string name="devicetype_garmin_vivosport">Garmin Vívosport</string>
|
||||
|
||||
Reference in New Issue
Block a user