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
WiFi.scanNetworks(); without disconnecting active AP connection
Re: WiFi.scanNetworks(); without disconnecting active AP connection
Hello,
Is there a solution to the problem?
I only have the problem with ESP32 c3 mini 1
other ESP32 work.
It also works with the ESP8266
I found it when I flashed Tasmota. Tasmota creat a AP and use wifi.scanNetworks() after connect
Once wifi.scanNetworks() it's running, every Windows PC flies out of the AP.
Android devices stay in the AP.
The problem seems to be only with Windows devices.
If I remove wifi.scannetworks() from Tasmota, the AP works normally.
On the ESP8266 or ESP32 wroom, the Windows PC does not fly out of the AP when wifi.scannetworks is running.
lg
Hichi
Is there a solution to the problem?
I only have the problem with ESP32 c3 mini 1
other ESP32 work.
It also works with the ESP8266
I found it when I flashed Tasmota. Tasmota creat a AP and use wifi.scanNetworks() after connect
Once wifi.scanNetworks() it's running, every Windows PC flies out of the AP.
Android devices stay in the AP.
The problem seems to be only with Windows devices.
If I remove wifi.scannetworks() from Tasmota, the AP works normally.
On the ESP8266 or ESP32 wroom, the Windows PC does not fly out of the AP when wifi.scannetworks is running.
lg
Hichi
Who is online
Users browsing this forum: No registered users and 61 guests