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

Handle medisana BS440 as BS444

See #269
This commit is contained in:
Erik Johansson
2018-05-18 21:57:58 +02:00
parent 5b7d339d2f
commit 6ca941e313
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ public class BluetoothFactory {
if (deviceName.startsWith("iHealth HS3")) { if (deviceName.startsWith("iHealth HS3")) {
return new BluetoothIhealthHS3(context); return new BluetoothIhealthHS3(context);
} }
if (deviceName.startsWith("013197")) { if (deviceName.startsWith("013197") || deviceName.startsWith("0202B6")) {
return new BluetoothMedisanaBS444(context); return new BluetoothMedisanaBS444(context);
} }
if (deviceName.startsWith("SWAN") || name.equals("icomon".toLowerCase(Locale.US))) { if (deviceName.startsWith("SWAN") || name.equals("icomon".toLowerCase(Locale.US))) {

View File

@@ -42,7 +42,7 @@ public class BluetoothMedisanaBS444 extends BluetoothCommunication {
@Override @Override
public String driverName() { public String driverName() {
return "Medisana BS444"; return "Medisana BS44x";
} }
@Override @Override