mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1649] WiFi Scan ASYNC not always works #1403
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1403
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dario-Ciceri on GitHub (Aug 28, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1649
On esp32:
WiFi Scan ASYNC startedand then nothing... sometimes it works after 6 seconds or 5... sometimes it doesn't at all....@Dario-Ciceri commented on GitHub (Aug 28, 2023):
I searched for
WiFi.scanNetworksand found this one:res = WiFi.scanNetworks(true);which is weird ... (?)Why using
true?These are the possible overrides:
Is it intentional to use
WiFi_scanNetworks(unsigned int cachetime);withcachetime = true = 1????@georgevbsantiago commented on GitHub (Aug 29, 2023):
I have the same problem.
I also identified that the ESP32 (devkit with Platformio) is taking time to map the Routers signal. And it doesn't always work. Sometimes I have to click the Refresh button for it to work.
@tablatronix commented on GitHub (Aug 31, 2023):
ESP WiFi.scanNetworks(true);
WM WiFi_scanNetworks(true);
are 2 different things, not overrides
@Dario-Ciceri commented on GitHub (Aug 31, 2023):
uhm ok, I checked these days and tried to understand, I changed to match async call and it works
@tablatronix commented on GitHub (Sep 16, 2023):
I am not sure this is the async scanning that is the issue, I am seeing 0 scans also sometimes.
you can go into the .h and change this to false to disable it