Communication
STDIN, STDOUT
This setting determines which input channels the command interpreter can accept instructions from, and which channels it can send the output of the received command to.
HTML
Sends a command from HTML code to the module, displays the response.
LED State: ^STDOUT^
The form name parameter specifies the page displayed after executing the command, and the value is the command.
The command output will be visible in place of ^STDOUT^. This only works if the <!--HTML--> line is present at the beginning of the page.
LED State: ^LED(TOGGLE)@^
The command between the ^^ will be executed when the page is opened, and the command output will be visible in its place.
WS
WebSocket
WebSocket is an internet technology that enables the establishment of two-way, duplex communication channels.
The main motivation for its development was to allow JavaScript running in a web browser to communicate bi-directionally with a server.
It does not require its own port, it uses the HTTP port. Data sent over WebSocket by EspOS is received by all connected clients.
Connection can be easily established using the tools.js startWS() function. A maximum of 4 WebSockets can be open simultaneously!!!
USB
This is actually the TXD, RXD pins of the esp8266 chip. The WeMos module connects to the computer via a USB SERIAL converter, hence the name of this channel.
UDP
Communicates over the WiFi network using the UDP protocol.
TCP
TCP client
Communicates with a server over the WiFi network using the TCP protocol.
TCPS
TCP server
A remote client can connect to the module using the TCP protocol.
SER
Serial port.
TXD, RXD pins can be set in the Peripherals menu.
NOW
ESP-NOW protocol
ESP-NOW is a protocol developed by Espressif that allows multiple devices to communicate with each other without using Wi-Fi.
The protocol is similar to low-power 2.4 GHz wireless connections commonly used in wireless keyboards.
Devices recognize each other based on STA MAC Address. You can add the MAC addresses with which you want to communicate using the NOW command here.
Communicating modules must use the same WiFi channel! The channel can be set in AP mode. If a module is also connected to a router,
it is advisable to manually set a channel in the router's WiFi settings that matches the channel set on the other modules operating in AP mode.
Messages can be received without restrictions, but transmitting in Client mode will disconnect the WebSocket connection! Bridge mode uses the NOW[0] device.
E-mail
Using the parameters set here, the module can send E-mail messages.