mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-28 10:40:47 +02:00
Merge branch 'matushorvath-hfy_silvercrest'
This commit is contained in:
@@ -111,7 +111,7 @@ public class BluetoothSanitasSbf70 extends BluetoothCommunication {
|
||||
|
||||
@Override
|
||||
public String deviceName() {
|
||||
return "Sanitas SBF70";
|
||||
return "Sanitas SBF70/SilverCrest SBF75";
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -119,6 +119,16 @@ public class BluetoothSanitasSbf70 extends BluetoothCommunication {
|
||||
return "SANITAS SBF70";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean checkDeviceName(String btDeviceName) {
|
||||
// SilverCrest SBF75 (also known as HealthForYou by SilverCrest)
|
||||
if (btDeviceName.toLowerCase().startsWith(new String("SANITAS SBF70").toLowerCase()) || btDeviceName.toLowerCase().startsWith("sbf75")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean nextInitCmd(int stateNr) {
|
||||
|
||||
|
BIN
doc/scales/silvercrest_sbf75.jpg
Normal file
BIN
doc/scales/silvercrest_sbf75.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
Reference in New Issue
Block a user