mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-18 14:31:23 +02:00
Revert "Continue even if discoverServices return false"
This reverts commit d29884d0ff
.
This commit is contained in:
@@ -660,6 +660,8 @@ public abstract class BluetoothCommunication {
|
||||
public void run() {
|
||||
if (!gatt.discoverServices()) {
|
||||
Timber.e("Could not start service discovery");
|
||||
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_LOST);
|
||||
disconnect(false);
|
||||
}
|
||||
}
|
||||
}, 1000);
|
||||
|
Reference in New Issue
Block a user