License: AGPL-3.0
Node | Description |
---|---|
close | Closes an open TCP connection |
esp8266-mcu-device | Represents an ESP8266-based MCU |
connect | Connect to a WiFi network with a given SSID and password
Possible errors:
— Connection failed |
http-request(esp8266-mcu-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
|
example-get-data-from-dweet | No description |
example-get-external-ip | No description |
lan-ip | Gets a local IP address |
is-connected | Checks if the device is connected to a WiFi network |
is-open | Checks if a TCP connection is open |
read-byte | Read a single byte of the response from an opened connection |
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 |
receive | Read a response from an opened connection as a stream of bytes until it closes |