ETHClass¶
詳細情報¶
メンバー¶
ETHClass()¶
ETHClass::ETHClass()
~ETHClass()¶
ETHClass::~ETHClass()
begin()¶
bool ETHClass::begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE)
引数
- uint8_t
phy_addr
- int
power
- int
mdc
- int
mdio
- eth_phy_type_t
type
- eth_clock_mode_t
clk_mode
戻り値
bool
config()¶
bool ETHClass::config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1=(uint32_t) 0x00000000, IPAddress dns2=(uint32_t) 0x00000000)
引数
- IPAddress
local_ip
- IPAddress
gateway
- IPAddress
subnet
- IPAddress
dns1
- IPAddress
dns2
戻り値
bool
getHostname()¶
const char * ETHClass::getHostname()
戻り値
constchar *
setHostname()¶
bool ETHClass::setHostname(const char *hostname)
引数
- constchar *
hostname
戻り値
bool
fullDuplex()¶
bool ETHClass::fullDuplex()
戻り値
bool
linkUp()¶
bool ETHClass::linkUp()
戻り値
bool
linkSpeed()¶
uint8_t ETHClass::linkSpeed()
戻り値
uint8_t
enableIpV6()¶
bool ETHClass::enableIpV6()
戻り値
bool
localIPv6()¶
IPv6Address ETHClass::localIPv6()
戻り値
IPv6Address
localIP()¶
IPAddress ETHClass::localIP()
戻り値
IPAddress
subnetMask()¶
IPAddress ETHClass::subnetMask()
戻り値
IPAddress
gatewayIP()¶
IPAddress ETHClass::gatewayIP()
戻り値
IPAddress
dnsIP()¶
IPAddress ETHClass::dnsIP(uint8_t dns_no=0)
引数
- uint8_t
dns_no
戻り値
IPAddress
broadcastIP()¶
IPAddress ETHClass::broadcastIP()
戻り値
IPAddress
networkID()¶
IPAddress ETHClass::networkID()
戻り値
IPAddress
subnetCIDR()¶
uint8_t ETHClass::subnetCIDR()
戻り値
uint8_t
macAddress()¶
uint8_t* ETHClass::macAddress(uint8_t *mac)
引数
- uint8_t*
mac
戻り値
uint8_t*
macAddress()¶
String ETHClass::macAddress()
戻り値
String