Skip to content

Commit 0910775

Browse files
committed
Restore point for changes to BT/BLE device connection code -- Remedy long service discovery times -- Testing VII
1 parent 6790dc6 commit 0910775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/maxieds/chameleonminilivedebugger/BluetoothGattConnector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,13 +591,13 @@ public void run() {
591591
stopConnectingDevices();
592592
startConnectingDevices();
593593
} else if (!btGattRef.discoverServices()) {
594-
Utils.displayToastMessage("Discovering bluetooth services. Prepare to wait ...", Toast.LENGTH_LONG);
594+
Utils.displayToastMessage("Discovering bluetooth services.\nPrepare to wait ...", Toast.LENGTH_LONG);
595595
discoverServicesHandler.postDelayed(this, BluetoothBroadcastReceiver.CHECK_DISCOVER_SVCS_INTERVAL);
596596
} else if (configureGattConnector()) {
597597
BluetoothBroadcastReceiver.printServicesSummaryListToLog(btGattRef);
598598
notifyBluetoothBLEDeviceConnected();
599599
} else {
600-
Utils.displayToastMessage("Discovering bluetooth services. Prepare to wait ...", Toast.LENGTH_LONG);
600+
Utils.displayToastMessage("Discovering bluetooth services.\nPrepare to wait ...", Toast.LENGTH_LONG);
601601
discoverServicesHandler.postDelayed(this, BluetoothBroadcastReceiver.CHECK_DISCOVER_SVCS_INTERVAL);
602602
}
603603
}

0 commit comments

Comments
 (0)