The DNS server is mainly used to convert the domain name into a network-recognizable IP address. DNS server address can be set, it can implement domain name
resolution when the local domain name server is not complete. Users can also set specific DNS server addresses as required, E810-DTU will submit a resolution request to
the configured DNS server when domain name resolution is required, more flexible and reliable.
In static IP mode, the default address of the DNS master server is 61.139.2.69, and the backup DNS server address is 192.168.4.1. In DHCP mode, the DNS server
address is automatically obtained. Domain name server address supported by the module can be set.
The Socket operating mode of E810-TTL-0 is divided into TCP Client, TCP Server, UDP Client, and UDP Server., it can be set with the host computer software, the
(1) In TCP Server mode, E810-DTU monitors the local port, receiving and establishing a connection for data communication when a connection request is sent. When
the E810-DTU serial port receives data, it will transmit data to all client devices which established a connection with the E810-DTU.
(2) It is usually used for communication with TCP clients in the LAN. Suitable for scenarios where there is no server in the LAN and there are many computers or
cellphones requesting data from the server. There is difference between connection and disconnection like TCP Client to ensure the reliable exchange of data.
(3) When the E810-DTU is a TCP Server, it can connect at most six clients, the local port number is a fixed value and cannot be set to 0
Figure 6 TCP Client
(1) TCP Client provides Client connectivity for TCP network services. Proactively initiates connection requests to the server and establishes connections for the
interaction of serial data and server data. According to the relevant TCP protocol, there is difference between connection and disconnection to ensure the reliable exchange of
data. It is normally used for data exchange between devices and servers and it is the most commonly used networking communication method.
(2) In TCP Client mode, when the E810-DTU attempts to connect to the server and the local port is 0, it initiates a connection with a random port each time.
(3) This mode supports short connection function。
(4) In the same LAN, if the E810-DTU is set to static IP, please keep the E810-DTU IP and gateway in the same network segment and set the gateway IP correctly,
(1) UDP Server means that the source IP address is not verified on the basis of normal UDP. After each UDP packet is received, the target IP is changed to the data
source IP and port number, when the data is transmitted, it will be sent to the IP and port number which was the nearest communication one.
(2) This mode is normally used for multiple network devices which need to communicate with the module, and do not want to use TCP's data transmission due to fast
speed and frequency.
Figure 8 UDP Client
(1) UDP Client is a connectionless transmission protocol that provides a simple, unreliable information transfer service, without connection establishment and
disconnection, only IP and port are needed to send data. Generally used for data transmission scenarios where packet loss rate is not required, data packets are small and the
frequency is fast, and data is transmitted to a specified IP.
(2) In UDP Client mode, the E810-DTU will only communicate with the target IP's target port, if the data is not from this channel, it will not be received by the
E810-DTU.
(3) In UDP Client mode, if the target address is set to 255.255.255.255, it will broadcast within the whole UDP network segment, and it can also receive broadcast
data,E810-DTU supports broadcast within the supporting network segment, such as the mode of xxx.xxx.xxx.255.
The use of short connections is mainly to save server resources, and is generally applied to multipoint-to-point scenarios. Short connections is to ensure that existing
connections are useful connections and do not require additional controls for filtering.
The short connection function is applied in the TCP Client mode. After the short connection function is enabled, when sending data. If no data is received from the
serial port or network port within the setting time, the connection will be automatically disconnected. The short connection function is turned off by default, and the
disconnection time can be set after the function is turned on, the range is 2~255S.
In the network transparent transmission mode, users can make the module send registration packets to the server. The registration packet is for the server to identify the
data source device, or as a password to obtain server authorization.
E810-DTU has 4 registration packet mechanisms:
Sending MAC when connecting: The module will send the its own MAC address to the device when the connection is established.
Sending user-defined data when connecting: The module sends a user-defined data to the device when the connection is established
Each packet of data sending MAC: The module will add its MAC address in front of each frame of data sent.
Each packet of data sending user-defined data: The module will add its user-defined data in front of each frame of data sent.
Figure 9 Sending user-defined data when connecting
Figure 10 Each packet of data sending MAC
Figure 11 Each packet of data sending user-defined data
Sending a registration packet when establishing a connection are mainly used to connect to a server that requires registration. Data-carrying registration packets refers to
accessing registration packets at the head of data in sending data, which is mainly used for protocol transmission. The user-defined data packet defaults to hexadecimal data
(ASCII code optional) and the maximum packet length is 40 bytes.
In the network transparent transmission mode, users can make the module send heartbeat packets to the server. Heartbeat packets can be sent to the web server or sent
to the serial device, they cannot run at the same time.
Network heartbeat pocket: The heartbeat packet is sent to the network, in the heartbeat transmission cycle, the module sends heartbeat packet data to the network
server to maintain the connection with the network server. It only runs in the TCP Client and UDP Client modes。
Serial data packet: In the set heartbeat sending cycle, the module sends heartbeat packet data to the serial port, users can do corresponding processing after the serial
port receives the heartbeat data.
In an application in which a server sends a fixed inquiry command to a device, in order to reduce communication traffic, users can choose to send a heartbeat packet
(inquiry command) to the serial device side instead of sending a inquiry command from the server.
User-defined data packet defaults to hexadecimal data (ASCII code optional), E810-DTU module supports custom heartbeat packet content up to 40 bytes.
Overtime restart (no data restart) function is mainly used to ensure long-term stability of E810-DTU. When the network port cannot receive data for a long time, or if
the network does not receive data for a long time, the E810-DTU will restart after exceeding the set time, thus avoiding the influence of abnormal conditions on the
communication. The normal working time of this function is set to 60~65535S, default 300S. When the setting time is less than 60S, the default setting is zero, that is, the
function is turned off.
TCP multi-connection function is mainly to solve that in the TCP Sever mode, the user has multiple clients to connect E810-DTU and send and receive data at the same
time. When E810-DTU is used as a TCP Server, up to 6 connections can be established at the same time, the TCP Server sends data to multiple (up to 6) TCP clients on the
connection at the same time. When the number of established connections exceeds six, the connection established at the beginning will be actively disconnected, that is, the
old connection will be kicked off.
When the TCP Client connection is not established, the data received by the serial port will be placed in the buffer area, the E810-DTU serial port receive buffer is 400
bytes. When the connection is established, the serial port buffer data can be set whether to clear according to customer needs.
Link indicates the network connection status of the module. In TCP mode, when the network is not connected, the link goes out. When the connection is established,
the link is always on. Link indicator is on in UDP mode.
The other is the data transmission indication, which shows the data transmission status of the serial port of the module. When there is no data transmission on the serial
port, the data transmission indicator is extinguished. When there is data transmission on the serial port, the flashing indicates that the period is 60ms and the indicator lit
(1) Connect two E810-DTU cable to the PC. Open the network configuration software and search for the device. The searched device will be displayed in the
device list. Double-click the device to be configured in the list, enter the setting interface, and set the module to TCP Server mode, Set the module IP address to
192.168.4.101, 192.168.4.102, set the module's local port to 8886, set the RF parameters. After the setting is complete, click the OK button, then restart the device and
search again to see if the parameter modification was successful.
Click Read Parameters on the RF Parameter Settings interface to obtain the module's current RF parameter settings, then you can configure the RF settings.
(2) Open two network debugging assistants, set the network debugging assistant protocol type to TCP Client, the network debugging assistant's server IP address is set
to the module's IP address, the network debugging assistant's server port is set to the module's local port, click Connect.
(3) Enter a string of data in the sending area of network debugging assistant A, click Send, you will see that network assistant B has received the same data in the
sending area of the serial port. Input a string of data in the sending area of network debugging assistant A, network assistant B also received the data. It realizes bidirectional
(1) Connect two E810-DTU serial ports and network cables to PC, open the network configuration software and search for the device. The searched device will
display the device list. Double-click the device to be configured in the list and enter the setting interface. Set the module to TCP Client mode, set the target IP address to
192.168.3.100, set the target port of module A to 8887, the target port of module B to 8886, set the RF parameters, click the OK button after the setting is complete, and then
restart the device to search Check once to see if the parameter modification was successful.
Figure 17 Searching devices
Figure 18 Parameter settings
Click Read Parameters on the RF Parameter Settings interface to obtain the module's current RF parameter settings. Then you can configure the RF settings.
(2) Open two network debugging assistants, set the network debugging assistant protocol type to TCP Client, the network debugging assistant's server IP address is set
to the module's IP address, the network debugging assistant's server port is set to the module's local port, click Connect.
(3) Enter a string of data in the sending area of network debugging assistant A, click Send, you will see that network assistant B has received the same data in the
sending area of the serial port. Input a string of data in the sending area of network debugging assistant A, network assistant B also received the data. It realizes bidirectional
(1) Connect two E810-DTU serial ports and network cables to PC, open the network configuration software and search for the device. The searched device will
display the device list. Double-click the device to be configured in the list and enter the setting interface. Set the module to UDP Server mode, set the target IP address to
192.168.3.100, set the target port of module A to 8887, the target port of module B to 8886, set the RF parameters, click the OK button after the setting is complete, and then
restart the device to search Check once to see if the parameter modification was successful.
Click Read Parameters on the RF Parameter Settings interface to obtain the module's current RF parameter settings. Then you can configure the RF settings.
Figure 23 RF Parameter configuration settings
(2) Open two network debugging assistants, set the network debugging assistant protocol type to UDP Server, the network debugging assistant's server IP address is set
to the module's IP address, the network debugging assistant's server port is set to the module's local port, click Connect.
(3) Enter a string of data in the sending area of network debugging assistant A, click Send, you will see that network assistant B has received the same data in the
sending area of the serial port. Input a string of data in the sending area of network debugging assistant A, network assistant B also received the data. It realizes bidirectional
(1) Connect two E810-DTU serial ports and network cables to PC, open the network configuration software and search for the device. The searched device will
display the device list. Double-click the device to be configured in the list and enter the setting interface. Set the module to UDP Client mode, set the target IP address to
192.168.3.100, set the target port of module A to 8887, the target port of module B to 8886, set the RF parameters, click the OK button after the setting is complete, and then
restart the device to search Check once to see if the parameter modification was successful.
Figure 25 Searching devices
Figure 26 Parameter settings
Click Read Parameters on the RF Parameter Settings interface to obtain the module's current RF parameter settings. Then you can configure the RF settings.
(2) Open two network debugging assistants, set the network debugging assistant protocol type to UDP Client, the network debugging assistant's server IP address is set
to the module's IP address, the network debugging assistant's server port is set to the module's local port, click Connect.
(3) Enter a string of data in the sending area of network debugging assistant A, click Send, you will see that network assistant B has received the same data in the
sending area of the serial port. Input a string of data in the sending area of network debugging assistant A, network assistant B also received the data. It realizes bidirectional
The TCP short connection function is applied to TCP Client mode. After the short connection function is enabled, if no data is received at the serial port or network
port within the set time, the connection will be automatically disconnected. The short connection function is disabled by default, disconnection time can be set after the
function is enabled. The setting range is 2~255s, users can enter it directly:
Figure 29 Short connection setting
The E810-DTU has four registration packet mechanisms, which are sending MAC when connecting, sending user-defined data when connecting, sending MAC for
each packet of data, and sending user-defined data for each packet of data, user-defined data defaults to hexadecimal data (ascii optional).
The registration packet is closed by default, when you need to use it, you can open the network configuration software configuration. The user-defined data can be
Heartbeat packets are used to ensure the reliability of the connection. E810-DTU supports two heartbeat packets, which are network heartbeat packets and serial
heartbeat packets. After setting the heartbeat packet type, you also need to set the heartbeat period and custom heartbeat packet data.
Figure 32 Heartbeat packet setting
The overtime restart is when the network port has not received data for a long time. After the module exceeds the set time, it restarts automatically to avoid
communication abnormalities The restart time can be set to 60~65535S, default 300s.
When TCP is not established, the data received by the serial port is in the buffer, and users can set to clear buffer according to the requirements, default closed.
Set/Query whether the serial port cache is cleared before connection
7
MAC
Query module MAC address
8
USERMAC
Set custom MAC address
9
LINKSTA
Query TCP connection status
10
WAN
Set/Query WAN Parameters
11
LPORT
Set/Query local port number
12
SOCK
Set the query local port number
13
REGMOD
Set/Query Registration Package Mode
14
REGINFO
Set/Query Custom Registration Package Information
15
HEARTMOD
Set/Query heartbeat packet mode
16
HEARTINFO
Set/Query custom heartbeat packet information
17
HEARTM
Set/Query heartbeat packet time
18
SHORTM
Set/query short connection time
19
TMORST
Set/Query timeout restart time
AT command means, a user instruction set command is transmitted by UART module in command mode, explained later in detail using the AT command format. When
switching on to the configuration mode after power-on, the module can be set via the UART.
Switching from transparent transmission mode to command mode:
The UART device sends “+++” to the module continuously, after the module receives “+++”, the module starts timeout after 3 seconds. If any AT command is received
within the timeout period, the module will successfully switch to the configuration mode. Before the mode was successfully switched, any UART data was transmitted
through the network.
Switching from command Mode to Transparent Transmission Mode
The serial device sends the command “AT+ EXAT” to the module. After receiving the instruction, the module returns “+OK” and switches to the transparent