I'm trying to extend the WiFi Manager with a possibility to upload new firmware in the config mode.
I do not want to use the Arduino IDE or download from server mode. Just extending the existing API.
I thought it should be straiged forward:
WiFiManager *wm;
ESP8266HTTPUpdateServer httpUpdater;
MyWiFiManager::MyWiFiManager(int resetPin, char* APpassword) {
wm = new WiFiManager;
httpUpdater.setup((ESP8266WebServer*)wm->server);
...
My question:
Is this generally a good idea to do it in such a way?
How do I get access to the Webserver?
Thanks in advance for your help!
Tooltime