|
| ESPETHSPI (eth_phy_type_t type, int32_t phy_addr, int cs, int irq, int rst, spi_host_device_t spi_host, int sck=-1, int miso=-1, int mosi=-1) |
|
void | setup () override |
|
void | disable () override |
|
bool | getMacAddr (uint8_t *mac) override |
|
void | setHostname (const char *prefix, int macSize) override |
|
const char * | getIntfName () const override |
|
uint32_t | getIP () override |
|
bool | isReady () override |
|
void | fillStateData (TDSC_ChannelState *channelState) override |
|
void | setIpReady (bool ready) |
|
void | setIpv4Addr (uint32_t ip) |
|
| Network (uint8_t ip[4]) |
|
virtual void | onLoadConfig () |
|
virtual void | uninit () |
|
virtual void | setConfigMode () |
|
virtual void | setNormalMode () |
|
void | generateHostname (const char *prefix, int macSize, char *output) |
|
virtual bool | isIpSetupTimeout () |
|
virtual Supla::Client * | createClient () |
|
virtual bool | iterate () |
|
virtual bool | isWifiConfigRequired () |
|
virtual void | setSsid (const char *wifiSsid) |
|
virtual void | setPassword (const char *wifiPassword) |
|
void | clearTimeCounters () |
|
void | setSuplaDeviceClass (SuplaDeviceClass *) |
|
void | setSetupNeeded () |
|
bool | popSetupNeeded () |
|
enum IntfType | getIntfType () const |
|
bool | isIntfDisabledInConfig () const |
|
|
static void | networkEventHandler (arduino_event_id_t event) |
|
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) |
|
|
eth_phy_type_t | ethspi_type |
|
int32_t | ethspi_phy_addr |
|
int | cs_pin |
|
int | irq_pin |
|
int | rst_pin |
|
spi_host_device_t | ethspi_spi_host |
|
int | sck_pin |
|
int | miso_pin |
|
int | mosi_pin |
|
bool | allowDisable = false |
|
int | macSizeForHostname = 0 |
|
bool | initDone = false |
|
bool | isIpReady = false |
|
uint32_t | ipv4 = 0 |
|
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::ESPETHSPI::disable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getMacAddr()
bool Supla::ESPETHSPI::getMacAddr |
( |
uint8_t * | mac | ) |
|
|
inlineoverridevirtual |
◆ setHostname()
void Supla::ESPETHSPI::setHostname |
( |
const char * | prefix, |
|
|
int | macSize ) |
|
inlineoverridevirtual |
◆ setup()
void Supla::ESPETHSPI::setup |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: