![netvox R718EC Скачать руководство пользователя страница 8](http://html1.mh-extra.com/html/netvox/r718ec/r718ec_user-manual_1675301008.webp)
8
Description
Device
CmdID
Device
Type
NetvoxPayLoadData
Config
ReportReq
R718EC
0x01
0x1C
MinTime
(2bytes Unit:s)
MaxTime
(2bytes Unit:s)
BatteryChange
(1byte Unit:0.1v)
AccelerationChange
(2byte Unit:m/s2)
Reserved
(2Bytes,Fixed 0x00)
Config
ReportRsp
0x81
Status
(0x00_success)
Reserved
(8Bytes,Fixed 0x00)
ReadConfig
ReportReq
0x02
Reserved
(9Bytes,Fixed 0x00)
ReadConfig
ReportRsp
0x82
MinTime
(2bytes Unit:s)
MaxTime
(2bytes Unit:s)
BatteryChange
(1byte Unit:0.1v)
AccelerationChange
(2byte Unit:m/s2)
Reserved
(2Bytes,Fixed 0x00)
SetActive
ThresholdReq
0x03
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)
(1)
Configure device parameters MinTime = 1min, MaxTime = 1min, BatteryChange = 0.1v, Acceleratedvelocitychange = 1m/s
2
Downlink : 011C003C003C0100010000 003C(H
ex)
= 60(D
ec)
Device returns:
811C000000000000000000 (configuration is successful)
811C010000000000000000 (configuration failed)
(2)
Read device parameters
Downlink : 021C000000000000000000
Device returns:
821C003C003C0100010000 (current device parameters)
(3)
Assuming that the Active Threshold is set to 10m/s
2
, 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 InActive Threshold is set to 8m/s
2
, 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.
Configure device parameters ActiveThreshold=16, InActiveThreshold=13
Downlink : 031C0010000D0000000000
Device returns:
831C000000000000000000 (configuration is successful)
831C010000000000000000 (configuration failed)
Read device parameters
Downlink : 041C000000000000000000
Device returns:
841C0010000D0000000000 (device current parameter)