1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-18 14:31:23 +02:00

Update BluetoothFactory.java

Test to support YUNMAI-SIGNAL-M and YUNMAI-SIGNAL-B, see issue #316
This commit is contained in:
OliE
2018-11-27 12:16:28 +01:00
committed by GitHub
parent d72cb640fc
commit 14c0bc97ba

View File

@@ -79,7 +79,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-M") || deviceName.startsWith("YUNMAI-ISM2-")) {
if (deviceName.startsWith("YUNMAI-SIGNAL-") || deviceName.startsWith("YUNMAI-ISM2-")) {
return new BluetoothYunmaiSE_Mini(context, true);
}
if (deviceName.startsWith("YUNMAI-ISSE")) {