mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1013] deprecate _shouldBreakAfterConfig and wifisavecallback #860
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#860
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 @tablatronix on GitHub (Feb 25, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1013
ok this is confusing and needs to go.
There are 2 requirements here
If saving wifi and fail, do we stop configportal ?
If not saving wifi and param only, do we stop configportal
We need a callback or 2 to replace savewifi, as this is the only one and is also called for param save, it is also only called if
_shouldBreakAfterConfigwhich is bad.We also need to pass a status to the wifisave callback and closure so user knows if wifi was successful, but with skippable wifi, what do we do ?
If saving wifi we always stop config portal also. as it must to connect to sta..
@tablatronix commented on GitHub (Feb 26, 2020):
I think we can just change the return result to an enum instead of bool and add multi state, that is the easiest fix.