mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #67] Manually start config portal. #47
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#47
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 @Kusnierz-Maciej on GitHub (Jan 17, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/67
Hello.
I'm invoking startConfigPortal("Lamp settings") when I detect "setup" button pressed in setup() function.
This works well.
Than I have autoConnect().
If for some reason autoConnect fails to connect it enters config mode. How can I make it so that it tries to connect to this network in a loop without entering configuration portal. In short. I only want to enter configuration portal when I request it. I want autoConnect to retry connection till it succeeds.
How to do it?
Also... what is the best method to restart whole chip/program?
@tzapu commented on GitHub (Jan 18, 2016):
HI, see example for this. Once you use startConfigPortal, there is no more need for autoConnect.
@tzapu commented on GitHub (Jan 22, 2016):
ESP.reset() is the way to reboot everything
i ll close this now, discuss in the other issues