• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Requesting help with WIFI Events

Q&A Forum › Category: ESP32 › Requesting help with WIFI Events
0 Vote Up Vote Down
William Lucid asked 3 years ago

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

Question Tags: ESP32, ESP32 Core 2.0.4, WIFI Events
5 Answers
0 Vote Up Vote Down
William Lucid answered 3 years ago

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

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

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

0 Vote Up Vote Down
William Lucid answered 3 years ago

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:

WiFi Event Logging code

Logging is only emulated with print statements.  Arduino IDE 2.0 rc9 is available for download.

Best Regards,
William

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great!
Thank you so much for sharing.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 3 years ago

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

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.