Skip to content

Commit a3b338b

Browse files
authored
Update NimBLE_Async_Client.ino
updated message to indicate scan restarting, not just ending.
1 parent 51d99b3 commit a3b338b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/NimBLE_Async_Client/NimBLE_Async_Client.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ScanCallbacks : public NimBLEScanCallbacks {
5050
}
5151

5252
void onScanEnd(const NimBLEScanResults& results, int reason) override {
53-
Serial.printf("Scan Ended\n");
53+
Serial.printf("Scan ended reason = %d; restarting scan\n", reason);
5454
NimBLEDevice::getScan()->start(scanTimeMs);
5555
}
5656
} scanCallbacks;

0 commit comments

Comments
 (0)