7
5.1 Example of ReportDataCmd
FPort
:
0x06
Bytes
1
1
1
Var(Fix=8 Bytes)
Version
DeviceType
ReportType
NetvoxPayLoadData
Version
– 1 byte –0x01
——
the Version of NetvoxLoRaWAN Application Command Version
DeviceType
– 1 byte – Device Type of Device
The devicetype is listed in Netvox LoRaWAN Application Devicetype doc
ReportType
– 1 byte –the presentation of the NetvoxPayLoadData
,
according the devicetype
NetvoxPayLoadData
– Fixed bytes (Fixed =8bytes)
Device
Device
type
Report
type
NetvoxPayloadData
R718UBD
0xBB
0x01
Battery
(1Byte)
unit:0.1V)
Temperature
(Signed 2Bytes)
unit:0.01°C
Humidity
(2Bytes)
unit:0.01%
CO2
(2Bytes)
unit:1ppm
ShockEvent
(1Byte)
0x00_NoShock
0x01_ Shock
0x02
Battery
(1Byte, unit:0.1V)
AirPressure
(4Bytes,unit:0.01hPa)
illuminance
(3Bytes,unit:1Lux)
0x03
Battery
(1Byte)
unit:0.1V
PM2.5
(2Bytes)
Unit:1 ug/m
3
PM10
(2Bytes)
Unit: 1ug/m
3
TVOC
(2Bytes)
Unit:1ppb
Reserved
(1Byte)
fixed 0x00
R718UBD12357 report example:
# Report data 1: 01BB0100097A151F020C01
1
st
byte (01): Version
2
nd
byte (BB): DeviceType 0xBB
-
R718UBD Series
3
rd
byte (01): ReportType
4
th
byte (00): Battery
-
0x00 means is powered by DC power source
5
th
6
th
byte (097A): Temperature
-
24.6°C ,097A(HEX)=2426(DEC),2426*0.01°C =24.26°C
7
th
8
th
byte (151F): Humidity
-
54.07% ,
151F(HEX)=5407(DEC),5407*0.01%=54.07%
9
th
10
th
byte (020C): CO2
-
524ppm , 020C(HEX)=524(DEC),524*1ppm=524ppm
11
th
byte (01): Shock Event
-
1 , Shock
# Report data 2: 01BB02000001870F000032
1
st
byte (01): Version
2
nd
byte (BB): DeviceType 0xBB
-
R718UBD Series