![USR IOT USR-TCP232-T2 User Manual Download Page 33](http://html.mh-extra.com/html/usr-iot/usr-tcp232-t2/usr-tcp232-t2_user-manual_1064533033.webp)
USR-TCP232-T2 user manual
Jinan USR IOT Technology Limited
33
4.6. Special function
4.6.1. Heartbeat package
In the transparent transport mode, user can choose T2 to send heartbeat package. Heartbeat package can be sent to
net server, also can send to serial port, but can not send in the same time.
Sending to the net aimed at connecting with server, effect only in TCP client and UDP client.
In the application of the server sending fixed query command to device, to reduce the communication flow. The user
can choose using the serial port to send the heartbeat package instead of the heartbeat from server.
The content of heartbeat package can be defined. The longest content is 40 bite. Time set from 1s to 255s.
It can ensure connection is reliable, put an end to connect feign death.
Diagram 4.6.1-1 heartbeat package
4.6.2. Registration package
In the transparent transport mode, user can choose T2 to send registration package. Registration package is used to
identify data sources or do as the code to get the server authorization.
Registration package can be sent when the T2 built connection with server, also can installed in the head of the data
package, as a data package. Registration package data can be MAC address or customize registration package data, where
the custom registry setting content is up to 40 bytes.
The connection setting and sending registration package is mainly used to connect the server that needs to be
registered. By default, this function is not checked.
Data carries the registration package: sending data in the front of the data access to the registration package,mainly
for protocol transmission application.