Garmin Forerunner 945: Initial support

This commit is contained in:
José Rebelo
2025-06-29 18:35:38 +01:00
parent a844bdc37b
commit 37c4972cb2
3 changed files with 21 additions and 0 deletions
@@ -0,0 +1,18 @@
package nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner;
import java.util.regex.Pattern;
import nodomain.freeyourgadget.gadgetbridge.R;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.GarminWatchCoordinator;
public class GarminForerunner945Coordinator extends GarminWatchCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^Forerunner 945$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_forerunner_945;
}
}
@@ -93,6 +93,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.Ga
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner630Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner645MusicCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner735XTCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner945Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner955Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner965Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2Coordinator;
@@ -551,6 +552,7 @@ public enum DeviceType {
GARMIN_FORERUNNER_630(GarminForerunner630Coordinator.class),
GARMIN_FORERUNNER_645_MUSIC(GarminForerunner645MusicCoordinator.class),
GARMIN_FORERUNNER_735XT(GarminForerunner735XTCoordinator.class),
GARMIN_FORERUNNER_945(GarminForerunner945Coordinator.class),
GARMIN_FORERUNNER_955(GarminForerunner955Coordinator.class),
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
GARMIN_SWIM_2(GarminSwim2Coordinator.class),
+1
View File
@@ -1885,6 +1885,7 @@
<string name="devicetype_garmin_forerunner_630">Garmin Forerunner 630</string>
<string name="devicetype_garmin_forerunner_645_music">Garmin Forerunner 645 Music</string>
<string name="devicetype_garmin_forerunner_735xt">Garmin Forerunner 735XT</string>
<string name="devicetype_garmin_forerunner_945">Garmin Forerunner 945</string>
<string name="devicetype_garmin_forerunner_955">Garmin Forerunner 955</string>
<string name="devicetype_garmin_forerunner_965">Garmin Forerunner 965</string>
<string name="devicetype_garmin_swim_2">Garmin Swim 2</string>