mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-22 00:06:48 +02:00
Wait 1000 ms before discovering BLE services
see comment to https://stackoverflow.com/a/32519095
This commit is contained in:
@@ -548,7 +548,7 @@ public abstract class BluetoothCommunication {
|
|||||||
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_ESTABLISHED);
|
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_ESTABLISHED);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Thread.sleep(200);
|
Thread.sleep(1000);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
// Empty
|
// Empty
|
||||||
|
Reference in New Issue
Block a user