Closed clementnuss closed 4 years ago
Have you tried the other examples on ESP32 ? they compile automatically for theappropriate target. I will look into back-porting that functionality to the quickstart sketches. I thought I had...may have got lost..
The QuickStart code uses
<ESP8266.h>
specific Wifi functions, which is not compatible with the ESP32.We should instead only use the function of the
<Wifi.h>
library, which is more general. The following example shows how to achieve this quite neatly: https://github.com/timpur/arduino-esp32/blob/d72e8137b3933470bfa8292e801389064fd8d001/libraries/WiFi/examples/WiFiClientEvents/WiFiClientEvents.ino#L78I will propose a Pull request to solve this issue in the coming days.