36#error "LTEUDP library is NOT supported by SubCore."
72 size_t write(uint8_t val);
73 size_t write(
const uint8_t *buffer,
size_t size);
76 int read(
char* buffer,
size_t size);
210 size_t write(
const uint8_t *buffer,
size_t size);
267 int read(
unsigned char* buffer,
size_t len);
285 int read(
char* buffer,
size_t len);
354 uint16_t _remotePort;
[en] UDP packet memory management class. This is internal use class. [ja] UDPパケットメモリ管理用クラス。内部利用Clas...
Definition: LTEUDP.h:66
[en] This class can send and receive UDP packets to a specific Internet IP address and port....
Definition: LTEUDP.h:93
void stop()
Finish with the UDP socket.
int beginPacket(IPAddress ip, uint16_t port)
Start building up a packet to send to the remote host specific in ip and port.
int endPacket()
Finish off this packet and send it.
LTEUDP()
Construct LTEUDP instance.
int beginPacket(const char *host, uint16_t port)
Start building up a packet to send to the remote host specific in host and port.
int read(unsigned char *buffer, size_t len)
Read up to len bytes from the current packet and place them into buffer.
void flush()
Discards any bytes that have been written to the packet.
size_t write(uint8_t val)
Write a single byte into the packet.
uint16_t remotePort()
Return the port of the host who sent the current incoming packet.
int available()
Returns number of bytes remaining in the current packet.
size_t write(const uint8_t *buffer, size_t size)
Write series of bytes from buffer into the packet.
int peek()
Return the next byte from the current packet without removing it.
~LTEUDP()
Destruct LTEUDP instance.
int parsePacket()
Start processing the next available incoming packet.
IPAddress remoteIP()
Return the IP address of the host who sent the current incoming packet.
int read()
Read a single byte from the current packet.
int setTimeout(uint32_t milliseconds)
Set the timeout when send or receive.
uint8_t begin(uint16_t port)
Initialize, start listening on specified port.
int read(char *buffer, size_t len)
Read up to len characters from the current packet and place them into buffer.