Example Of Reportdatacmd - netvox R718J User Manual

Wireless dry contact interface
Hide thumbs Also See for R718J:
Table of Contents

Advertisement

Data report configuration and sending period are as following:
Min. Interval
(Unit:second)
Any number between
1~65535

5.1 Example of ReportDataCmd

FPort:0x06
Bytes
1
Version
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)
Tips
1. Battery Voltage:
The voltage value is bit 0 ~ bit 6, bit 7=0 is normal voltage, and bit 7=1 is low voltage.
Battery=0xA0, binary=1010 0000, if bit 7= 1, it means low voltage.
The actual voltage is 0010 0000 = 0x20 = 32, 32*0.1v =3.2v
2. Version Packet:
When Report Type=0x00 is the version packet, such as 0121000A0B202005200000, the firmware version is 2020.05.20
3. Data Packet:
When Report Type=0x01 is data packet.
Device
Device
Type
R718J
0x21
Max. Interval
(Unit:second)
Any number between
1~65535
1
DeviceType
ReportType
Report
Type
SoftwareVersion(1Byte)
0x00
Eg.0x0A—V1.0
Battery
0x01
(1Byte,unit:0.1V)
Reportable Change
Can not be 0.
1
NetvoxPayLoadData
HardwareVersion
(1Byte)
Status
(1Byte 0:off 1:on)
5
Current Change<
Current Change≥
Reportable Change
Reportable Change
Report
per Min. Interval
Var(Fix=8 Bytes)
NetvoxPayLoadData
DateCode
(4Bytes,eg0x20170503)
(6Bytes,fixed 0x00)
Report
per Max. Interval
Reserved
(2Bytes,fixed 0x00)
Reserved

Advertisement

Table of Contents
loading

Table of Contents