18
7.2.4 Disable Time and Detection Time
FPort
:
0x07
Description
Cmd
ID
Device
Type
NetvoxPayLoadData
SetIR
DisableTImeReq
0x07
0xD2
IRDisableTime
(2bytes Unit:s)
IRDetectionTime
(2bytes Unit:s)
SensorType(1Byte)
0x00_PIRSensor
0x01_SeatSensor
Reserved
(4Bytes,Fixed
0x00)
SetIR
DisableTImeRsp
0x87
Status
(0x00_success)
Reserved
(8Bytes,Fixed 0x00)
GetIR
DisableTImeReq
0x08
SensorType (1Byte)
0x00_PIRSensor
0x01_SeatSenso
Reserved
(8Bytes,Fixed 0x00)
GetIR
DisableTImeRsp
0x88
IRDisableTime
(2bytes Unit:s)
IRDetectionTime
(2bytes Unit:s)
Reserved
(5Bytes,Fixed 0x00)
1.
Set PIR Sensor IRDisableTime=30s, IRDetectionTime=60s
Downlink: 07D2001E003C0000000000 //1E(Hex)=30(Dec), 3C(Hex)=60(Dec)
2.
Set Seat sccupancy sensor IRDisableTime=30s, IRDetectionTime=90s
Downlink: 07D2001E005A0100000000 //1E(Hex)=30(Dec), 5A(Hex)=90(Dec)
Response:
87D2000000000000000000
(
Configuration success
)
87D2010000000000000000
(
Configuration failure
)
Note:
1.
DetectionTime must ≥ IRDisableTime
2.
DisableTime must ≥ 5s