You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm adding update functionality to an ESP32 project. For that i'm using the HTTPUpdate.h file that comes with the ESP32 framework.
It, in it's header has this:
In my opinion both projects are wrong here.
WiFiManager should probably namespace these things as these names are definitely easy to use by other projects too.
And the ESP folks should have done enum class HTTPUpdateResult. Though adding that now adds a load more compile errors.
The "easiest" fix is to throw a namespace around those string messages. Though that does give a bit of pain in the rest of the WiFiManager source to fix the result of that namespace.
Other then that, i quite like WiFiManager now :) I had my issues with it in the beginning but ever since using the development branch it's - ironically - working super stable!
Cheers,
Mark
The text was updated successfully, but these errors were encountered:
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
I'm adding update functionality to an ESP32 project. For that i'm using the
HTTPUpdate.h
file that comes with the ESP32 framework.It, in it's header has this:
This collides with the
strings_en.h
file (soft reminder why: C++ enum is without the class in between is global scope):In my opinion both projects are wrong here.
WiFiManager should probably namespace these things as these names are definitely easy to use by other projects too.
And the ESP folks should have done
enum class HTTPUpdateResult
. Though adding that now adds a load more compile errors.The "easiest" fix is to throw a namespace around those string messages. Though that does give a bit of pain in the rest of the WiFiManager source to fix the result of that namespace.
Other then that, i quite like WiFiManager now :) I had my issues with it in the beginning but ever since using the development branch it's - ironically - working super stable!
Cheers,
Mark
The text was updated successfully, but these errors were encountered: