Garmin Forerunner 630: Initial support

This commit is contained in:
José Rebelo
2025-05-21 20:05:48 +01:00
parent e9415f3350
commit ed732493e2
3 changed files with 37 additions and 0 deletions
@@ -0,0 +1,34 @@
/* Copyright (C) 2024 José Rebelo
This file is part of Gadgetbridge.
Gadgetbridge is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gadgetbridge is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
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 GarminForerunner630Coordinator extends GarminWatchCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^Forerunner 630$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_forerunner_630;
}
}
@@ -28,6 +28,7 @@
package nodomain.freeyourgadget.gadgetbridge.model;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.bike.GarminEdgeExplore2Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner630Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.huami.zeppos.watches.AmazfitActive2NfcCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.oppo.OppoEncoBuds2Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.polar.PolarH10DeviceCoordinator;
@@ -516,6 +517,7 @@ public enum DeviceType {
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
GARMIN_FORERUNNER_265S(GarminForerunner265SCoordinator.class),
GARMIN_FORERUNNER_620(GarminForerunner620Coordinator.class),
GARMIN_FORERUNNER_630(GarminForerunner630Coordinator.class),
GARMIN_FORERUNNER_735XT(GarminForerunner735XTCoordinator.class),
GARMIN_FORERUNNER_955(GarminForerunner955Coordinator.class),
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
+1
View File
@@ -1858,6 +1858,7 @@
<string name="devicetype_garmin_forerunner_265">Garmin Forerunner 265</string>
<string name="devicetype_garmin_forerunner_265s">Garmin Forerunner 265S</string>
<string name="devicetype_garmin_forerunner_620">Garmin Forerunner 620</string>
<string name="devicetype_garmin_forerunner_630">Garmin Forerunner 630</string>
<string name="devicetype_garmin_forerunner_735xt">Garmin Forerunner 735XT</string>
<string name="devicetype_garmin_forerunner_955">Garmin Forerunner 955</string>
<string name="devicetype_garmin_forerunner_965">Garmin Forerunner 965</string>