mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-24 01:03:20 +02:00
correct data length
This commit is contained in:
@@ -109,7 +109,7 @@ public class BluetoothExcelvanCF369BLE extends BluetoothCommunication {
|
|||||||
if (data != null && data.length > 0) {
|
if (data != null && data.length > 0) {
|
||||||
|
|
||||||
// if data is body scale type
|
// if data is body scale type
|
||||||
if (data.length == 1 && data[0] == (byte)0xcf) {
|
if (data.length == 16 && data[0] == (byte)0xcf) {
|
||||||
parseBytes(data);
|
parseBytes(data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user