Skip to content

Commit 95b7d83

Browse files
authored
Add Crane Bluetooth Scale (#1135)
1 parent 3b52e81 commit 95b7d83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerSanitas.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public String driverName() {
174174
case BEURER_BF710:
175175
return "Beurer BF710";
176176
case SANITAS_SBF70_70:
177-
return "Sanitas SBF70/SilverCrest SBF75";
177+
return "Sanitas SBF70/SilverCrest SBF75/Crane";
178178
}
179179

180180
return "Unknown device type";

android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static BluetoothCommunication createDeviceDriver(Context context, String
9090
if (name.equals("SENSSUN FAT".toLowerCase(Locale.US))) {
9191
return new BluetoothSenssun(context);
9292
}
93-
if (name.startsWith("SANITAS SBF70".toLowerCase(Locale.US)) || name.startsWith("sbf75")) {
93+
if (name.startsWith("SANITAS SBF70".toLowerCase(Locale.US)) || name.startsWith("sbf75") || name.startsWith("AICDSCALE1")) {
9494
return new BluetoothBeurerSanitas(context, BluetoothBeurerSanitas.DeviceType.SANITAS_SBF70_70);
9595
}
9696
if (deviceName.startsWith("YUNMAI-SIGNAL") || deviceName.startsWith("YUNMAI-ISM")) {

0 commit comments

Comments
 (0)