1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-23 16:53:04 +02:00

correct data length

This commit is contained in:
OliE
2017-10-03 09:46:45 +02:00
parent 8e68a725ce
commit 4fb71ef137

View File

@@ -109,7 +109,7 @@ public class BluetoothExcelvanCF369BLE extends BluetoothCommunication {
if (data != null && data.length > 0) {
// if data is body scale type
if (data.length == 1 && data[0] == (byte)0xcf) {
if (data.length == 16 && data[0] == (byte)0xcf) {
parseBytes(data);
}
}