1 parent
2c6526fcdb
commit
717bdb1f06
2 files changed
+3
No files matched your search
@@ -569,6 +569,8 @@ void BLEconnect() {
|
||||
if (pRemoteCharacteristic->canNotify()) {
|
||||
Log.trace(F("Registering notification" CR));
|
||||
pRemoteCharacteristic->subscribe(true, notifyCB);
|
||||
delay(BLE_CNCT_TIMEOUT);
|
||||
pClient->disconnect();
|
||||
} else {
|
||||
Log.notice(F("Failed registering notification" CR));
|
||||
pClient->disconnect();
|
||||
|
||||
Reference in new issue
Block a user