Set/Getsensoralarmthresholdcmd - netvox RA08D (S) Series User Manual

Wireless multi-sensor device
Table of Contents

Advertisement

5.5 Set/GetSensorAlarmThresholdCmd

FPort: 0x10
CmdID
CmdDescriptor
(1Byte)
SetSensorAlarm
0x01
ThresholdReq
SetSensorAlarm
0x81
ThresholdRsp
GetSensorAlarm
0x02
ThresholdReq
GetSensorAlarm
0x82
ThresholdRsp
(1) Set the temperature HighThreshold as 40.05℃ and LowThreshold as 10.05℃
SetSensorAlarmThresholdReq:
Downlink: 01000100000FA5000003ED // 0FA5 (Hex) = 4005 (Dec), 4005 * 0.01°C = 40.05°C,
Response: 810001000000000000000000
(2) GetSensorAlarmThresholdReq
Downlink: 0200010000000000000000
Response: 82000100000FA5000003ED
Channel(1Byte,
0x00_Channel1,
0x01_Channel2,
0x02_Channel3,etc)
Status
(0x00_success)
Channel(1Byte,
0x00_Channel1,
0x01_Channel2,
SetSensorAlarmThreshold
0x02_Channel3,etc)
Channel(1Byte,
0x00_Channel1,
0x01_Channel2,
SetSensorAlarmThreshold
0x02_Channel3,etc)
(when the temperature is higher than the HighThreshold or lower than the LowThreshold, the device would
upload reporttype = 0x05)
03ED (Hex) = 1005 (Dec), 1005 * 0.01°C = 10.05°C
Payload (10Bytes)
SensorType(1Byte,
0x00_Disable ALL
SensorthresholdSet
0x01_Temperature,
0x02_Humidity,
0x03_CO2,
SensorHighThreshold
0x04_AirPressure,
0x05_illuminance,
0x06_PM2.5,
0Xffffffff_DISALBLEr
0x07_PM10,
0x08_TVOC,
0x09_HCHO,
0x0A_O
3
0x0B_CO,
0x17_ H
S,
2
0x18_ NH
,
3
Reserved (9Bytes,Fixed 0x00)
SensorType
(1Byte,Same as the
Req's SensorType)
SensorHighThreshold
SensorType
(1Byte,Same as the
0Xffffffff_DISALBLEr
Req's SensorType)
17
SensorLowThreshold
(4Bytes,Unit:same as
(4Bytes,Unit:same as
reportdata in fport6,
0Xffffffff_DISALBLEr
HighThreshold)
Reserved (10Bytes,Fixed 0x00)
SensorLowThreshold
(4Bytes,Unit:same as
(4Bytes,Unit:same as
reportdata in fport6,
0Xffffffff_DISALBLEr
HighThreshold)
reportdata in fport6,
HighThreshold)
reportdata in fport6,
HighThreshold)

Advertisement

Table of Contents
loading

Table of Contents