8
0x03_R718MBC
SetR718MB
TypeRsp
0x83
Status
(0x00_success)
Reserved
(8Bytes,Fixed 0x00)
GetR718MB
TypeReq
0x04
Reserved
(9Bytes,Fixed 0x00)
GetR718MB
TypeRsp
0x84
R718MBType(1Byte)
0x01_R718MBA
0x02_R718MBB
0x03_R718MBC
Reserved
(8Bytes,Fixed 0x00)
(3)
Change the device type to R718MBA
Downlink: 032C010000000000000000
The device returns:
832C000000000000000000
// Configuration succeeded
832C010000000000000000
// Configuration failed
(4)
Check the current device type
Downlink: 042C000000000000000000
The device returns: 842C010000000000000000 // Current device type is R718MBA
5.4 Example of Config Active Threshold
FPort
:
0x07
Description
Device
Cmd
ID
Device
Type
NetvoxPayLoadData
SetActive
ThresholdReq
R718MBC
0x05
0x2C
Threshold
(2Bytes)
Deactivetime
(1Byte,Unit:1s)
Reserved
(6Bytes,Fixed 0x00)
SetActive
ThresholdRsp
0x85
Status
(0x00_success)
Reserved
(8Bytes,Fixed 0x00)
GetActive
ThresholdReq
0x06
Reserved
(9Bytes,Fixed 0x00)
GetActive
ThresholdRsp
0x86
Threshold
(2Bytes)
Deactivetime
(1Byte,Unit:1s)
Reserved
(6Bytes,Fixed 0x00)
(5)
Assuming the threshold is 10m/s², the value that needs to be set is 10/9.8/0.0625=16.32, the last value is 16.32 which needs
to be taken an integer, and the configuration is 16.
Configure device parameters Threshold= 16, Deactivetime=10s