mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
xplora xmove
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.service.DeviceSupport;
|
import nodomain.freeyourgadget.gadgetbridge.service.DeviceSupport;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.hama.fit6900.HamaFit6900DeviceSupport;
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.hama.fit6900.HamaFit6900DeviceSupport;
|
||||||
|
|
||||||
public final class HamaFit6900DeviceCoordinator extends AbstractBLEDeviceCoordinator {
|
public class HamaFit6900DeviceCoordinator extends AbstractBLEDeviceCoordinator {
|
||||||
@Override
|
@Override
|
||||||
protected Pattern getSupportedDeviceName() {
|
protected Pattern getSupportedDeviceName() {
|
||||||
return Pattern.compile("^Fit6900$");
|
return Pattern.compile("^Fit6900$");
|
||||||
|
|||||||
+42
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
Copyright (C) 2024 enoint
|
||||||
|
|
||||||
|
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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package nodomain.freeyourgadget.gadgetbridge.devices.xplora;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.hama.fit6900.HamaFit6900DeviceCoordinator;
|
||||||
|
|
||||||
|
public class XploraXmoveDeviceCoordinator extends HamaFit6900DeviceCoordinator {
|
||||||
|
@Override
|
||||||
|
protected Pattern getSupportedDeviceName() {
|
||||||
|
return Pattern.compile("^XMOVE$");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getManufacturer() {
|
||||||
|
return "Xplora";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getDeviceNameResource() {
|
||||||
|
return R.string.devicetype_xplora_xmove;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -196,6 +196,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.gloryfit.watches.Y66Coordina
|
|||||||
import nodomain.freeyourgadget.gadgetbridge.devices.gloryfit.watches.Y6Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.gloryfit.watches.Y6Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.gree.GreeAcCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.gree.GreeAcCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.hama.fit6900.HamaFit6900DeviceCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.hama.fit6900.HamaFit6900DeviceCoordinator;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.devices.xplora.XploraXmoveDeviceCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.EXRIZUK8Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.EXRIZUK8Coordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.HPlusCoordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.HPlusCoordinator;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.MakibesF68Coordinator;
|
import nodomain.freeyourgadget.gadgetbridge.devices.hplus.MakibesF68Coordinator;
|
||||||
@@ -914,6 +915,7 @@ public enum DeviceType {
|
|||||||
FEMOMETER_VINCA2(FemometerVinca2DeviceCoordinator.class),
|
FEMOMETER_VINCA2(FemometerVinca2DeviceCoordinator.class),
|
||||||
PIXOO(PixooCoordinator.class),
|
PIXOO(PixooCoordinator.class),
|
||||||
HAMA_FIT6900(HamaFit6900DeviceCoordinator.class),
|
HAMA_FIT6900(HamaFit6900DeviceCoordinator.class),
|
||||||
|
XPLORA_XMOVE(XploraXmoveDeviceCoordinator.class),
|
||||||
YAWELL_R05(YawellR05Coordinator.class),
|
YAWELL_R05(YawellR05Coordinator.class),
|
||||||
YAWELL_R10(YawellR10Coordinator.class),
|
YAWELL_R10(YawellR10Coordinator.class),
|
||||||
YAWELL_R11(YawellR11Coordinator.class),
|
YAWELL_R11(YawellR11Coordinator.class),
|
||||||
|
|||||||
@@ -2287,6 +2287,7 @@
|
|||||||
<string name="devicetype_bohemic_smart_bracelet" translatable="false">Bohemic Smart Bracelet</string>
|
<string name="devicetype_bohemic_smart_bracelet" translatable="false">Bohemic Smart Bracelet</string>
|
||||||
<string name="devicetype_vivitar_hr_bp_monitor_activity_tracker" translatable="false">Vivitar HR & BP Monitor Activity Tracker</string>
|
<string name="devicetype_vivitar_hr_bp_monitor_activity_tracker" translatable="false">Vivitar HR & BP Monitor Activity Tracker</string>
|
||||||
<string name="devicetype_hama_fit6900" translatable="false">Hama Fit6900</string>
|
<string name="devicetype_hama_fit6900" translatable="false">Hama Fit6900</string>
|
||||||
|
<string name="devicetype_xplora_xmove" translatable="false">Xplora XMOVE</string>
|
||||||
<string name="devicetype_generic_thermal_printer">Thermal Printer</string>
|
<string name="devicetype_generic_thermal_printer">Thermal Printer</string>
|
||||||
<string name="devicetype_garmin_hrm_pro_plus" translatable="false">Garmin HRM-Pro Plus</string>
|
<string name="devicetype_garmin_hrm_pro_plus" translatable="false">Garmin HRM-Pro Plus</string>
|
||||||
<string name="devicetype_generic_headphones">Headphones</string>
|
<string name="devicetype_generic_headphones">Headphones</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user