huawei: Add gadget variant Huawei Watch GT3 SE

* added to GT3Coordinator
This commit is contained in:
Vitaliy Tomin 2024-09-24 14:06:41 +08:00
parent f6d9a87f95
commit 3c6f1191b5
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ public final class HuaweiConstants {
public static final String HU_BAND8_NAME = "huawei band 8-";
public static final String HU_BAND9_NAME = "huawei band 9-";
public static final String HU_WATCHGT3_NAME = "huawei watch gt 3-";
public static final String HU_WATCHGT3SE_NAME = "huawei watch gt 3 se-";
public static final String HU_WATCHGT3PRO_NAME = "huawei watch gt 3 pro-";
public static final String HU_WATCHGTRUNNER_NAME = "huawei watch gt runner-";
public static final String HU_WATCH3_NAME = "huawei watch 3-";

View File

@ -31,7 +31,7 @@ public class HuaweiWatchGT3Coordinator extends HuaweiBRCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("(" + HuaweiConstants.HU_WATCHGT3_NAME + "|" + HuaweiConstants.HU_WATCHGT3PRO_NAME + ").*", Pattern.CASE_INSENSITIVE);
return Pattern.compile("(" + HuaweiConstants.HU_WATCHGT3_NAME + "|" + HuaweiConstants.HU_WATCHGT3PRO_NAME + "|" + HuaweiConstants.HU_WATCHGT3SE_NAME + ").*", Pattern.CASE_INSENSITIVE);
}
@Override