9
Assuming that the ActiveThreshold is set to 10m/s2, the value to be set is 10/9.8/0.0625=16.32, and the last value obtained is an
integer and is configured as 16.
Assuming that the InActiveThreshold is set to 8m/s2, the value to be set is 8/9.8/0.0625=13.06, and the last value obtained is an
integer and is configured as 13.
(3)
Configure device parameters ActiveThreshold=16, InActiveThreshold=13
Downlink: 03C70010000D0000000000 0010(H
ex)
= 16(D
ec)
, 000D(H
ex)
= 13(D
ec)
Response
:
83C7000000000000000000 (configuration is successful)
83C7010000000000000000 (configuration failed)
(4)
Read device parameters
Downlink: 04C7000000000000000000
Response
:
84C70010000D0000000000 (device current parameter)
Description
Device
Cmd
ID
Device
Type
NetvoxPayLoadData
SetActive
ThresholdReq
R311FA1
0x03
0xC7
ActiveThreshold
(2Bytes)
InActiveThreshold
(2Bytes)
Reserved
(5Bytes,Fixed 0x00)
SetActive
ThresholdRsp
0x83
Status
(0x00_success)
Reserved
(8Bytes,Fixed 0x00)
GetActive
ThresholdReq
0x04
Reserved
(9Bytes,Fixed 0x00)
GetActive
ThresholdRsp
0x84
ActiveThreshold
(2Bytes)
InActiveThreshold
(2Bytes)
Reserved
(5Bytes,Fixed 0x00)
SetRestore
ReportReq
0x07
RestoreReportSet (1byte,
0x00_DO NOT report when sensor restore;
0x01_DO report when sensor restore)
Reserved
(8Bytes, Fixed 0x00)
SetRestore
ReportRsp
0x87
Status
(0x00_success)
Reserved
(8Bytes, Fixed 0x00)
GetRestore
ReportReq
0x08
Reserved
(9Bytes,Fixed 0x00)
GetRestore
ReportRsp
0x88
RestoreReportSet (1byte,
0x00_DO NOT report when sensor restore;
0x01_DO report when sensor restore)
Reserved
(8Bytes, Fixed 0x00)