6
Device
Device
Type
Report
Type
NetvoxPayLoadData
R718AB
0x13
0x01
Battery
(1Byte, unit:0.1V)
Temperature
(Signed2Bytes,unit:0.01°C)
Humidity
(2Bytes,unit:0.01%)
Reserved
(3Bytes,fixed 0x00)
Example of Uplink: 0113012406701A9E000000
1
st
byte (01): Version
2
nd
byte (13): DeviceType 0x13
-
R718AB
3
rd
byte (01): ReportType
4
th
byte (24): Battery
-
24(HEX)=36(DEC),36*0.1v=3.6v
5
th
6
th
byte (0670): Temperature
-
0670(HEX)=1648(DEC),1648*0.01°C=16.48°C
7
th
8
th
byte (1A9E): Humidity
-
1A9E(HEX)=6814(DEC),6814*0.01%=68.14%
9
th
~11
th
byte (000000):
Reserved
Example of Uplink: 01130124FF391A9E000000
1
st
byte (01): Version
2
nd
byte (13): DeviceType 0x13
-
R718AB
3
rd
byte (01): ReportType
4
th
byte(24): Battery
-
24(HEX)=36(DEC),36*0.1v=3.6v
5
th
6
th
byte (FF39): Temperature
-
FF39(HEX)=-199(DEC),-199*0.01°C =-1.99°C -1.99°C
7
th
8
th
byte (1A9E): Humidity
-
1A9E(HEX)=6814(DEC),6814*0.01%=68.14%
The value of temperature field is a signed integer and the highest bit represent positive (0) or negative (1).
If the value represent negative number, we need to calculate complement.
5.2 Example of ConfigureCmd
FPort
:
0x07
Bytes
1
1
Var (Fix =9 Bytes)
CmdID
DeviceType
NetvoxPayLoadData
CmdID
– 1 byte
DeviceType
– 1 byte – Device Type of Device
NetvoxPayLoadData
– var bytes (Max=9bytes)