License: AGPL-3.0
Node | Description |
---|---|
close | Closes an open TCP connection |
connect | Establish an internet connection by automatically getting all required configuration info from a DHCP server
Possible errors:
— Connection failed |
connect-manual | Establish an internet connection configured manually |
ethernet-shield | Initialise w5500-based ethernet shield and establish internet connection
Possible errors:
— Connection failed
— Invalid port |
example-get-data-from-dweet | No description |
example-get-your-ip | No description |
has-available-byte | Checks if there is any incoming data to be read with `read-byte` |
http-request(w5500-inet) | Performs an HTTP request and returns the response as a stream of characters
Possible errors:
— Can't open TCP connection
— Can't send the data to the socket |
is-open | Checks if a TCP connection is open |
lan-ip | Gets a local IP address |
read-byte | Read a single byte of the response from an opened connection
Possible errors:
— Can't receive the data from the socket |
receive | Read a response from an opened connection as a stream of bytes until it closes |
open-tcp | Open a TCP connection to the specified server
Possible errors:
— Can't open TCP connection |
send | Send a message through an opened TCP connection
Possible errors:
— Can't send the data to the socket |
w5500-device | Represents a W5500-based ethernet device
Possible errors:
— Invalid port |