Special Functions; Short Connection; Registration Packet Mechanism; Heartbeat Packet Mechanism - Ebyte E810 User Manual

Hide thumbs Also See for E810:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.

Special functions

5.

5.1. Short connection

The use of TCP short connections is mainly to save server resources and is generally applied in multi-point-to-point scenarios.
The use of short connections can ensure that all existing connections are useful connections and do not require additional control
means for filtering.
TCP short connection function is applied in the TCP Client mode. After the short connection function is enabled, the
information is sent. If there is no data received by the serial port or network port within the set time, the connection will be
automatically disconnected. The short connection function is turned off by default. The disconnection time can be set after the
function is turned on. The setting range is 2 ~ 255S.

5.2. Registration packet mechanism

In the network transparent transmission mode, users can choose to let
registration packet is to enable the server to identify the data source device or as a password to obtain server function
authorization.
E810 (4RS1E) has 4 registration packet mechanisms:
Send MAC on connection: DTU will send the MAC address of DTU itself to the device once the connection is
established.
Send custom data on connection:DTU will send user-defined data to the device once the connection is established
Send MAC per packet data: dd DTU MAC address before each frame of data sent by DTU
Send custom data for each packet of data:User-defined data is added before each frame of data sent by DTU
Establishing a connection and sending a registration packet are mainly applied to connect to a server that needs to be
registered. The data carrying registration packet refers to the access to the registration packet at the forefront of the data when
sending data, is mainly used for protocol transmission. The user-defined data packet defaults to hexadecimal data (ASCII code is
optional), and the maximum packet length is 40 bytes.

5.3. Heartbeat packet mechanism

In the network transparent transmission mode, users can choose to let E810 (4RS1E) send heartbeat packets. The heartbeat
packet can be sent to the network server side or the serial port device side, and cannot be run simultaneously.
Network heartbeat packet: Send heartbeat packets to the network. DTU sends heartbeat packet data to the network server to
maintain the connection with the network server under the set heartbeat sending period. It only takes effect in TCP Client and
UDP Client modes.
Serial port data packet: DTU sends heartbeat packet data to the serial port in the set heartbeat sending period. After receiving
the heartbeat data from the serial port, users can do the corresponding processing.
In applications where the server sends fixed query commands to the device, in order to reduce communication traffic, users
can choose to send a heartbeat packet (query command) to the serial port device instead of sending the query command from the
server.
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co., Ltd.
E810-DTU(4RS1E) User Manuel
DTU send a registration packet to the server. The
12

Advertisement

Table of Contents
loading

This manual is also suitable for:

E810-dtu4rs1e

Table of Contents