Closed
Description
Hi guys
I use an ESP32 as scanner and 2 ESP32 Advertised to Scanner
َAfter A few hours I receive a message on serial monitor in scanner device and scanner doesn't work while other peripherals work perfect.
message is "scan_evt timeout"
my code in scanner:
Sketch:
void Task1code(void *pvParameters)
{
for (;;)
{
BLEScanResults foundDevices = pBLEScan->start(scanTime, true);
allowScan = true;
Serial.println("Scan done!");
pBLEScan->clearResults(); // delete results fromBLEScan buffer to release memory
vTaskDelay(5);
}
}
scan time is 3 second.
can you help me?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done