6
5.1 Example of ReportDataCmd
FPort
:
0x06
Bytes
1
1
1
Var(Fix=8 Bytes)
Version
DeviceType
ReportType
NetvoxPayLoadData
Version
– 1 bytes –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)
PayLoadData
– var bytes (Max=9bytes)
Version
Device
Type
Report
Type
NetvoxPayLoadData
0x01
0x73
0x01
OnOff (1Byte)
OFF_0x00
ON_0x01
Energy
(4Bytes)
unit:1wh
OverCurrentAlarm
(1Byte)
0:noalarm 1:alarm
※1
DashCurrentAlarm
(1Byte)
0:noalarm 1:alarm
※2
PowerOffAlarm
(1Byte)
0:noalarm 1:alarm
0x02
Vol
(2Bytes,Unit:1V)
Current
(2Bytes,Unit:1mA)
Power
(2Bytes,Unit:1W)
Reserved
(2Bytes,fixed 0x00)
※1
R816B does not support
Dash Current Alarm
.
※2
R816B does not support
Power Off Alarm
.
First uplink reports 0173010000000006000000 and after 10 seconds, the second uplink reports 01730200DB006400160000
The status of the switch is off.
The accumulated value of the energy is 6WH.
The over current does not alarm
The voltage is 219V
00DB(H
ex
)=219 (D
ec
)
The current is 100mA 0064(H
ex
)=100(D
ec
)
The power is 22W 0016(H
ex
)=22(D
ec
)