From 32d870c7811e11887b38c8009eb02826de0402fd Mon Sep 17 00:00:00 2001 From: OliE Date: Sat, 6 Jan 2018 11:03:43 +0100 Subject: [PATCH] add new device name checks for Beurer BF700/800 --- .../openscale/core/bluetooth/BluetoothBeurerBF700_800.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF700_800.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF700_800.java index 8c51511f..f2c72e2b 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF700_800.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF700_800.java @@ -125,7 +125,11 @@ public class BluetoothBeurerBF700_800 extends BluetoothCommunication { @Override public boolean checkDeviceName(String btDeviceName) { - if (btDeviceName.toLowerCase().startsWith(new String("BEURER BF700").toLowerCase()) || btDeviceName.toLowerCase().startsWith(new String("BEURER BF800").toLowerCase())|| btDeviceName.toLowerCase().startsWith(new String("RT-Libra-B").toLowerCase())) { + if (btDeviceName.toLowerCase().startsWith(new String("BEURER BF700").toLowerCase()) || + btDeviceName.toLowerCase().startsWith(new String("BEURER BF800").toLowerCase())|| + btDeviceName.toLowerCase().startsWith(new String("BF-800").toLowerCase())|| + btDeviceName.toLowerCase().startsWith(new String("BF-700").toLowerCase())|| + btDeviceName.toLowerCase().startsWith(new String("RT-Libra-B").toLowerCase())) { return true; }