1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-19 23:12:12 +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);

View File

@@ -30,7 +30,7 @@ Initialization
* `<battery>`: battery level
* `<wthr>`: weight threshold (unit g / 100)
* `<fthr>`: fat threshold
* `<unit>`: 1 = kg, 2 = lb, 3 = st
* `<unit>`: 1 = kg, 2 = lb, 4 = st
* `<ue>, <urwe>, <ume>`: user (reference weight, measurement) exists
* `<version>`: scale version