mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #435] use public method resetSettings(); #369
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#369
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 @speendo on GitHub (Oct 6, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/435
I just try to find a solution for issue #120 of the project esp8266_milight_hub, which uses this great project.
The aim is to find a proper solution for the ESP8266 to leave a WiFi network and reconnect to another one.
In my opinion this is a genuine "duty" of a WiFiManager. Therefore I was just about to suggest you to create a wrapper method for
WiFi.disconnect().Checking the code of WiFiManager, I found that such a wrapper method already exists (it is called
WiFiManager::resetSettings(), find it here).However, this method seems to be undocumented. My programmer friends always warn me not to use undocumented methods ;-)
Is it "safe" to use
WiFiManager::resetSettings()?@speendo commented on GitHub (Oct 6, 2017):
Oh!
My bad. It is documented in the API reference. It just didn't make it to the README. Sorry.