mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-28 10:40:47 +02:00
corrected device check
This commit is contained in:
@@ -121,12 +121,8 @@ public class BluetoothSanitasSbf70 extends BluetoothCommunication {
|
||||
|
||||
@Override
|
||||
public boolean checkDeviceName(String btDeviceName) {
|
||||
if (super.checkDeviceName(btDeviceName)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// SilverCrest SBF75 (also known as HealthForYou by SilverCrest)
|
||||
if (btDeviceName.toLowerCase().startsWith("sbf75")) {
|
||||
if (btDeviceName.toLowerCase().startsWith(new String("SANITAS SBF70").toLowerCase()) || btDeviceName.toLowerCase().startsWith("sbf75")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user