![USR IOT USR-K7 User Manual Download Page 30](http://html1.mh-extra.com/html/usr-iot/usr-k7/usr-k7_user-manual_1064526030.webp)
Super Port User Guide www.usriot.com
Jinan USR IOT Technology Co., Ltd [email protected]
Page30
/
34
6.2.
Heartbeat package
In network transmission mode, the user can choose using K7 send heartbeat package.
Heartbeat package can be sent to either a network server or a serial device.
The primary purpose of sending to the network side is to maintain a connection to the server,
which only works in TCP Client and UDP Client modes.
In the application where the server sends fixed query instructions to the device, in order to
reduce the communication traffic, the user can choose to send heartbeat packets (query
instructions) to the serial device in instead of sending query instructions from the server
The firmware of 3010 and later supports the heartbeat package function, which can send
heartbeat packets to both the serial port and the network.
Diagram 6-4 Serial port/network heartbeat package
6.3.
Registration package
In transmission mode, users can choose to have the module send the registration package to
the server.The the registration package is intended to enable the server to identify the device from
which the data came, or to use it as a password to obtain authorization for the server's functions.
The registration package can be sent when the module establishes connection with the server,
or it can be spliced into the registration package data in front of each package.The data for the
registration package can be MAC addresses or customize registry data, and the customize registry
sets the content to a maximum of 40 bytes.
Firmware after V3010 supports the registry functionality.