1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 04:16:49 +01:00

Garmin Vivomove Trend: Initial support

This commit is contained in:
José Rebelo 2024-07-08 21:56:07 +01:00
parent 921eeb1035
commit e77fda67c1
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivomove;
import java.util.regex.Pattern;
import nodomain.freeyourgadget.gadgetbridge.R;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
public class GarminVivomoveTrendCoordinator extends GarminCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^vívomove Trend$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_vivomove_trend;
}
}

View File

@ -79,6 +79,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.Ga
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivoactive.GarminVivoActive5Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivomove.GarminVivomoveHrCoordinator;
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.GarminVivosmart5Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.hama.fit6900.HamaFit6900DeviceCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.EXRIZUK8Coordinator;
@ -380,6 +381,7 @@ public enum DeviceType {
GARMIN_INSTINCT_2_SOLTAC(GarminInstinct2SolTacCoordinator.class),
GARMIN_INSTINCT_CROSSOVER(GarminInstinctCrossoverCoordinator.class),
GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class),
GARMIN_VIVOMOVE_TREND(GarminVivomoveTrendCoordinator.class),
GARMIN_VENU_2(GarminVenu2Coordinator.class),
GARMIN_VENU_2_PLUS(GarminVenu2PlusCoordinator.class),
GARMIN_VENU_3(GarminVenu3Coordinator.class),

View File

@ -1498,6 +1498,7 @@
<string name="devicetype_zepp_e">Zepp E</string>
<string name="devicetype_garmin_vivomove_hr">Garmin Vívomove HR</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_venu_2">Garmin Venu 2</string>
<string name="devicetype_garmin_venu_2_plus">Garmin Venu 2 Plus</string>
<string name="devicetype_garmin_venu_3">Garmin Venu 3</string>