mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-24 16:47:32 +01:00
Garmin Vivosmart 5: Initial support
This commit is contained in:
parent
2fa22224bd
commit
e5d41e75ad
@ -0,0 +1,18 @@
|
|||||||
|
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivosmart5;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
|
||||||
|
|
||||||
|
public class GarminVivosmart5Coordinator extends GarminCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
return Pattern.compile("vívosmart 5");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_garmin_vivosmart_5;
|
||||||
|
}
|
||||||
|
}
|
@ -64,6 +64,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivoactive4s.GarminVi
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivoactive5.GarminVivoActive5Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivoactive5.GarminVivoActive5Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivomove.GarminVivomoveHrCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivomove.GarminVivomoveHrCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivomove.GarminVivomoveStyleCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivomove.GarminVivomoveStyleCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.vivosmart5.GarminVivosmart5Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.EXRIZUK8Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.EXRIZUK8Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.HPlusCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.HPlusCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.MakibesF68Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.MakibesF68Coordinator;
|
||||||
@ -355,6 +356,7 @@ public enum DeviceType {
|
|||||||
GARMIN_VIVOACTIVE_4(GarminVivoActive4Coordinator.class),
|
GARMIN_VIVOACTIVE_4(GarminVivoActive4Coordinator.class),
|
||||||
GARMIN_VIVOACTIVE_4S(GarminVivoActive4SCoordinator.class),
|
GARMIN_VIVOACTIVE_4S(GarminVivoActive4SCoordinator.class),
|
||||||
GARMIN_VIVOACTIVE_5(GarminVivoActive5Coordinator.class),
|
GARMIN_VIVOACTIVE_5(GarminVivoActive5Coordinator.class),
|
||||||
|
GARMIN_VIVOSMART_5(GarminVivosmart5Coordinator.class),
|
||||||
VIBRATISSIMO(VibratissimoCoordinator.class),
|
VIBRATISSIMO(VibratissimoCoordinator.class),
|
||||||
SONY_SWR12(SonySWR12DeviceCoordinator.class),
|
SONY_SWR12(SonySWR12DeviceCoordinator.class),
|
||||||
LIVEVIEW(LiveviewCoordinator.class),
|
LIVEVIEW(LiveviewCoordinator.class),
|
||||||
|
@ -1505,6 +1505,7 @@
|
|||||||
<string name="devicetype_garmin_vivoactive_4">Garmin Vívoactive 4</string>
|
<string name="devicetype_garmin_vivoactive_4">Garmin Vívoactive 4</string>
|
||||||
<string name="devicetype_garmin_vivoactive_4s">Garmin Vívoactive 4S</string>
|
<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_5">Garmin Vívoactive 5</string>
|
||||||
|
<string name="devicetype_garmin_vivosmart_5">Garmin Vívosmart 5</string>
|
||||||
<string name="devicetype_vibratissimo">Vibratissimo</string>
|
<string name="devicetype_vibratissimo">Vibratissimo</string>
|
||||||
<string name="devicetype_um25">UM-25</string>
|
<string name="devicetype_um25">UM-25</string>
|
||||||
<string name="devicetype_liveview">LiveView</string>
|
<string name="devicetype_liveview">LiveView</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user