xod-dev/esp8266@0.37.3

License: AGPL-3.0

Support for ESP8266 as a slave module
NodeDescription
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-ipsNo 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
To use the nodes in your project you should have the xod-dev/esp8266 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.