Example Of Set/Getsensoralarmthresholdcmd - netvox R718N1 E Series User Manual

Wireless single-phase current meter
Table of Contents

Advertisement

5.3 Example of Set/GetSensorAlarmThresholdCmd

Fport: 0x16
CmdID
CmdDescriptor
(1Byte)
SetSensorAlarm
0x01
ThresholdReq
SetSensorAlarm
0x81
ThresholdRsp
GetSensorAlarm
0x02
ThresholdReq
GetSensorAlarm
0x82
ThresholdRsp
(1) Configure device parameter
Channel = 0x00 (fixed value), SensorType = 0x27 (fixed value), SensorHighThreshold = 1000mA (0x3E8),
SensorLowThreshold=100mA (0x64)
Downlink: 010027000003E800000064
The device returns:
8100000000000000000000 (Configuration successful)
8101000000000000000000 (Configuration failed)
(2) Read device configuration parameters.
Downlink: 0200270000000000000000
The device returns:
820027000003E800000064 (Current device configuration parameters)
Channel
(1Byte,
0x00_Disable ALL
0x00_Channel1)
0x27_ Current,)
Status
(0x00_success)
Channel
(1Byte,
0x00_Channel1)
SetSensorAlarmThresh
oldReq's SensorType)
Channel
(1Byte,
0x00_Disable ALL
0x00_Channel1)
0x27_ Current,)
Payload (10Bytes)
SensorHighThreshold
SensorType
(4Bytes,Unit:same as
(1Byte,
reportdata in fport6,
0Xffffffff_DISA-BLE
Reserved (9Bytes,Fixed 0x00)
SensorType
(1Byte,
Same as the
SensorHighThreshold
SensorType
(4Bytes,Unit:same as
(1Byte,
reportdata in fport6,
0Xffffffff_DISABLEHighT
9
HighThreshold)
Reserved (8Bytes,Fixed 0x00)
0Xffffffff_DISABLELow
hreshold)
SensorLowThreshold
(4Bytes,Unit:same as
reportdata in fport6,
0Xffffffff_DISABLE
LowThreshold)
SensorLowThreshold
(4Bytes,Unit:same as
reportdata in fport6,
Threshold)

Advertisement

Table of Contents
loading

Table of Contents