1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-17 22:11:35 +02:00

Support Yunmai Mini 2 China version (#453)

This commit is contained in:
xcffl
2019-03-31 19:06:05 +00:00
committed by OliE
parent adb3d5eef4
commit ef03c7667b

View File

@@ -88,7 +88,7 @@ public class BluetoothFactory {
if (name.startsWith("SANITAS SBF70".toLowerCase(Locale.US)) || name.startsWith("sbf75")) {
return new BluetoothBeurerSanitas(context, BluetoothBeurerSanitas.DeviceType.SANITAS_SBF70_70);
}
if (deviceName.startsWith("YUNMAI-SIGNAL-") || deviceName.startsWith("YUNMAI-ISM2-")) {
if (deviceName.startsWith("YUNMAI-SIGNAL-") || deviceName.startsWith("YUNMAI-ISM2")) {
return new BluetoothYunmaiSE_Mini(context, true);
}
if (deviceName.startsWith("YUNMAI-ISSE")) {