Skip to content

EthernetClass

詳細情報

メンバー

begin()

int EthernetClass::begin(uint8_t *mac, unsigned long timeout=60000, unsigned long responseTimeout=4000)

引数

  • uint8_t * mac
  • unsigned long timeout
  • unsigned long responseTimeout

戻り値

int

maintain()

int EthernetClass::maintain()

戻り値

int

linkStatus()

EthernetLinkStatus EthernetClass::linkStatus()

戻り値

EthernetLinkStatus

hardwareStatus()

EthernetHardwareStatus EthernetClass::hardwareStatus()

戻り値

EthernetHardwareStatus

begin()

void EthernetClass::begin(uint8_t *mac, IPAddress ip)

引数

  • uint8_t * mac
  • IPAddress ip

begin()

void EthernetClass::begin(uint8_t *mac, IPAddress ip, IPAddress dns)

引数

  • uint8_t * mac
  • IPAddress ip
  • IPAddress dns

begin()

void EthernetClass::begin(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway)

引数

  • uint8_t * mac
  • IPAddress ip
  • IPAddress dns
  • IPAddress gateway

begin()

void EthernetClass::begin(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet)

引数

  • uint8_t * mac
  • IPAddress ip
  • IPAddress dns
  • IPAddress gateway
  • IPAddress subnet

init()

void EthernetClass::init(uint8_t sspin=10)

引数

  • uint8_t sspin

MACAddress()

void EthernetClass::MACAddress(uint8_t *mac_address)

引数

  • uint8_t * mac_address

localIP()

IPAddress EthernetClass::localIP()

戻り値

IPAddress

subnetMask()

IPAddress EthernetClass::subnetMask()

戻り値

IPAddress

gatewayIP()

IPAddress EthernetClass::gatewayIP()

戻り値

IPAddress

dnsServerIP()

static IPAddress EthernetClass::dnsServerIP()

戻り値

IPAddress

setMACAddress()

void EthernetClass::setMACAddress(const uint8_t *mac_address)

引数

  • constuint8_t * mac_address

setLocalIP()

void EthernetClass::setLocalIP(const IPAddress local_ip)

引数

  • const local_ip

setSubnetMask()

void EthernetClass::setSubnetMask(const IPAddress subnet)

引数

  • const subnet

setGatewayIP()

void EthernetClass::setGatewayIP(const IPAddress gateway)

引数

  • const gateway

setDnsServerIP()

void EthernetClass::setDnsServerIP(const IPAddress dns_server)

引数

  • const dns_server

setRetransmissionTimeout()

void EthernetClass::setRetransmissionTimeout(uint16_t milliseconds)

引数

  • uint16_t milliseconds

setRetransmissionCount()

void EthernetClass::setRetransmissionCount(uint8_t num)

引数

  • uint8_t num