Dns Introduction; Data Packing Mechanism; Socket Function; Tcp Client Function - Ebyte E810-DTU User Manual

Can to ethernet dtu
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd

4.1.4. DNS introduction

DNS is called Domain Name System. The mutual mapping of domain names and IP addresses on the World Wide
Web (www) is the database. After the device has the correct DNS server, it can interact with the external network (World
Wide Web) server through the network domain name.

4.1.5. Data packing mechanism

Because the data of the network end is transmitted by data frame, it is necessary to send the frame data of CAN to
the network end, so that the data can be transmitted more efficiently and quickly.
Serial port packing time: The default is 10ms, which can be set from 0 to 1000.
Serial port packing length: The default is 1000 bytes, which can be set from 0 to 1000.
Note:
When both of the parameters are not 0, C based on the rules which any of them are satisfied;
When one parameter is 0, the packing rule will be another non-zero value;
When both parameters are 0, the packing rule is the default parameter value: 10ms/1000 bytes.

4.1.6. SOCKET function

E810-DTU (CAN-ETH) can establish two Sockets, respectively Socket A1, Socket B1.
Socket A1 support TCP Client、TCP Server、UDP Client、UDP Server ect. All types. Socket B1 only support TCP
Client、UDP Client、UDP Server.
Two Sockets can connect to different networks for data transmission at the same time.

4.1.7. TCP Client function

(1)TCP Client provides client connection for TCP network services. It proactively initiate a connection request to
the server and establish a connection for interaction between serial data and server data.According to the relevant
provisions of the TCP protocol, the TCP Client has the difference of connection and disconnection to ensure reliable
exchange of data. It is commonly used for data interaction between devices and servers.
(2)When E810-DTU (CAN-ETH) attempts to connect to the server in TCP Client mode and the local port is 0, it
initiates the connection with random ports each time.
(3)This mode supports short connection function.
(4)In the same LAN, if the E810-DTU (CAN-ETH) is set to static IP, please keep the IP of E810-DTU (CAN-ETH)
and gateway in the same network segment, and set the gateway IP correctly, otherwise the normal communication will
not be possible.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
E810-DTU(CAN-ETH) User Manual
20

Advertisement

Table of Contents
loading

Table of Contents