1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-10-06 13:20:30 +02:00

Garmin Forerunner 965: Initial support

This commit is contained in:
José Rebelo 2024-08-05 23:25:56 +01:00
parent 7efeb14ca4
commit dd93133168
3 changed files with 21 additions and 0 deletions

View File

@ -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.GarminCoordinator;
public class GarminForerunner965Coordinator extends GarminCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^Forerunner 965|UAT-4315$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_garmin_forerunner_245;
}
}

View File

@ -63,6 +63,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.Ga
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner255SCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner255SCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner255SMusicCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner255SMusicCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner265Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner265Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.forerunner.GarminForerunner965Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2XSolarCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinct2XSolarCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctCoordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.instinct.GarminInstinctCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.swim.GarminSwim2Coordinator; import nodomain.freeyourgadget.gadgetbridge.devices.garmin.watches.swim.GarminSwim2Coordinator;
@ -382,6 +383,7 @@ public enum DeviceType {
GARMIN_FORERUNNER_255S(GarminForerunner255SCoordinator.class), GARMIN_FORERUNNER_255S(GarminForerunner255SCoordinator.class),
GARMIN_FORERUNNER_255S_MUSIC(GarminForerunner255SMusicCoordinator.class), GARMIN_FORERUNNER_255S_MUSIC(GarminForerunner255SMusicCoordinator.class),
GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class), GARMIN_FORERUNNER_265(GarminForerunner265Coordinator.class),
GARMIN_FORERUNNER_965(GarminForerunner965Coordinator.class),
GARMIN_SWIM_2(GarminSwim2Coordinator.class), GARMIN_SWIM_2(GarminSwim2Coordinator.class),
GARMIN_INSTINCT(GarminInstinctCoordinator.class), GARMIN_INSTINCT(GarminInstinctCoordinator.class),
GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class), GARMIN_INSTINCT_SOLAR(GarminInstinctSolarCoordinator.class),

View File

@ -1560,6 +1560,7 @@
<string name="devicetype_garmin_forerunner_255s">Garmin Forerunner 255S</string> <string name="devicetype_garmin_forerunner_255s">Garmin Forerunner 255S</string>
<string name="devicetype_garmin_forerunner_255s_music">Garmin Forerunner 255S Music</string> <string name="devicetype_garmin_forerunner_255s_music">Garmin Forerunner 255S Music</string>
<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_965">Garmin Forerunner 965</string>
<string name="devicetype_garmin_swim_2">Garmin Swim 2</string> <string name="devicetype_garmin_swim_2">Garmin Swim 2</string>
<string name="devicetype_garmin_vivoactive_3">Garmin Vívoactive 3</string> <string name="devicetype_garmin_vivoactive_3">Garmin Vívoactive 3</string>
<string name="devicetype_garmin_vivoactive_4">Garmin Vívoactive 4</string> <string name="devicetype_garmin_vivoactive_4">Garmin Vívoactive 4</string>