E180-DTU(ZG120-ETH)User Maunel 1. Overview 1.1 Introduction E180-DTU (ZG120-ETH) is a high-power ZIGBEE gateway, working as ZIGBEE node devices with adaptive network speeds (up to 100M, full duplex). It provides four working modes, i.e. TCP Server, TPC Client, UDP Server, and UDP Client.
→Ethernet 3.2.1 SOCKET Function E180-DTU (ZG120-ETH) can establish two-way sockets, respectively Socket A1 and Socket B1. Socket A1 supports all types of TCP Client, TCP Server, UDP Client, and UDP Server. Socket B1 supports only three types: TCP Client, UDP Client, and UDP Server.
It is usually used for data interaction between the device and the server, and is the most commonly used network communication method. (2) When E180-DTU (ZG120-ETH) attempts to connect to the server in TCP Client mode and the local port is 0, the connection is initiated through a random port each time.
IP. (2) In UDP Client mode, E180-DTU (ZG120-ETH) only communicates with the target port of the target IP. If the data is not from this channel, it will not be received by E180-DTU (ZG120-ETH).
3.2.7 Data transmission method The data transmission methods of E180-DTU (ZG120-ETH) include unicast, broadcast, and multicast. 3.2.7.1 Broadcast mode In broadcast mode, the sending device sends the data received by the serial port to each node (including itself) in the network, and all devices in the network will receive the data.
Heartbeat packets can be sent to the web server. The main purpose of sending to the network is to maintain a connection with the server. It only takes effect in TCP Client and UDP Client modes. E180-DTU (ZG120-ETH) module supports up to 60 bytes of custom heartbeat packet content.
Page 13
Users can enable the transparent transmission cloud function according to the command, and register the device and interact with the data according to the relevant usage of Ebyte cloud platform. Please refer to“Ebyte Cloud Platform Transparent Transmission Guide”for more details.
3.3.8 Clear cache When TCP connection is not established, the data received by DTU will be placed in the cache area. E180-DTU (ZG120-ETH) receiving cache is 2Kbyte. After TCP connection is established, the network cache data can be set to be cleared according to customer needs.
4.2 DTU Instruction Network configuration 1. Set the IP address of the PC computer to the same network segment as E180-DTU (ZG120-ETH), with the same subnet mask. For example, the PC IP is 192.168.4.10 and the module IP is 192.168.4.101 PC configuration:...
Need help?
Do you have a question about the E180-DTU and is the answer not in the manual?
Questions and answers