[GH-ISSUE #655] ESP32 development branch - 2 fixes and problem accessing OnDemandAP config page #547

Closed
opened 2026-02-28 01:25:49 +03:00 by kerem · 2 comments
Owner

Originally created by @Mirdox on GitHub (Jul 13, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/655

WiFimanager Branch/Release: Development

Hello there,

Thanks for this project, it works perfectly on esp8266.
Now I was trying on esp32 and I'm facing several issues.
Some of them i was able to fix.

Fix 1: There is conflict with esp32 library WebServer file HTTP_Method.h which uses same variable HTTP_HEAD. Renaming it in WiFiManager.cpp and strings_en.h to HTML_HEAD solves the problem.
HTML_HEAD is btw more appropriate, because it is HTML Header, not HTTP.

Fix 2: There is a typo in WiFiManager.cpp line 1081
bool tok_I = HTTP_PARAM_temp.indexOf(FPSTR(T_i)) > 0; // lower case i
should be changed to
bool tok_I = HTTP_PARAM_temp.indexOf(FPSTR(T_I)) > 0; // upper case I

Current problem: now I'm stuck, because I cannot open config page in browser while connected to OnDemandAP. When the Wifi Credentials are missing the config page is working fine.
There is no crash and no debug messages and I've tried on more devices.

Any idea?

Thank you

Originally created by @Mirdox on GitHub (Jul 13, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/655 WiFimanager Branch/Release: Development Hello there, Thanks for this project, it works perfectly on esp8266. Now I was trying on esp32 and I'm facing several issues. Some of them i was able to fix. Fix 1: There is conflict with esp32 library WebServer file HTTP_Method.h which uses same variable HTTP_HEAD. Renaming it in WiFiManager.cpp and strings_en.h to HTML_HEAD solves the problem. HTML_HEAD is btw more appropriate, because it is HTML Header, not HTTP. Fix 2: There is a typo in WiFiManager.cpp line 1081 bool tok_I = HTTP_PARAM_temp.indexOf(FPSTR(T_i)) > 0; // lower case i should be changed to bool tok_I = HTTP_PARAM_temp.indexOf(FPSTR(T_I)) > 0; // upper case I Current problem: now I'm stuck, because I cannot open config page in browser while connected to OnDemandAP. When the Wifi Credentials are missing the config page is working fine. There is no crash and no debug messages and I've tried on more devices. Any idea? Thank you
kerem 2026-02-28 01:25:49 +03:00
Author
Owner

@tablatronix commented on GitHub (Jul 13, 2018):

I just used it he other day, were there alot of commits to esp32?

<!-- gh-comment-id:404973494 --> @tablatronix commented on GitHub (Jul 13, 2018): I just used it he other day, were there alot of commits to esp32?
Author
Owner

@tablatronix commented on GitHub (Jul 13, 2018):

Ah i see webserver abstractions, I just looked for changes this morning and missed this. Will fix

<!-- gh-comment-id:404973848 --> @tablatronix commented on GitHub (Jul 13, 2018): Ah i see webserver abstractions, I just looked for changes this morning and missed this. Will fix
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#547
No description provided.