mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-13 20:24:14 +02:00
300 ms delay added to step 0 (#983)
This commit is contained in:
@@ -70,6 +70,11 @@ public class BluetoothYunmaiSE_Mini extends BluetoothCommunication {
|
||||
user_add_or_query[user_add_or_query.length - 1] =
|
||||
xorChecksum(user_add_or_query, 1, user_add_or_query.length - 1);
|
||||
writeBytes(WEIGHT_CMD_SERVICE, WEIGHT_CMD_CHARACTERISTIC, user_add_or_query);
|
||||
try {
|
||||
Thread.sleep(300);
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{}
|
||||
break;
|
||||
case 1:
|
||||
byte[] unixTime = Converters.toInt32Be(new Date().getTime() / 1000);
|
||||
|
Reference in New Issue
Block a user