mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Garmin Venu 2: Initial support
This commit is contained in:
parent
e2d5a9e4d7
commit
5be0c612c6
@ -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 GarminVenu2Coordinator extends GarminCoordinator {
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
return Pattern.compile("^Venu 2$");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDeviceNameResource() {
|
||||
return R.string.devicetype_garmin_venu_2;
|
||||
}
|
||||
}
|
@ -65,6 +65,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.Garm
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2SolarCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2SolTacCoordinator;
|
||||
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.GarminVenu2PlusCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3Coordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.venu.GarminVenu3SCoordinator;
|
||||
@ -369,6 +370,7 @@ public enum DeviceType {
|
||||
GARMIN_INSTINCT_2_SOLTAC(GarminInstinct2SolTacCoordinator.class),
|
||||
GARMIN_INSTINCT_CROSSOVER(GarminInstinctCrossoverCoordinator.class),
|
||||
GARMIN_VIVOMOVE_STYLE(GarminVivomoveStyleCoordinator.class),
|
||||
GARMIN_VENU_2(GarminVenu2Coordinator.class),
|
||||
GARMIN_VENU_2_PLUS(GarminVenu2PlusCoordinator.class),
|
||||
GARMIN_VENU_3(GarminVenu3Coordinator.class),
|
||||
GARMIN_VENU_3S(GarminVenu3SCoordinator.class),
|
||||
|
@ -1497,6 +1497,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_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>
|
||||
<string name="devicetype_garmin_venu_3s">Garmin Venu 3S</string>
|
||||
|
Loading…
Reference in New Issue
Block a user