6
5.1 Example of Report Data Cmd
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: 014C011C01000000000000
1
st
byte (01): Version
2
nd
byte (4C): DeviceType 0x4C
-
R311CA (R313CA)
3
rd
byte (01): ReportType
4
th
byte (1C): Battery
-
2.8v , 1C H
ex
=28 D
ec
28*0.1v=2.8v
5
th
byte (01): Alarm
6
th
byte (00): No Alarm
7
th
~ 11
th
byte (0000000000): Reserved
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
R311CA
0x4C
0x01
Battery
(1Byte, unit:0.1V)
Status1
(1Byte 0:off 1:on)
Status2
(1Byte 0:off 1:on)
Reserved
(5Bytes, fixed 0x00)