7
Example of Configuring Sensor Parameter:
SetSensorPara
Req
RA07W
0x03
0x0C
LineLength
(2Bytes, Unit:10cm)
Sensitivity
(1Byte,Hihg_0x00,Mid_0x
01,Low_0x02)
Reserved
(6Bytes,Fixed 0x00)
SetSensorPara
Rsp
0x83
Status (0x00_success)
Reserved (8Bytes, Fixed 0x00)
GetSensorPara
Req
0x04
Reserved (9Bytes, Fixed 0x00)
GetSensorPara
Rsp
0x84
LineLength
(2Bytes, Unit:10cm)
Sensitivity
(1Byte,Hihg_0x00,Mid_0x
01,Low_0x02)
Reserved
(6Bytes, Fixed 0x00)
(1)
Configure RA07W Length od Line = 70dm
(2 bytes, decimeter), Sensitivity 00 (1 byte, 00 is the most sensitive)
Downlink
:
030C004600000000000000
Device returns
:
830C000000000000000000 (Configuration success)
830C010000000000000000 (Configuration failure)
(2)
Read RA07W device parameter
Downlink
:
040C000000000000000000
Device return
:
840C004600000000000000