License: AGPL-3.0
Node | Description |
---|---|
close | Closes an open TCP connection |
connect | Establish an internet connection via Wi-Fi using ESP8266.
Possible errors:
— Connection failed
— Can't get local IP address |
esp8266 | Initialize ESP8266 and configure it to communicate at a specific baud rate
Possible errors:
— No bytes written. Probably due to buffer overflow
— Hardware responded with an error |
example-get-ips | No description |
http-request(esp8266-inet) | Performs an HTTP request and returns the response as a stream of characters
Possible errors:
— Can't open TCP connection
— Can't send data to the socket |
kick | Checks that ESP8266 initialized and answers for AT commands |
lan-ip | Gets a local IP address |
open-tcp | Open a TCP connection to the specified server.
Possible errors:
— Can't open TCP connection |
is-open | Checks if a TCP connection is open |
receive | Read a response from an opened connection as a stream of bytes until it closes
Possible errors:
— Can't receive a data from the socket
— No available bytes to read |
send | Sends a message through an opened TCP/UDP connection
Possible errors:
— Can't send data to the socket |
set-station-mode | Set ESP8266 in the station mode
Possible errors:
— Hardware responded with an error |