|
| ESPWifi (const char *wifiSsid=nullptr, const char *wifiPassword=nullptr, unsigned char *ip=nullptr) |
|
bool | isReady () override |
|
void | setup () override |
|
void | disable () override |
|
void | enableSSL (bool value) |
|
void | fillStateData (TDSC_ChannelState *channelState) override |
|
bool | getMacAddr (uint8_t *out) override |
|
void | uninit () override |
|
| Wifi (const char *wifiSsid=nullptr, const char *wifiPassword=nullptr, unsigned char *ip=nullptr) |
|
void | setSsid (const char *wifiSsid) override |
|
void | setPassword (const char *wifiPassword) override |
|
bool | isWifiConfigRequired () override |
|
const char * | getIntfName () const override |
|
void | onLoadConfig () override |
|
| Network (uint8_t ip[4]) |
|
virtual void | setConfigMode () |
|
virtual void | setNormalMode () |
|
virtual void | setHostname (const char *, int macSize) |
|
void | generateHostname (const char *prefix, int macSize, char *output) |
|
virtual bool | isIpSetupTimeout () |
|
virtual uint32_t | getIP () |
|
virtual Supla::Client * | createClient () |
|
virtual bool | iterate () |
|
void | clearTimeCounters () |
|
void | setSuplaDeviceClass (SuplaDeviceClass *) |
|
void | setSetupNeeded () |
|
bool | popSetupNeeded () |
|
enum IntfType | getIntfType () const |
|
bool | isIntfDisabledInConfig () const |
|
|
static void | printConnectionDetails () |
|
static Network * | Instance () |
|
static Network * | FirstInstance () |
|
static Network * | NextInstance (Network *instance) |
|
static Network * | GetInstanceByIP (uint32_t ip) |
|
static int | GetNetIntfCount () |
|
static void | DisconnectProtocols () |
|
static void | Setup () |
|
static void | Disable () |
|
static void | Uninit () |
|
static bool | IsReady () |
|
static bool | Iterate () |
|
static void | SetConfigMode () |
|
static void | SetNormalMode () |
|
static void | SetSetupNeeded () |
|
static bool | PopSetupNeeded () |
|
static bool | GetMainMacAddr (uint8_t *) |
|
static void | SetHostname (const char *prefix, int macSize) |
|
static bool | IsIpSetupTimeout () |
|
static void | LoadConfig () |
|
static void | printData (const char *prefix, const void *buf, const int count) |
|
static void | setSSLEnabled (bool enabled) |
|
|
bool | wifiConfigured = false |
|
char | ssid [MAX_SSID_SIZE] = {} |
|
char | password [MAX_WIFI_PASSWORD_SIZE] = {} |
|
Network * | nextNetIntf = nullptr |
|
SuplaDeviceClass * | sdc = nullptr |
|
const char * | rootCACert = nullptr |
|
unsigned int | rootCACertSize = 0 |
|
unsigned char | localIp [4] |
|
char | hostname [32] = {} |
|
enum IntfType | intfType = IntfType::Unknown |
|
bool | setupNeeded = false |
|
bool | useLocalIp = false |
|
bool | intfDisabledInConfig = false |
|
|
enum class | IntfType { Unknown = 0
, Ethernet = 1
, WiFi = 2
} |
|
static Network * | netIntf = nullptr |
|
static Network * | firstNetIntf = nullptr |
|
static enum DeviceMode | mode = DEVICE_MODE_NORMAL |
|
◆ disable()
void Supla::ESPWifi::disable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ fillStateData()
◆ getMacAddr()
bool Supla::ESPWifi::getMacAddr |
( |
uint8_t * | out | ) |
|
|
inlineoverridevirtual |
◆ isReady()
bool Supla::ESPWifi::isReady |
( |
| ) |
|
|
inlineoverridevirtual |
◆ setup()
void Supla::ESPWifi::setup |
( |
| ) |
|
|
inlineoverridevirtual |
◆ uninit()
void Supla::ESPWifi::uninit |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: