mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #1034] Switched to Dev Branch and Wifi disconnects immediately after #880
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#880
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 @jbronikowski on GitHub (Apr 9, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1034
Hello,
Trying to understand the new logic in the Dev branch. I recently switched over from the master to the dev branch and when i run it, the ESP gets an IP right away but then disconnect configportal and disconnects wifi. Any insight would be greatly appreciated. This works fine on Master
@tablatronix commented on GitHub (Apr 10, 2020):
Dev branch now preserves your user code esp modes, so it puts them back when its done.
You do not have wifi sta mode set.
Autoconnect, will force it on.
Your code should set esp mode WiFi.mode(); on its own.
cp save does not, I am going to change the default and add a getter, cause I get too many issues about it. Consider it "fixed" in 5 minutes.
@tablatronix commented on GitHub (Apr 10, 2020):
It also preseves persistent, so user can go back to exactly the same wifi modes as before running wm, but since this is drastically different than previous versions ( which are bugged! in this )
@tablatronix commented on GitHub (Apr 10, 2020):
e9d75a08b8@tablatronix commented on GitHub (Apr 10, 2020):
I changed it to force sta mode after using wm now, it will prevent these complaints or confusion but will also turn off ap mode if you are using it, so yo have to turn it back on in that case. Should help for now and prevent these issues or questions.