DynaConfig
DynaConfig is an Arduino library for managing WiFi configuration on ESP32 devices using a captive portal.
Loading...
Searching...
No Matches
Classes
dynaconfig.h File Reference

Provides the DynaConfig class for managing WiFi configuration via a captive portal. More...

#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <DNSServer.h>
#include <Preferences.h>
#include <WiFi.h>
Include dependency graph for dynaconfig.h:

Go to the source code of this file.

Classes

class  DynaConfig
 Manages dynamic WiFi configuration through a captive portal. More...
 

Detailed Description

Provides the DynaConfig class for managing WiFi configuration via a captive portal.

Author
Nathanne Isip

This file contains the declaration of the DynaConfig class, which facilitates dynamic WiFi configuration on ESP32 devices using a captive portal. It includes methods for checking WiFi credentials, starting the captive portal, handling HTTP requests, and managing stored credentials.

The captive portal allows users to configure WiFi credentials through a web interface. If credentials are already stored, the device attempts to connect to the specified WiFi network. If no credentials are found, the device starts an access point and serves a configuration page to the user.