-->
Page 1 of 1

WifiManager Conflict

PostPosted: Sun May 24, 2020 12:23 pm
by jermainst2005
Just for info.

I updated my Arduino environment to latest on github.

Sketches (including WifiManager) wouldn't compile anymore because a recent commit in ESP8266WebServer introduced an enum HTTP_HEAD which was in conflict with a variable in WifiManager (holding the portal header).

I initially renamed this in WifiManager to get it to compile.
jitter click test
The development branch of WifiManager puts these strings in a different file with different names. With this installed instead of the released version then all compiles again OK.

Re: WifiManager Conflict

PostPosted: Mon May 25, 2020 6:50 am
by btidey
https://github.com/tzapu/WiFiManager/issues/927

I think this was hotfixed in Aug 2019 with a change to make it HTTP_HEADER.

The dev version dies split it out into separate file but this one is not relesed as far as I can see.

Are you sure you have latest released version?

Re: WifiManager Conflict

PostPosted: Fri Apr 08, 2022 5:36 am
by Forestwolff02*
A recent commit in the ESP8266 IDE on github has introduced an enum called HTTP_HEAD in
click test
ESP8266WebServer.h which is in conflict with string defined in WifiManager.h file and causes compilation errors.

This string is different in the development branch and using this compiles OK.

Re: WifiManager Conflict

PostPosted: Fri Apr 08, 2022 4:56 pm
by Inq720
If you're doing a web server... you could just punt it all and use mine.
3 lines of code and you can

  1. connect via SoftAP or StationAP
  2. Hard code credential (if you want) OR use Admin UI to configure all your access points
  3. change the hostname in the Admin
  4. use the Drag&Drop file manager to upload all your web content to the disk
  5. OTA the Sketch
  6. do remote debugging serial monitor type debugging, but can dynamically disable output without having to recompile
  7. Has watch variables
  8. Histogram with significant system performance metrics
  9. Able to add your Sketch numeric output to be graphed in conjunction with the system metrics
  10. A brain-dead trivial API to have your client applications talk to your ESP8266 server.

Oh! Did I mention... it only takes three lines of code to add all that to your Sketch.