xod-dev/esp8266-mcu@0.37.3

License: AGPL-3.0

Support for ESP8266-based MCUs.
NodeDescription
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-dweetNo description
example-get-external-ipNo 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
To use the nodes in your project you should have the xod-dev/esp8266-mcu library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.