1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-31 03:59:56 +02:00
This commit is contained in:
Erik Johansson
2018-11-20 23:10:20 +01:00
parent 3f3a891271
commit a3e4cdb977
2 changed files with 2 additions and 2 deletions

View File

@@ -330,7 +330,7 @@ public class BluetoothBeurerSanitas extends BluetoothCommunication {
int batteryLevel = (data[4] & 0xFF);
float weightThreshold = (data[5] & 0xFF) / 10f;
float bodyFatThreshold = (data[6] & 0xFF) / 10f;
int unit = data[7]; // 1 kg, 2 lb (pounds), 3 st stone
int unit = data[7]; // 1 kg, 2 lb (pounds), 4 st stone
boolean userExists = (data[8] == 0);
boolean userReferWeightExists = (data[9] == 0);
boolean userMeasurementExist = (data[10] == 0);