mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-11 19:24:06 +02:00
don't immediate disconnect after receiving stoppped command, see issue #459
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user