This commit is contained in:
James 2024-04-25 22:30:16 +01:00
parent c88e078304
commit 02ec97d557

View File

@ -31,6 +31,8 @@ void loop() {
Serial.println("Devices found: " + String(foundDevices.getCount()));
for (int i = 0; i < foundDevices.getCount(); i++) {
Serial.printf("\r\n\r\n===============================\r\n\r\n");
BLEAdvertisedDevice advertisedDevice = foundDevices.getDevice(i);
Serial.println("\nFound Device: " + String(advertisedDevice.toString().c_str()));
@ -124,7 +126,6 @@ void loop() {
}
}
pClient->disconnect();
Serial.printf("\r\n\r\n===============================\r\n\r\n");
}
}