An open API service indexing awesome lists of open source software.

https://github.com/ohioiot-examples/esp32_wifi_events-and-logging

The code base accompanying one step in the video series on creating a next-level WiFi library for your ESP32 projects. The video associated with this code base focused on engaging with the events provided by WiFi.h and logging them to get the best information possible about your WiFi connection.
https://github.com/ohioiot-examples/esp32_wifi_events-and-logging

arduino-ide arduino-iot connectivity cpp embedded-systems esp-idf esp32 esp32-iot event-driven firmware home-automation internet-of-things iot microcontroller networking ohioiot platformio wifi wifi-events wifi-logging

Last synced: 9 months ago
JSON representation

The code base accompanying one step in the video series on creating a next-level WiFi library for your ESP32 projects. The video associated with this code base focused on engaging with the events provided by WiFi.h and logging them to get the best information possible about your WiFi connection.

Awesome Lists containing this project

README

          

# WiFi: Events & Logging

## Overview

This code was generated in the YouTube video [ESP32 WiFi: Introducing Events](https://www.youtube.com/watch?v=AT4uNl0lJK8&list=PLAilpW21Y-LAHbQl6HvIWl0VDeJ9daaME), part of a video series marching toward a next-level WiFi library for ESP32 IoT developers. 👉 Subscribe to the [OhioIoT YouTube Channel](https://www.youtube.com/@OhioIoT?sub_confirmation=1) for more on All Things IoT: hardware, firmware, connectivity, cloud computing, and dev toolkit.

## Getting Started
```
git clone https://github.com/OhioIoT-Examples/ESP32_WiFi_Events-And-Logging.git
```

### Getting Started - PlatformIO
This codebase is structrued as a fully ready PlatformIO project.
1. change the WiFi credentials in main.cpp
1. compile and run

To turn off logging, delete/uncomment the `log_events()` and `log_status()` function calls.

### Getting Started - Arduino IDE

The library *wifi_tools*, found in the *lib/* folder, is compatible with ESP32 in Arduino IDE.

1. copy the wifi_tools library to your Arduino *libraries/* folder
2. copy the code from *src/main.cpp* into your sketch
3. update the WiFi credentials in your sketch

```
arduino/
│
├── libraries/
│ └── wifi_tools/ <-- copy the lib/wifi_tools folder and paste it here
│ ├── wifi_tools.cpp
│ └── wifi_tools.h
│
└── [your_sketch]/
└── [your_sketch].ino <-- put the contents from src/main.cpp here
```

## About
*OhioIoT is an IoT platform designed for small-scale IoT projects. For more, check out our webiste at [www.OhioIoT.com](https://www.ohioiot.com).*