|
JBWOPR
|
Functions | |
| void | JBWoprMqttDevice::_setupWiFiManager () override |
| Setup WiFiManager. | |
| void | JBWoprMqttDevice::_saveParamsCallback () override |
| Set WiFiManager parameter callback. | |
| bool | JBWoprWiFiDevice::startWiFi () |
| Start WiFi. | |
| void | JBWoprWiFiDevice::webPortalStart () |
| Start web portal. | |
| void | JBWoprWiFiDevice::webPortalStop () |
| Stop web portal. | |
| std::string | JBWoprWiFiDevice::_getDeviceName () |
| Get device name. | |
| std::string | JBWoprWiFiDevice::_getInitialDeviceName () |
| Get initial device name. | |
| virtual WiFiManager * | JBWoprWiFiDevice::_getWiFiManager () |
| Get WiFi manager. | |
| virtual void | JBWoprWiFiDevice::_setupWiFiManager () |
| Setup WiFiManager. | |
| virtual void | JBWoprWiFiDevice::_saveParamsCallback () |
| Save parameters callback. | |
| void | JBWoprWiFiDevice::_apCallback (WiFiManager *wifiManager) |
| AP callback. | |
| void | JBWoprWiFiDevice::_webServerCallback () |
| Web server callback. | |
|
protected |
AP callback.
Called by WiFiManager if it starts up as an access point.
| wifiManager | WiFi manager |
|
protected |
Get device name.
|
protected |
Get initial device name.
|
protectedvirtual |
Get WiFi manager.
|
overrideprotectedvirtual |
Set WiFiManager parameter callback.
This method will set the WiFiManager parameter callback. This will be called when the user clicks Save in the configuration portal.
Reimplemented from JBWoprWiFiDevice.
|
protectedvirtual |
Save parameters callback.
Calleb by WiFiManager when Save button is pressed.
Reimplemented in JBWoprHADevice, and JBWoprMqttDevice.
|
overrideprotectedvirtual |
|
protectedvirtual |
Setup WiFiManager.
Reimplemented in JBWoprHADevice, and JBWoprMqttDevice.
|
protected |
Web server callback.
Called by WiFiManager when it starts up as a web server.
| bool JBWoprWiFiDevice::startWiFi | ( | ) |
Start WiFi.
This method will try to start WiFi with any saved credentials.
If not successful it will use WiFiManager to start an access point and offer a web portal for configuration.
If successful, it will optionally start a web configuration portal.
| void JBWoprWiFiDevice::webPortalStart | ( | ) |
Start web portal.
This method will start a web portal for configuration. This will be done automatically if the configured.
| void JBWoprWiFiDevice::webPortalStop | ( | ) |
Stop web portal.
This method will stop the web portal.