WiFi.scanNetworks(); without disconnecting active AP connection
Posted: Fri Jan 21, 2022 8:25 pm
Hi,
it seems, that WiFi.scanNetworks(); disconnects the active AP connection.
I want that the user connects to AP-mode and then calls 192.168.4.1 to enter the server page.
Then the user should be able to press a button "scan for Wifi networks" and then should get a list of available WiFi-networks.
But after WiFi.scanNetworks(); is started, the connection to the AP / Serverpage gets lost.
Is there a way to keep the connection alive while WiFi-Scan is performed?
Maybe with FreeRTOS task?
Best wishes
Daniel
it seems, that WiFi.scanNetworks(); disconnects the active AP connection.
I want that the user connects to AP-mode and then calls 192.168.4.1 to enter the server page.
Then the user should be able to press a button "scan for Wifi networks" and then should get a list of available WiFi-networks.
But after WiFi.scanNetworks(); is started, the connection to the AP / Serverpage gets lost.
Is there a way to keep the connection alive while WiFi-Scan is performed?
Maybe with FreeRTOS task?
Best wishes
Daniel