Provides a class for managing a WiFi connection and HTTP server for remote firmware updates and configuration management.
More...
#include <WebManagement.h>
|
| WebManagement (String configFile) |
|
void | begin (const char *ssid, const char *password, const char *hostname) |
| Initializes the WiFi connection, mDNS, OTA, and HTTP server.
|
|
void | handle () |
| Handles incoming HTTP requests and OTA updates.
|
|
Provides a class for managing a WiFi connection and HTTP server for remote firmware updates and configuration management.
◆ WebManagement()
WebManagement::WebManagement |
( |
String |
configFile | ) |
|
|
inline |
◆ begin()
void WebManagement::begin |
( |
const char * |
ssid, |
|
|
const char * |
password, |
|
|
const char * |
hostname |
|
) |
| |
Initializes the WiFi connection, mDNS, OTA, and HTTP server.
- Parameters
-
ssid | The SSID of the WiFi network to connect to. |
password | The password of the WiFi network to connect to. |
hostname | The hostname to use for the device. |
◆ handle()
void WebManagement::handle |
( |
| ) |
|
Handles incoming HTTP requests and OTA updates.
The documentation for this class was generated from the following files: