Finished converting a large project to use ESP32, Core 2.0.4. Before modifying my project code to use WIFI Events; I compiled this tutorial
ESP32, Core 2.0.4 compiling of this tutorial produced multiple errors
Requesting help getting this tutorial to compile with ESP32, Board Manager ESP32m 2.0.4 Arduino IDE 2.0.
Tutorial compiles without error using ESP32 Board Manager 1.0.6.
Found Arduino IDE library example for WiFiClientEvents.ino for Core 2.0.4; have been unable to understand how to port this to the tutorial.
Regards,
William
Used ESP32 Core 2.0.4; WiFi library example WiFiClientEvents.ino to get the same result as the tutorial.
Code to use ESP32, Core 2.0.4 for tutorial.
Regards,
William
Hi William.
Thank you so much for sharing.
I need to update the tutorial with the new changes.
I’m still using version 2.0.1. I’ll wait for some time to see if there aren’t any issues with the new 2.0.4 version.
Thank you for taking the time to let us know.
Regards,
Sara
Hi Sara,
Thank you for positive feedback; appreciated!
Have coded a WiFi event logging demonstration based on the ESP32, Core 2.0.4 WiFi library example WiFiClientEvent:
Logging is only emulated with print statements. Arduino IDE 2.0 rc9 is available for download.
Best Regards,
William
WIFI Event Logging code above only used print statements to emulate logging. Expanding upon this code using WIFIClientEvents and flags for flow control, logging of five WIFIClientEvents has been accomplished: ESP32 Web server starts, Brownout events, Watchdog events, WIFI connects and WIFI disconnects. Time stamping was implemented using NTP. FTP was added; making it easy to view the WIFI.TXT logging file.
Log WIFIClientEvents with time stamp.
Logging of WiFiClientEvents on my Web Server –option “WiFi”
Regards,
William