mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-20 07:21:40 +02:00
Fix typo
This commit is contained in:
@@ -330,7 +330,7 @@ public class BluetoothBeurerSanitas extends BluetoothCommunication {
|
|||||||
int batteryLevel = (data[4] & 0xFF);
|
int batteryLevel = (data[4] & 0xFF);
|
||||||
float weightThreshold = (data[5] & 0xFF) / 10f;
|
float weightThreshold = (data[5] & 0xFF) / 10f;
|
||||||
float bodyFatThreshold = (data[6] & 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 userExists = (data[8] == 0);
|
||||||
boolean userReferWeightExists = (data[9] == 0);
|
boolean userReferWeightExists = (data[9] == 0);
|
||||||
boolean userMeasurementExist = (data[10] == 0);
|
boolean userMeasurementExist = (data[10] == 0);
|
||||||
|
@@ -30,7 +30,7 @@ Initialization
|
|||||||
* `<battery>`: battery level
|
* `<battery>`: battery level
|
||||||
* `<wthr>`: weight threshold (unit g / 100)
|
* `<wthr>`: weight threshold (unit g / 100)
|
||||||
* `<fthr>`: fat threshold
|
* `<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
|
* `<ue>, <urwe>, <ume>`: user (reference weight, measurement) exists
|
||||||
* `<version>`: scale version
|
* `<version>`: scale version
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user