6
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)
#Uplink 1:
01BE000A0B202005200000 // Version report
1
st
byte (01): Version
2
nd
byte(BE): DeviceType 0xBE
-
R718WAA
3
rd
byte (00): ReportType
4
th
byte(0A): Software Version, V1.0
5
th
byte (0B): Hardware Version, V1.1
6
th
~9
th
byte (20200520): DateCode,2020.05.20
10
th
11
th
byte (0000): Reserved
#Uplink 2: 01BE012406701A9E010000 // Status report
1
st
byte (01): Version
2
nd
byte(BE): DeviceType 0xBE
-
R718WAA
3
rd
byte (01): ReportType
4
th
byte(24): Battery
-
3.6V, 24(Hex) = 36(Dec), 36x0.1v=3.6v
5
th
6
th
byte (0670): Temperature
-
16.48 °C , 0670(Hex)=1648(Dec), 1648x0.01°C = 16.48°C
7
th
8
th
byte (1A9E): Humidity
-
68.14%, 1A9E(Hex)=6814(Dec), 6814x0.01% = 68.14%
9
th
byte(01): Status
-
1:on (leak)
10
th
11
th
byte (0000): Reserved
Version
Device
Type
Report
Type
NetvoxPayLoadData
01
0xBE
0x00
SoftwareVersion
(1Byte)
Eg.0x0A—V1.0
HardwareVersion
(1Byte)
DateCode
(4Bytes)
eg 0x20170503
Reserved
(2Bytes)
fixed 0x00
0x01
Battery
(1Byte)
unit:0.1V
Temperature
(Signed2 Bytes)
unit:0.01°C
Humidity
(2Bytes)
unit:0.01%
Status
(1Byte)
0:off 1:on
Reserved
(2Bytes)
fixed 0x00