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
RA02C
0x11
0x01
Battery
(1Byte, unit:0.1V)
CO Alarm (1Byte)
0:no alarm 1:alarm
HighTempAlarm (1Byte)
0:noalarm 1:alarm
Reserved
(5Bytes,fixed 0x00)
Example of Uplink: 0111011C01010000000000
1
st
byte (01): Version
2
nd
byte (11): DeviceType 0x11
-
RA02C
3
rd
byte (01): ReportType
4
th
byte (1C): Battery
-
2.8v , 1C Hex=28 Dec 28*0.1v=2.8v
5
th
byte (01): CO Alarm
6
th
byte (01): High Temperature Alarm
7th ~ 11th byte (0000000000): 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)