mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #375] Manually manage WiFi connection using WiFiManager #316
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#316
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 @vks007 on GitHub (Jun 8, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/375
Hi, I am working on a project where having an active WiFi connection is not critical and so my I can live without one for some time and keep retrying at a certain interval. I want to use WiFiManager library for this but I am unable to do so because I want to manage the retry interval as well as when to retry myself. While this library will try to connect to WiFi itself when it gets the credentials. So my specific question is : Can I stop WiFiManager to try connecting to WiFi , rather I will connect to it when I need to. I just need WiFiManager to manage the WiFi credentials for me. Is it possible?
On investigating further I see the following line of code which is used in WiFiManager.cpp to signal a connection attempt to WiFi. Would somebody who knows the code well be able to advise if I just comment out this statement, would I be good to manage the connection to WiFi part manually ?
connect = true; //signal ready to connect/reset@tablatronix commented on GitHub (Aug 27, 2017):
See the portalondemand example. Wifimanager already does this