Udp Client Characteristics; Special Function; Short Connection; Registration Packet Mechanism - Ebyte E810-DTU User Manual

Ethernet to rs485/rs232
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Ethernet to 485/232
(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.

4.4. UDP Client characteristics

(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.

5. Special function

5.1. Short connection

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.

5.2. Registration packet mechanism

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.
Copyright ©2012–2017,成都亿佰特电子科技有限公司
Figure 7 UDP Server
Figure 8 UDP Client
E810-DTU User Manual
11

Advertisement

Table of Contents
loading

Table of Contents