mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-07 09:17:11 +02:00
Add Crane Bluetooth Scale (#1135)
This commit is contained in:
@@ -174,7 +174,7 @@ public class BluetoothBeurerSanitas extends BluetoothCommunication {
|
|||||||
case BEURER_BF710:
|
case BEURER_BF710:
|
||||||
return "Beurer BF710";
|
return "Beurer BF710";
|
||||||
case SANITAS_SBF70_70:
|
case SANITAS_SBF70_70:
|
||||||
return "Sanitas SBF70/SilverCrest SBF75";
|
return "Sanitas SBF70/SilverCrest SBF75/Crane";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "Unknown device type";
|
return "Unknown device type";
|
||||||
|
@@ -90,7 +90,7 @@ public class BluetoothFactory {
|
|||||||
if (name.equals("SENSSUN FAT".toLowerCase(Locale.US))) {
|
if (name.equals("SENSSUN FAT".toLowerCase(Locale.US))) {
|
||||||
return new BluetoothSenssun(context);
|
return new BluetoothSenssun(context);
|
||||||
}
|
}
|
||||||
if (name.startsWith("SANITAS SBF70".toLowerCase(Locale.US)) || name.startsWith("sbf75")) {
|
if (name.startsWith("SANITAS SBF70".toLowerCase(Locale.US)) || name.startsWith("sbf75") || name.startsWith("AICDSCALE1")) {
|
||||||
return new BluetoothBeurerSanitas(context, BluetoothBeurerSanitas.DeviceType.SANITAS_SBF70_70);
|
return new BluetoothBeurerSanitas(context, BluetoothBeurerSanitas.DeviceType.SANITAS_SBF70_70);
|
||||||
}
|
}
|
||||||
if (deviceName.startsWith("YUNMAI-SIGNAL") || deviceName.startsWith("YUNMAI-ISM")) {
|
if (deviceName.startsWith("YUNMAI-SIGNAL") || deviceName.startsWith("YUNMAI-ISM")) {
|
||||||
|
Reference in New Issue
Block a user