WiFiServer vs. ESP8266WebServer
Posted: Mon Mar 14, 2016 12:36 am
Hi all,
I've been working on integrating the HTTPUpdateServer into my esp arduino based project, and I've hit a snag. I get the following error during compilation:
no matching function for call to 'ESP8266HTTPUpdateServer::setup(WiFiServer*)'
The difference between my code and the example sketch is that I am using "WiFiServer" library to create a web server and handle http requests and it looks like the ESP8266WebServer library, which is used in the example, is different.
My question is, does anyone have a recommendation on the best path forward on this? Should I try to convert my code from using WiFi to use WebServer or should I do something else. I wasn't able to look into the libraries themselves yet, but could anyone comment on the actual differences?
Thanks for any thoughts!
I've been working on integrating the HTTPUpdateServer into my esp arduino based project, and I've hit a snag. I get the following error during compilation:
no matching function for call to 'ESP8266HTTPUpdateServer::setup(WiFiServer*)'
The difference between my code and the example sketch is that I am using "WiFiServer" library to create a web server and handle http requests and it looks like the ESP8266WebServer library, which is used in the example, is different.
My question is, does anyone have a recommendation on the best path forward on this? Should I try to convert my code from using WiFi to use WebServer or should I do something else. I wasn't able to look into the libraries themselves yet, but could anyone comment on the actual differences?
Thanks for any thoughts!