mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #659] setConfigPortalBlocking and additional parameter portail not compatible #550
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#550
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 @spilz87 on GitHub (Jul 15, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/659
I'm not able to use setConfigPortalBlocking(false) and add parameters on portail on the same project, I tried to merge the 2 exemples and each time I got a reset loop
Some one as succed on it or is it an issue ?
@tablatronix commented on GitHub (Jul 18, 2018):
is this still an issue?
@spilz87 commented on GitHub (Jul 18, 2018):
For me yes it is, I'm not able to merge the both exemples
@tablatronix commented on GitHub (Jul 18, 2018):
do you have the latest commits?
Did you place your param object global or make it static?
@spilz87 commented on GitHub (Jul 18, 2018):
I download the last development branch last week end
@tablatronix commented on GitHub (Jul 18, 2018):
It has been updated since then
@spilz87 commented on GitHub (Jul 18, 2018):
Ok sorry
I will download the new one and try it again
@spilz87 commented on GitHub (Jul 18, 2018):
I will let you know
@irwanayeah commented on GitHub (Aug 29, 2018):
hello @ spilz87 @tablatronix , is there a solution? because I got the same thing
I use the sample WifiManager \ examples \ DEV \ OnDemandConfigPortal \ OnDemandConfigPortal.ino
then add lines
setConfigPortalBlocking (false); on setup
process (); on the loop
parameters never seen.
@tablatronix commented on GitHub (Aug 29, 2018):
Your parameters are setup in setup then they are out of scope in loop. You have to put then somewhere else or make them static or something
@irwanayeah commented on GitHub (Aug 29, 2018):
work perfect. thank @tablatronix
@tablatronix commented on GitHub (Aug 29, 2018):
Yeah that is one of the problems with the non blocking and has to be documented and a new example made for it, unless we can make it better, like store parm objects in wm.
Then there is the issue of cleaning up when its global etc.
Ideas welcome
@irwanayeah commented on GitHub (Aug 29, 2018):
hi @tablatronix , how about function setSaveConfig Callback(save Config Callback); never fires after saving value of parameters.
@tablatronix commented on GitHub (Aug 29, 2018):
Yeah I keep forgetting to work on that. Can you create an issue so I dont forget again.
Since params can now be saved seperate from wifi I need to add new callbacks also
@irwanayeah commented on GitHub (Aug 29, 2018):
ok