1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-11 11:14:03 +02:00

don't immediate disconnect after receiving stoppped command, see issue #459

This commit is contained in:
oliexdev
2019-06-16 08:00:12 +02:00
parent 49fd74ffe2
commit 2308811a29

View File

@@ -71,8 +71,6 @@ public class BluetoothMiScale2 extends BluetoothCommunication {
byte[] userIdentifier = new byte[]{(byte)0x04, (byte)0xFF, (byte)0xFF, (byte) ((uniqueNumber & 0xFF00) >> 8), (byte) ((uniqueNumber & 0xFF) >> 0)};
writeBytes(BluetoothGattUuid.SERVICE_BODY_COMPOSITION, WEIGHT_MEASUREMENT_HISTORY_CHARACTERISTIC, userIdentifier);
disconnect();
resumeMachineState();
}