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 :0197012201000000000000
Byte
Value
Attribute
Result
Resolution
1st
01
Version
1
-
2nd
97
DeviceType
97
-
3rd
01
ReportType
1
-
4th
22
Battery
3.4v
22(HEX)=34(DEC),34*0.1v=3.4v
5th
01
Status
on
-
6th~11th
000000000000
Reserved
-
-
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)
Device
Device
Type
Report
Type
NetvoxPayLoadData
R718PQ
0x97
0x01
Battery
(1Byte, unit:0.1V)
Status
(1Byte 0:off 1:on)
Reserved
(6Bytes,fixed 0x00)