Tus neeg siv phau ntawv
Table Of Contents
6
Device
Device
Type
Report
Type
NetvoxPayLoadData
R718B2
series
0x14
0x00
SoftwareVersion
(1Byte)
Eg.0x0A—V1.0
HardwareVersion
(1Byte)
DateCode
(4Bytes,eg0x20170503)
Reserved
(2Bytes,fixed 0x00)
0x01
Battery
(1Byte, unit:0.1V)
Temperature 1
(Signed2Bytes,unit:0.1°C)
Temperature 2
(Signed2Bytes,unit:0.1°C)
Reserved
(5Bytes,fixed 0x00)
Example 1 of Uplink: 0114012401090102000000
1
st
byte (01): Version
2
nd
byte (14): DeviceType 0x14-R718B2 series
3
rd
byte (01): ReportType
4
th
byte (24): Battery-3.6V, 24(HEX)=36(DEC),36*0.1v=3.6v
5
th
6
th
byte (0109): Temperature-26.5 °C , 0109(HEX)=265(DEC),265*0.1°C =26.5°C
7
th
8
th
byte (0102): Temperature-25.8 °C , 0102(HEX)=258(DEC),258*0.1°C =25.8°C
9
th
-11
th
byte (0000000): Reserved
Example 2 of Uplink: 011401A0FF39FF36000000
1
st
byte (01): Version
2
nd
byte (14): DeviceType 0x14-R718B2 series
3
rd
byte (01): ReportType
4
th
byte (A0): Battery-3.2V (Low battery), A0(HEX)=32(DEC),32*0.1v=3.2v //The bit7 is 1,represent low battery
5
th
6
th
byte (FF39): Temperature--19.9
o
C , 0x10000-0xFF39=0xC7 (HEX), 0xC7 (HEX)=199(DEC) , -199x0.1°C= -19.9°C
7
th
8
th
byte (FF36): Temperature--20.2 °C ,0x10000-0xFF36=0xCA
(HEX), 0Xca (HEX)= 202(DEC),-202*0.1°C = -20.2°C
9
th
-11
th
byte (0000000): Reserved
Tips
1. Battery Voltage:
The voltage value is bit 0 ~ bit 6, bit 7=0 is normal voltage, and bit 7=1 is low voltage.
Battery=0xA0, binary=1010 0000, if bit 7= 1, it means low voltage.
The actual voltage is 0010 0000 = 0x20 = 32, 32*0.1v =3.2v
2. Version Packet:
When Report Type=0x00 is the version packet, such as 0114000A0B202005200000, the firmware version is 2020.05.20
3. Data Packet:
When Report Type=0x01 is data packet.
4. Signed Value:
When the temperature is negative, 2's complement should be calculated.