iTECH Active 3: Initial support

This commit is contained in:
José Rebelo
2026-03-22 18:24:33 +00:00
parent 3d0e3216f3
commit b0c23b82e3
3 changed files with 75 additions and 0 deletions
@@ -0,0 +1,72 @@
/* Copyright (C) 2025 Arjan Schrijver
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.moyoung;
import androidx.annotation.DrawableRes;
import androidx.annotation.NonNull;
import java.util.regex.Pattern;
import nodomain.freeyourgadget.gadgetbridge.R;
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
public class ITechActive3Coordinator extends AbstractMoyoungDeviceCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^iTECH Active 3$");
}
@Override
public int getDeviceNameResource() {
return R.string.devicetype_itech_active_3;
}
@Override
public String getManufacturer() {
return "iTech";
}
@Override
public int getMtu() {
return 508;
}
@Override
public int getAlarmSlotCount(GBDevice device) {
return 8;
}
@Override
public int getWorldClocksSlotCount() {
return 6;
}
@Override
public int getWorldClocksLabelLength() {
return 30;
}
@Override
public boolean supportsRemSleep(@NonNull GBDevice device) {
return true;
}
@Override
public boolean supportsStressMeasurement(@NonNull GBDevice device) {
return true;
}
}
@@ -340,6 +340,7 @@ import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.ColmiV76Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.ColmiV89Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.FireBolttTalkCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.HC96Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.ITechActive3Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.KT80Coordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.KsixVentureCoordinator;
import nodomain.freeyourgadget.gadgetbridge.devices.moyoung.MisirunC17Coordinator;
@@ -885,6 +886,7 @@ public enum DeviceType {
C20(C20Coordinator.class),
HC96(HC96Coordinator.class),
KT80(KT80Coordinator.class),
ITECH_ACTIVE_3(ITechActive3Coordinator.class),
KSIX_VENTURE(KsixVentureCoordinator.class),
FIREBOLTT_TALK(FireBolttTalkCoordinator.class),
VIRAN_C29(ViranC29Coordinator.class),
+1
View File
@@ -2200,6 +2200,7 @@
<string name="devicetype_colmi_v73" translatable="false">Colmi V73</string>
<string name="devicetype_colmi_v76" translatable="false">Colmi V76</string>
<string name="devicetype_colmi_v89" translatable="false">Colmi V89</string>
<string name="devicetype_itech_active_3" translatable="false">iTECH Active 3</string>
<string name="devicetype_zl02d" translatable="false">ZL02D</string>
<string name="devicetype_colmi_p80" translatable="false">Colmi P80</string>
<string name="devicetype_blackview_r60" translatable="false">Blackview R60</string>