mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #161] Once WiFiManager is used to create an AP, a new AP can't be created outside of WiFiManager. #124
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#124
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 @rnearhoof on GitHub (May 5, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/161
Hello tzapu, Thank you for creating your WiFiManager library, but I decided to give it a test run on a new adafruit huzzah board, and now I wish I hadn't.
The library needs a clean way to remove all of the previously stored credentials. The function WiFiManager::resetSettings() is apparently supposed to do this, but it does not.
Here are the steps to reproduce the problem:
1.) From WiFiManager, call begin() in any fashion (with/without password or automatic SSID)
2.) After step 1, run a simple arduino ESP AP program that does not use WiFiManager. : You cannot create a new AP, only the previous AP created under WiFiManager.
3.) Reflash ESP with NodeMCU firmware (LUA) and try to create AP. :You cannot create a new AP, but the previous AP created under WiFiManager is created.
4.) Erase 512K memory. : Old AP is still there.
5.) Try calling WiFiManager::resetSettings() : this does nothing to fix these issues.
Thanks for any help.
@tzapu commented on GitHub (May 5, 2016):
hi,
this is quite weird, maybe some flash corruption or something, as nothing like that should happen.
i can suggest 2 things, both in an empty sketch
and then try whatever sketch you want
good luck
@rnearhoof commented on GitHub (May 5, 2016):
Thank you for the reply. I tried your suggestions, but no luck.
It's not really an issue, since WiFiManager can overwrite the credentials, which makes me think it's not a flash corruption issue, though it still could always be. I just have to use your library to set up the board I'll be running as a test bed.
It is an interesting mystery though. I have even tried finding and deleting config.json, but the phantom AP persists. I read that the ESP can store 5 sets of credentials, but I thought they were for storing station mode login credentials, not AP setups.
It could also be my hardware. I have a few of the non-FCC cheap-o models that I can test with.
I will post any updates here.