1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-20 23:41:45 +02:00

Wait 1000 ms before discovering BLE services

see comment to https://stackoverflow.com/a/32519095
This commit is contained in:
Erik Johansson
2018-05-26 23:04:17 +02:00
parent a55dfa959f
commit 3f11e55a99

View File

@@ -548,7 +548,7 @@ public abstract class BluetoothCommunication {
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_ESTABLISHED);
try {
Thread.sleep(200);
Thread.sleep(1000);
}
catch (Exception e) {
// Empty