User Manual

User Manual
© 2008-2019 Seeed Technology Co., Ltd. All rights reserved. www.seeed.cc
25 / 37
Modify the Data Interval Remotely
(1) Using the Network Server’s portal or API to send downlink command, then the Node will respond to the ack.
Note: The downlink command takes effect and responds the next time the node uploads data.
(2) Downlink as follow:
0x00
0x89
0x00
prepareId_L
prepareId_H
duty_L
duty_H
crc-L
crc-H
0x00
Fixed field
0x89
Fixed field
0x00
Fixed field
prepareId_L
Command ID low byte, you can customize the values, it allow each command ID to be the
same
prepareId_H
Command ID high byte, you can customize the values, it allow each command ID to be the
same
duty_L
Data interval low byte, you can set the data interval, unit: minute
duty_H
Data interval high byte, you can set the data interval, unit: minute
crc-L
CRC low byte, it’s calculated by the CRC-16/CCITT
crc-H
CRC low byte, it’s calculated by the CRC-16/CCITT
(3) When you send the downlink command, the Node responds to the ack command.
0x00
0x1F
0x00
prepareId_L
prepareId_H
result
0x00
crc-L
crc-H
0x00
Fixed field
0x1F
Fixed field
0x00
Fixed field
prepareId_L
Command ID low byte, it is the same as the downlink command
prepareId_H
Command ID high byte, it is the same as the downlink command
result
If the downlink command is in force, it responds 0x01, else it responds 0x00
0x00
Fixed field
crc-L
CRC low byte, it’s calculated by the CRC-16/CCITT
crc-H
CRC low byte, it’s calculated by the CRC-16/CCITT
For example: Set the Node’s data interval is 10 minutes.
Send the downlink command (HEX):
00 89 00 11 22 0A 00 38 B4
0x00
0x89
0x00
prepareId_L
prepareId_H
duty_L
duty_H
crc-L
crc-H
00
89
00
11
22
0A
00
38
B4
ACK Response:
00 1F 00 11 22 01 00 78 0F
0x00
0x1F
0x00
prepareId_L
prepareId_H
result
0x00
crc-L
crc-H
00
1F
00
11
22
01
00
78
0F