Skip to content

BridgeUDP

詳細情報

メンバー

BridgeUDP()

BridgeUDP::BridgeUDP(BridgeClass &_b=Bridge)

引数

  • BridgeClass& _b

begin()

uint8_t BridgeUDP::begin(uint16_t)

引数

  • uint16_t ``

戻り値

uint8_t

stop()

void BridgeUDP::stop()

beginPacket()

int BridgeUDP::beginPacket(IPAddress ip, uint16_t port)

引数

  • IPAddress ip
  • uint16_t port

戻り値

int

beginPacket()

int BridgeUDP::beginPacket(const char *host, uint16_t port)

引数

  • constchar * host
  • uint16_t port

戻り値

int

beginBroadcastPacket()

int BridgeUDP::beginBroadcastPacket(uint16_t port)

引数

  • uint16_t port

戻り値

int

endPacket()

int BridgeUDP::endPacket()

戻り値

int

write()

virtual size_t BridgeUDP::write(uint8_t d)

引数

  • uint8_t d

戻り値

size_t

write()

size_t BridgeUDP::write(const uint8_t *buffer, size_t size)

引数

  • constuint8_t * buffer
  • size_t size

戻り値

size_t

parsePacket()

int BridgeUDP::parsePacket()

戻り値

int

available()

virtual int BridgeUDP::available()

戻り値

int

read()

int BridgeUDP::read()

戻り値

int

read()

int BridgeUDP::read(unsigned char *buffer, size_t len)

引数

  • unsigned char * buffer
  • size_t len

戻り値

int

read()

virtual int BridgeUDP::read(char *buffer, size_t len)

引数

  • char * buffer
  • size_t len

戻り値

int

peek()

int BridgeUDP::peek()

戻り値

int

flush()

virtual void BridgeUDP::flush()

remoteIP()

IPAddress BridgeUDP::remoteIP()

戻り値

IPAddress

remotePort()

uint16_t BridgeUDP::remotePort()

戻り値

uint16_t

write()

virtual size_t Print::write(uint8_t)=0

戻り値

size_t

write()

size_t Print::write(const char *str)

戻り値

size_t

write()

size_t Print::write(const uint8_t *buffer, size_t size)

戻り値

size_t

write()

size_t Print::write(const char *buffer, size_t size)

戻り値

size_t