mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #182] int WiFiManager::connectWifi(String ssid, String pass) might not return #146
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#146
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 @antonmeyer on GitHub (Jun 5, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/182
int connRes = WiFi.waitForConnectResult(); // might not return
this might hang in an endless loop
}
So it will never switch to the config mode.
Not sure, if this issue was reported already
To be fair: I´m not sure, what the ESP8266 does in the background and when it will report Connect_FAIL
In this case the visualmicro debug mode was the root cause. In general strange conncept from ESP8266 Wifi lib to loop a poll, if there would be a defined timeout of the connection attempt. (if so, ??)
A callback sounds for me more reliable.
-> great thank to the autor of WiFiManager,