1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-27 17:14:55 +02:00

Initial support for Garmin Vivosport

This commit is contained in:
Clemens Zagler 2024-07-14 12:18:52 +02:00
parent 124b1953aa
commit 6811caf8a6
3 changed files with 21 additions and 0 deletions

View File

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

View File

@ -81,6 +81,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.vivomove.Garm
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.garmin.watches.vivosport.GarminVivosportCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.hama.fit6900.HamaFit6900DeviceCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.EXRIZUK8Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.HPlusCoordinator;
@ -391,6 +392,7 @@ public enum DeviceType {
GARMIN_VIVOACTIVE_4S(GarminVivoActive4SCoordinator.class),
GARMIN_VIVOACTIVE_5(GarminVivoActive5Coordinator.class),
GARMIN_VIVOSMART_5(GarminVivosmart5Coordinator.class),
GARMIN_VIVOSPORT(GarminVivosportCoordinator.class),
VIBRATISSIMO(VibratissimoCoordinator.class),
SONY_SWR12(SonySWR12DeviceCoordinator.class),
LIVEVIEW(LiveviewCoordinator.class),

View File

@ -1527,6 +1527,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_vivosmart_5">Garmin Vívosmart 5</string>
<string name="devicetype_garmin_vivosport">Garmin Vívosport</string>
<string name="devicetype_vibratissimo">Vibratissimo</string>
<string name="devicetype_um25">UM-25</string>
<string name="devicetype_liveview">LiveView</string>