mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin Forerunner 630: Initial support
This commit is contained in:
+34
@@ -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;
|
package nodomain.freeyourgadget.gadgetbridge.model;
|
||||||
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.bike.GarminEdgeExplore2Coordinator;
|
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.huami.zeppos.watches.AmazfitActive2NfcCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.oppo.OppoEncoBuds2Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.oppo.OppoEncoBuds2Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.polar.PolarH10DeviceCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.polar.PolarH10DeviceCoordinator;
|
||||||
@@ -516,6 +517,7 @@ public enum DeviceType {
|
|||||||
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
|
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
|
||||||
GARMIN_FORERUNNER_265S(GarminForerunner265SCoordinator.class),
|
GARMIN_FORERUNNER_265S(GarminForerunner265SCoordinator.class),
|
||||||
GARMIN_FORERUNNER_620(GarminForerunner620Coordinator.class),
|
GARMIN_FORERUNNER_620(GarminForerunner620Coordinator.class),
|
||||||
|
GARMIN_FORERUNNER_630(GarminForerunner630Coordinator.class),
|
||||||
GARMIN_FORERUNNER_735XT(GarminForerunner735XTCoordinator.class),
|
GARMIN_FORERUNNER_735XT(GarminForerunner735XTCoordinator.class),
|
||||||
GARMIN_FORERUNNER_955(GarminForerunner955Coordinator.class),
|
GARMIN_FORERUNNER_955(GarminForerunner955Coordinator.class),
|
||||||
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
|
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
|
||||||
|
|||||||
@@ -1858,6 +1858,7 @@
|
|||||||
<string name="devicetype_garmin_forerunner_265">Garmin Forerunner 265</string>
|
<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_265s">Garmin Forerunner 265S</string>
|
||||||
<string name="devicetype_garmin_forerunner_620">Garmin Forerunner 620</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_735xt">Garmin Forerunner 735XT</string>
|
||||||
<string name="devicetype_garmin_forerunner_955">Garmin Forerunner 955</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_forerunner_965">Garmin Forerunner 965</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user