ZHC4931Manual
Public
Chengdu Zongheng Intelligent Control Co., Ltd
28
www.iotrouter.com
3.8.5.
Registration package function
Function description:
"Registration package" should be used by the server to
identify device data. The registration package supports "connection sending" and
"data carrying". "Connection sending" refers to sending a registration packet when the
device establishes a connection with the server. "Data carrying" means that the device
carries the registration packet in front of the data and sends it to the server.
Register packet hold register address:
41366~41378(0x0555~0x561)
Support function codes: 03 (read holding registers), 10 (write multiple holding registers)
Defaults
:
0x0001
The registration packet occupies 13 register addresses, and the allocation space is as follows:
CHART 9 Register Packet Function Register
Storage content
Registration
package type
Registration
package location
Registration
packet length
Registration
package content
Length
1
1
1
10
ZHC4931 registration package function parameter introduction,
CHART10 Function parameters of registration package
ITEMS
Parameter range
Registration package type
0x0001
(
Cloud forwarding registration package
)
0x0002
(
Custom Registration Package
)
0x0003
(
Device ID registration package
)
0x0004
(
CCID registration package
)
0x000F
(
Close registration package
)
Registration package location
0x0001 Sent when connecting to the server
0x0002 Data carry
Registration packet length
20 byte
Registration package content
0x00~0xFF