mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-26 09:44:31 +02:00
add new device name checks for Beurer BF700/800
This commit is contained in:
@@ -125,7 +125,11 @@ public class BluetoothBeurerBF700_800 extends BluetoothCommunication {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean checkDeviceName(String btDeviceName) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user