-
Notifications
You must be signed in to change notification settings - Fork 1
WiFi module
doomke edited this page Aug 24, 2023
·
5 revisions
The WiFi module handles the connection of the ESP32 to the WiFi network, making sure a connection is established and trying to recover if no connection can be established.
| setting | type | default | range | description |
|---|---|---|---|---|
| ssid | String | "ssid" | – | SSID of the network the device will try to connect to |
| password | String | "password" | – | password to connect to the network |
| enterprise | boolean | false | – | set to true if the network is an enterprise level WiFi, making additional options available |
| username | String | "user" | – | username used for the login of the network[1] |
| anonymous | String | "anonymous" | – | anonymous identity used within the network[1] |
-
↑only available if
enterpriseis true
This module is passive and does not accept commands, only reacts to internal events.
This module does not provide status information.
-
wifi disconnected– occurs when the WiFi is disconnected from the network -
wifi connected– occurs when the connection to a network has been established