ESP8266
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
EthernetClass Class Reference

Public Member Functions

int begin (uint8_t *mac_address)
 
void begin (uint8_t *mac_address, IPAddress local_ip)
 
void begin (uint8_t *mac_address, IPAddress local_ip, IPAddress dns_server)
 
void begin (uint8_t *mac_address, IPAddress local_ip, IPAddress dns_server, IPAddress gateway)
 
void begin (uint8_t *mac_address, IPAddress local_ip, IPAddress dns_server, IPAddress gateway, IPAddress subnet)
 
int maintain ()
 
IPAddress localIP ()
 
IPAddress subnetMask ()
 
IPAddress gatewayIP ()
 
IPAddress dnsServerIP ()
 

Static Public Attributes

static uint8_t _state [4]
 
static uint16_t _server_port [4]
 

Private Attributes

IPAddress _dnsServerAddress
 
DhcpClass_dhcp
 

Member Function Documentation

int EthernetClass::begin ( uint8_t *  mac_address)
void EthernetClass::begin ( uint8_t *  mac_address,
IPAddress  local_ip 
)
void EthernetClass::begin ( uint8_t *  mac_address,
IPAddress  local_ip,
IPAddress  dns_server 
)
void EthernetClass::begin ( uint8_t *  mac_address,
IPAddress  local_ip,
IPAddress  dns_server,
IPAddress  gateway 
)
void EthernetClass::begin ( uint8_t *  mac_address,
IPAddress  local_ip,
IPAddress  dns_server,
IPAddress  gateway,
IPAddress  subnet 
)
IPAddress EthernetClass::dnsServerIP ( )
IPAddress EthernetClass::gatewayIP ( )
IPAddress EthernetClass::localIP ( )
int EthernetClass::maintain ( )
IPAddress EthernetClass::subnetMask ( )

Member Data Documentation

DhcpClass* EthernetClass::_dhcp
private
IPAddress EthernetClass::_dnsServerAddress
private
uint16_t EthernetClass::_server_port
static
Initial value:
= {
0, 0, 0, 0 }
uint8_t EthernetClass::_state
static
Initial value:
= {
0, 0, 0, 0 }