ESP-LiveControl
1.99.1
HTTP server, AJAX API backend and Vue.js web application implementing self-contained, zero-install WiFi remote control of hardware modules attached to the Espressif ESP32 SoC
|
Reconnect to or set up a WiFi network connection. More...
#include <wifi_configurator.hpp>
Public Member Functions | |
WiFiConfigurator (AppState &state, AsyncWebServer *http_backend, DNSServer *dns_server) | |
void | begin () |
Reconnect to or set up a WiFi network connection. More... | |
void | print_ap_info () |
void | print_station_info () |
Reconnect to or set up a WiFi network connection.
This is different from other WiFi manager implementations in that we support configuring either a permanent access-point or station mode.
Configuration is done using a HTTP POST API receiving JSON configuration data under the endpoint configured in struct NetworkConfig (app_config.hpp).
Configuration is submitted in plain text and security is link-level only!
The configuration is stored using the ESP32 NVS subsystem.
There is NO flash memory encryption - please do not re-use the password for any sensitive purpose..
void WiFiConfigurator::begin | ( | ) |
Reconnect to or set up a WiFi network connection.
This function call blocks or reboots the system until a connection is established or the maximum number of reboots is reached.