
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
65
8.2.2 REALCOM Agreement
As stated in the Realcom protocol, the Realcom protocol can send a one-byte
heartbeat packet of 00 to the software at every keeping alive time, which is the
heartbeat package of the Realcom protocol.
8.2.3 Custom Heartbeat Packet
First, fill in the register package according to 8.1.3 Custom Register Package. Then
increase the heartbeat packet according to the following method: click on "More
Advanced Setting" button on the device Settings, write the hexadecimal heartbeat
packets on the second line of the destination IP and port, and change the right
option to "Param. Dest.".
Figure 55 Custom Heartbeat Package
Note that the total number of register packages and heartbeat packages is less than
33 bytes. The first line is actually the register package.
9. Httpd Client Communication Function
This feature is used to directly send the data up-sent by serial device server to a web based
server program, which can simplify the software development effort on the cloud.
When IoT acquisition terminal and the web server (httpd program) do interaction, if it can
submit the data according to the standard format of http GET and Post command to web
server, the web server can use the existing PHP/asp language for data processing and
storage. This saves the effort to redevelop web application interface for user.
To support this feature, you need to download a httpd.txt configuration file in the ZLAN serial
device server. Download can be implemented by using firmware upgrade function of
zlvircom.