mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1276] How to Determine AP Credential Failure using autoConnect()? #1095
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#1095
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 @tonyc770 on GitHub (Jul 31, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1276
I am using the autoConnect() function, but if the wrong WiFi credentials are entered there is no feedback while in AP mode.
Only when the credentials are correct does the autoConnect() return true, or if there is a timeout, returns false.
Is there a way to detect that the credentials failed?
Thanks...
@monodop commented on GitHub (Nov 2, 2021):
I am also interested to know if there's a good way to determine this.
@tablatronix commented on GitHub (Nov 3, 2021):
you might be able to use
@monodop commented on GitHub (Nov 4, 2021):
is there a callback we can use to check once an attempt to save the configuration has been made?
For success, we have
setSaveConfigCallback, but I can't see a corresponding callback for failure.Edit: I also see that you can set
setBreakAfterConfigbut it would be good to be able to get a callback on failure without aborting the autoConnect@tablatronix commented on GitHub (Nov 6, 2021):
Hmm could be handy let me see what works best
@monodop commented on GitHub (Jan 5, 2022):
Any thoughts?