From b92e143ecd6218b2bdb6d8929ec14ced729814f0 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Fri, 6 Jul 2018 23:13:55 +0200 Subject: [PATCH] Test if Yunmai Balance works as the mini Issue #305 --- .../com/health/openscale/core/bluetooth/BluetoothFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java index e994a870..7337e91a 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java @@ -75,7 +75,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-W")) { + if (deviceName.startsWith("YUNMAI-SIGNAL-M") || deviceName.startsWith("YUNMAI-ISM2-")) { return new BluetoothYunmaiSE_Mini(context, true); } if (deviceName.startsWith("YUNMAI-ISSE")) {