Class implementing the configuration of the WiFi.
More...
#include <WifiConfigurationServer.h>
|
void | loop () |
| Forward of the Arduino loop function. More...
|
|
|
DNSServer | dnsServer |
| Instance of the DNS server in access point mode. More...
|
|
LiquidCrystal_PCF8574 & | display |
| Reference to the display. More...
|
|
std::mutex | mtx |
| mutex for the protection of the data More...
|
|
std::list< String > | ssids |
| List with all found ssids. More...
|
|
IPAddress | IP |
| IP address in Access Point mode. More...
|
|
IPAddress | netMsk |
| Network mask in Access Point mode. More...
|
|
Class implementing the configuration of the WiFi.
◆ WifiConfigurationServer()
configuration::WifiConfigurationServer::WifiConfigurationServer |
( |
LiquidCrystal_PCF8574 & |
display | ) |
|
|
inlineprivate |
Construct a new Configuration Server object.
- Parameters
-
display | Reference to the LCD to display some status information |
◆ begin()
static void configuration::WifiConfigurationServer::begin |
( |
LiquidCrystal_PCF8574 & |
display | ) |
|
|
inlinestatic |
◆ configureWebserver()
void configuration::WifiConfigurationServer::configureWebserver |
( |
| ) |
|
|
inlineprotected |
adds the handlers for the different webpages
◆ createAp()
void configuration::WifiConfigurationServer::createAp |
( |
| ) |
|
|
inlineprotected |
Create and configures the WiFi in AP mode.
◆ getInstance()
Function providing the instance for the singleton.
◆ getSingletonPointer()
Get the Singleton object.
◆ initialLcdMessage()
void configuration::WifiConfigurationServer::initialLcdMessage |
( |
| ) |
|
|
inlineprotected |
shows the ssid of the AP and the address to which the user should connect
◆ loop()
void configuration::WifiConfigurationServer::loop |
( |
| ) |
|
|
inline |
Forward of the Arduino loop function.
◆ scanWiFi()
void configuration::WifiConfigurationServer::scanWiFi |
( |
| ) |
|
|
inlineprotected |
scans the visible wifis and saves them into ssids. Should be continuously called during loop.
◆ display
LiquidCrystal_PCF8574& configuration::WifiConfigurationServer::display |
|
protected |
Reference to the display.
◆ dnsServer
DNSServer configuration::WifiConfigurationServer::dnsServer |
|
protected |
Instance of the DNS server in access point mode.
◆ IP
IPAddress configuration::WifiConfigurationServer::IP |
|
protected |
IP address in Access Point mode.
◆ mtx
std::mutex configuration::WifiConfigurationServer::mtx |
|
protected |
mutex for the protection of the data
◆ netMsk
IPAddress configuration::WifiConfigurationServer::netMsk |
|
protected |
Network mask in Access Point mode.
◆ ssids
std::list<String> configuration::WifiConfigurationServer::ssids |
|
protected |
List with all found ssids.
The documentation for this class was generated from the following file: