36#error "LTEClient library is NOT supported by SubCore."
145 size_t write(
const uint8_t *buf,
size_t size);
189 int read(uint8_t *buf,
size_t size);
[en] Create a client that can connect to a specific Internet IP address and port. [ja] 特定のインターネットIP...
Definition: LTEClient.h:66
int available()
Returns the number of bytes available for reading.
int peek()
Returns the next byte received from the server without removing it from the buffer.
~LTEClient()
Destruct LTEClient instance.
LTEClient()
Construct LTEClient instance.
int connect(const char *host, uint16_t port)
Connects to a specified host name and port.
uint8_t connected()
Whether or not the client is connected.
int setTimeout(uint32_t milliseconds)
Set the timeout when the client send or receive.
size_t write(const uint8_t *buf, size_t size)
Send series of bytes data to the server the client is connected to.
int connect(IPAddress ip, uint16_t port)
Connects to a specified IP address and port.
void stop()
Disconnect from the server.
int read(uint8_t *buf, size_t size)
Read series of bytes received from the server the client is connected to.
void flush()
Discards any bytes that have been written to the client.
int read()
Read the next byte received from the server the client is connected to.
size_t write(uint8_t val)
Send one byte data to the server the client is connected to.