Short Connection; Serial Cache Cleaning - Ebyte EBT3002 T6 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
device.
2. Send custom registration package data (OLCSTM) when establishing a connection between
the network and the device.
3. After establishing a connection between the network and the device, each packet of data
sent by the device to the network is prefixed with a MAC address (EMBMAC).
4. After establishing a connection between the network and the device, each packet of data
sent by the device to the network is preceded by a custom registration packet data
(EMBCSTM).
Custom registration package content (supports up to 40 bytes of ASCII data and 20 bytes of
HEX data)
[Note] It is recommended not to use special characters (such as "," "/", "/", etc.) when
configuring the registration package. If you want to use it, it is recommended to use hexadecimal
configuration.

5.2 Short connection

In client mode, network short connections are supported (disabled by default), while TCP short
connections are mainly used to save server resource costs and are generally applied in multi-point
(multi client) to one point (server) scenarios.
The TCP short connection function is applied in the TCP Client mode. After enabling the short
connection function, only a request is made to connect to the server when sending information. After
the connection is successful, if the serial port does not receive or receive data or the network port
does not receive or receive data within the set time, the device will automatically disconnect.
Turn off the short link function when the short link retention time is set to 0. When the setting
range is (2-255) seconds, the short connection function is turned on, and the default hold time is 0
seconds (close short links).

5.3 Serial cache cleaning

When the TCP connection is not established, the data received by the serial port will be placed
in the cache area. The serial port receive cache is 512 bytes. After the network connection is
successful, you can choose to clear the serial port cache or send the cache through the network
through configuration.
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
EBT3002 User Manual

Advertisement

Table of Contents
loading

Table of Contents