Example Of Configurecmd - netvox R313LA User Manual

Wireless infrared proximity sensor
Table of Contents

Advertisement

Byte
Value
1st
01
2nd
AA
3rd
01
4th
1E
5th
01
6th~7th
0804
8th~11th
00000000

Example of ConfigureCmd

5.2
FPort:0x07
Bytes
1
CmdID
CmdID– 1 byte
DeviceType– 1 byte – Device Type of Device
NetvoxPayLoadData– var bytes (Max=9bytes)
Description
Device
ConfigReportReq
ConfigReportRsp
ReadConfig
ReportReq
ReadConfig
ReportRsp
R313LA
SetOnDistance
ThresholdRreq
SetOnDistance
ThresholdRrsp
GetOnDistance
ThresholdRreq
GetOnDistance
ThresholdRrsp
Attribute
Result
Version
1
DeviceType
AA
ReportType
1
Battery
3.0v
Status
ON
RawSenseData
2052
Reserved
-
1
DeviceType
Cmd
Device
ID
Type
MinTime
0x01
(2bytes Unit: s)
0x81
0x02
MinTime
0x82
(2bytes Unit: s)
0xAA
0x03
0x83
0x04
0x84
1E(HEX)=30(DEC),30*0.1v=3.0v
Var (Fix =9 Bytes)
NetvoxPayLoadData
NetvoxPayLoadData
MaxTime
(2bytes Unit: s)
Status (0x00_success)
(9Bytes, Fixed 0x00)
MaxTime
(2bytes Unit: s)
OnDistanceThreshold
(2byte )
Status
(0x00_success)
(9Bytes, Fixed 0x00)
OnDistanceThreshold
(2byte )
7
Resolution
-
-
-
-
-
-
BatteryChange
(1byte Unit: 0.1v)
(4Bytes, Fixed 0x00)
Reserved (8Bytes, Fixed 0x00)
Reserved
BatteryChange
(1byte Unit: 0.1v)
(4Bytes, Fixed 0x00)
(7Bytes, Fixed 0x00)
(8Bytes, Fixed 0x00)
Reserved
(7Bytes, Fixed 0x00)
Reserved
Reserved
Reserved
Reserved
Reserved

Advertisement

Table of Contents
loading

Table of Contents