Skip to content

AsyncUDPPacket

詳細情報

メンバー

AsyncUDPPacket()

AsyncUDPPacket::AsyncUDPPacket(AsyncUDP *udp, pbuf *pb, const ip_addr_t *addr, uint16_t port, struct netif *netif)

引数

  • AsyncUDP* udp
  • pbuf* pb
  • const* addr
  • uint16_t port
  • netifstruct * netif

~AsyncUDPPacket()

AsyncUDPPacket::~AsyncUDPPacket()

data()

uint8_t * AsyncUDPPacket::data()

戻り値

uint8_t*

length()

size_t AsyncUDPPacket::length()

戻り値

size_t

isBroadcast()

bool AsyncUDPPacket::isBroadcast()

戻り値

bool

isMulticast()

bool AsyncUDPPacket::isMulticast()

戻り値

bool

isIPv6()

bool AsyncUDPPacket::isIPv6()

戻り値

bool

interface()

tcpip_adapter_if_t AsyncUDPPacket::interface()

戻り値

tcpip_adapter_if_t

localIP()

IPAddress AsyncUDPPacket::localIP()

戻り値

IPAddress

localIPv6()

IPv6Address AsyncUDPPacket::localIPv6()

戻り値

IPv6Address

localPort()

uint16_t AsyncUDPPacket::localPort()

戻り値

uint16_t

remoteIP()

IPAddress AsyncUDPPacket::remoteIP()

戻り値

IPAddress

remoteIPv6()

IPv6Address AsyncUDPPacket::remoteIPv6()

戻り値

IPv6Address

remotePort()

uint16_t AsyncUDPPacket::remotePort()

戻り値

uint16_t

remoteMac()

void AsyncUDPPacket::remoteMac(uint8_t *mac)

引数

  • uint8_t* mac

send()

size_t AsyncUDPPacket::send(AsyncUDPMessage &message)

引数

  • AsyncUDPMessage& message

戻り値

size_t

available()

int AsyncUDPPacket::available()

戻り値

int

read()

size_t AsyncUDPPacket::read(uint8_t *data, size_t len)

引数

  • uint8_t* data
  • size_t len

戻り値

size_t

read()

int AsyncUDPPacket::read()

戻り値

int

peek()

int AsyncUDPPacket::peek()

戻り値

int

flush()

void AsyncUDPPacket::flush()

write()

size_t AsyncUDPPacket::write(const uint8_t *data, size_t len)

引数

  • const* data
  • size_t len

戻り値

size_t

write()

size_t AsyncUDPPacket::write(uint8_t data)

引数

  • uint8_t data

戻り値

size_t