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
0x0E
0x01
OnOff
(1Byte,
OFF_0x00,ON_0x01)
Energy
(4Byte, unit:1wh)
OverCurrentAlarm
(1Byte,0:noalarm
1:alarm)
DashCurrentAlarm
(1Byte, 0:noalarm
1:alarm)
Reserved
(1Bytes,fixed 0x00)
0x02
Vol
(2Bytes,Unit:1V)
Current
(2Bytes,Unit:1mA)
Power
(2Bytes,Unit:1W)
Reserved
(2Bytes,fixed 0x00)
First uplink reports 010E010000000006000000 and after 10 seconds, the second uplink reports 010E0200DB006400160000
The status of the switch is off.
The accumulated value of the energy is 6WH.
The over current and dash 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 20W 0016(H
ex
)=20(D
ec
)
Example of ConfigureCmd
FPort
:
0x07
Bytes
1
1
Var(Fix =9 Bytes)
CmdID
DeviceType
NetvoxPayLoadData
CmdID
– 1 bytes
DeviceType
– 1 byte – Device Type of Device
NetvoxPayLoadData
– var bytes (Max=9bytes)