1
0
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:
Jantleing
2025-06-20 15:11:28 +02:00
committed by GitHub
parent 3b52e810f8
commit 95b7d83d76
2 changed files with 2 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ public class BluetoothBeurerSanitas extends BluetoothCommunication {
case BEURER_BF710:
return "Beurer BF710";
case SANITAS_SBF70_70:
return "Sanitas SBF70/SilverCrest SBF75";
return "Sanitas SBF70/SilverCrest SBF75/Crane";
}
return "Unknown device type";

View File

@@ -90,7 +90,7 @@ public class BluetoothFactory {
if (name.equals("SENSSUN FAT".toLowerCase(Locale.US))) {
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);
}
if (deviceName.startsWith("YUNMAI-SIGNAL") || deviceName.startsWith("YUNMAI-ISM")) {