
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
62
Protocol" to "REAL_COM Protocol" in the "Device Settings" dialog box, and note
that the register packet part needs to be blank and not selected.
Figure 52 Enable REAL_COM Protocol
After the Realcom protocol is enabled, it will not be transparent transmission
communication. It has the following characteristics:
1) When a TCP connection is established between the device and the cloud, the
device automatically sends a hexadecimal register package FA 07 13 02 FA 02
MAC[5] MAC[4] MAC[3] MAC[2] MAC[1] MAC[0] FA FF. MAC[5]~MAC[0] is the
MAC address of the device.
2) When the device sends data to the network, it automatically adds three bytes of
the head prefix to FA 01 01.
3) The device sends a one-byte heartbeat packet of 00 to the software at every
keeping alive time.
The REAL_COM protocol can be used as the registered package for the device
because the register package contains a MAC address. But because of its fixed
format, cloud-based software can only be used to design a REALCOM protocol to be
compatible with this approach.
8.1.3 Custom Register Package
The custom register package mode is that the user can fill in an arbitrary registration
package format. The method is: in the device setting interface, the configuration is
as follows: