Http server in Arduino core für ESP32
Posted: Tue Nov 08, 2016 1:31 pm
Hi there,
I installed the Arduino core for ESP32 and could successfully upload the Blinky example and another one joining the Wifi network and executing a HTTP request as client.
Now I would need to run a HTTP server to accept commands to the module.
But in the github repository
https://github.com/espressif/arduino-esp32
I read:
How can I set up an Http server in the easiest way, can I use the respective lib of the earlier ESP models (ESP31/ESP8266)? Is there a "beta" of the ESP32 libs that I can try (it's not production environment yet)?
Or do I need to switch to the regular / non-Arduino toolchain? No problem with that, just trying to prototype something in a few hours and would like to save the work of doing so.
Regards,
Konrad
I installed the Arduino core for ESP32 and could successfully upload the Blinky example and another one joining the Wifi network and executing a HTTP request as client.
Now I would need to run a HTTP server to accept commands to the module.
But in the github repository
https://github.com/espressif/arduino-esp32
I read:
And the WifiServer is not included in the core.WiFiClient, WiFiServer and WiFiUdp are not quite ready yet because there are still some small hiccups in LwIP to be overcome. You can try WiFiClient but you need to disconnect the client yourself to be sure that connection is closed.
How can I set up an Http server in the easiest way, can I use the respective lib of the earlier ESP models (ESP31/ESP8266)? Is there a "beta" of the ESP32 libs that I can try (it's not production environment yet)?
Or do I need to switch to the regular / non-Arduino toolchain? No problem with that, just trying to prototype something in a few hours and would like to save the work of doing so.
Regards,
Konrad