#include <wifi/WifiAccess.h>
◆ WifiAccess() [1/2]
| WifiAccess::WifiAccess |
( |
uint32_t |
interval = 30000 | ) |
|
|
inline |
Constructor.
- Parameters
-
| interval | the number of milliseconds before attempting to reconnect |
◆ WifiAccess() [2/2]
| WifiAccess::WifiAccess |
( |
const String & |
wifiAP, |
|
|
const String & |
wifiPassword, |
|
|
bool |
accessPoint = true, |
|
|
bool |
enabled = true, |
|
|
uint32_t |
interval = 30000 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| interval | the number of milliseconds before attempting to reconnect |
◆ addNotify()
◆ animate()
| virtual void WifiAccess::animate |
( |
| ) |
|
|
inlinevirtual |
Subclasses must implement this function to run through a single frame of animation/activity.
Subclasses should not call delay() or otherwise block.
Implements AnimatedEvent.
◆ enabled()
| bool WifiAccess::enabled |
( |
| ) |
|
|
inline |
◆ getIPAddress()
| IPAddress WifiAccess::getIPAddress |
( |
| ) |
|
|
inline |
◆ getMacAddress()
| String WifiAccess::getMacAddress |
( |
| ) |
|
|
inline |
◆ getWifiAP()
| String WifiAccess::getWifiAP |
( |
| ) |
|
|
inline |
◆ getWifiPassword()
| String WifiAccess::getWifiPassword |
( |
| ) |
|
|
inline |
◆ isConnected()
| bool WifiAccess::isConnected |
( |
| ) |
|
|
inline |
◆ isSoftAP()
| bool WifiAccess::isSoftAP |
( |
| ) |
|
|
inline |
◆ notifyConnected()
| void WifiAccess::notifyConnected |
( |
| ) |
|
|
inlineprotected |
◆ notifyDisconnected()
| void WifiAccess::notifyDisconnected |
( |
| ) |
|
|
inlineprotected |
◆ notifyWifiConnected()
| void WifiAccess::notifyWifiConnected |
( |
void(*)(WifiAccess &wifi) |
notify | ) |
|
|
inline |
◆ notifyWifiDisconnected()
| void WifiAccess::notifyWifiDisconnected |
( |
void(*)(WifiAccess &wifi) |
notify | ) |
|
|
inline |
◆ setEnabled()
| void WifiAccess::setEnabled |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ setNetworkCredentials()
| void WifiAccess::setNetworkCredentials |
( |
const String & |
wifiAP, |
|
|
const String & |
wifiPassword, |
|
|
bool |
accessPoint, |
|
|
bool |
enabled |
|
) |
| |
|
inline |
◆ setReconnect()
| void WifiAccess::setReconnect |
( |
bool |
reconnect | ) |
|
|
inline |
◆ fNotifyConnectedCallback
| void(* WifiAccess::fNotifyConnectedCallback) (WifiAccess &wifi) = nullptr |
|
protected |
◆ fNotifyDisconnectedCallback
| void(* WifiAccess::fNotifyDisconnectedCallback) (WifiAccess &wifi) = nullptr |
|
protected |
◆ fWifiActive
| bool WifiAccess::fWifiActive = false |
|
protected |
◆ fWifiAP
| String WifiAccess::fWifiAP |
|
protected |
◆ fWifiAttemptReconnect
| bool WifiAccess::fWifiAttemptReconnect = true |
|
protected |
◆ fWifiEnabled
| bool WifiAccess::fWifiEnabled = true |
|
protected |
◆ fWifiInterval
| uint32_t WifiAccess::fWifiInterval |
|
protected |
◆ fWifiNotify
| std::vector<Notify*> WifiAccess::fWifiNotify |
|
protected |
◆ fWifiPassword
| String WifiAccess::fWifiPassword |
|
protected |
◆ fWifiPrevMillis
| uint32_t WifiAccess::fWifiPrevMillis = 0 |
|
protected |
◆ fWifiSoftAP
| bool WifiAccess::fWifiSoftAP |
|
protected |
◆ fWifiStarted
| bool WifiAccess::fWifiStarted = false |
|
protected |
◆ fWifiWasConnected
| bool WifiAccess::fWifiWasConnected = false |
|
protected |
The documentation for this class was generated from the following file: