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)
Device
Device
Type
Report
Type
NetvoxPayLoadData
R313CB
0x56
0x01
Battery
(1Byte, unit:0.1V)
Status1
(1Byte 0:off 1:on)
Status2
(1Byte 0:off 1:on)
Reserved
(5Bytes,fixed 0x00)
Example 1 of Uplink: 0156011E01000000000000
1
st
byte (01): Version
2
nd
byte (56): DeviceType 0x56
-
R313CB
3
rd
byte (01): ReportType
4
th
byte (1E): Battery
-
3v ,1E Hex=30 Dec 30*0.1v=3.0v
5
th
byte (01): Status1
-
on
6
th
byte (00): Status2
-
off
7
th
-11
th
byte (0000000000): Reserved
Example 2 of Uplink: 0156019700010000000000
1
st
byte (01): Version
2
nd
byte (56): DeviceType 0x56
-
R313CB
3
rd
byte (01): ReportType
4
th
byte (97): Battery
-
2.3v ,17 Hex=23 Dec 23*0.1v=2.3v
// The bit7 is 1 represent low battery, bit6-bit0 represent battery voltage
5
th
byte (00): Status1
-
off
6
th
byte (01): Status2
-
on
7
th
-11
th
byte (0000000000): Reserved