Example Of Reportdatacmd; Example Of Configurecmd - netvox R718IA User Manual

Wireless 0-5v adc sampling interface
Hide thumbs Also See for R718IA:
Table of Contents

Advertisement

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)
Device
Device
Type
R718IA
0x20
Uplink: 0120012404E20000000000
st
1
byte (01): Version
nd
2
byte (20): DeviceType 0x20 ,R718IA
rd
3
byte (01): Report Type
th
4
byte (24): Battery 3.6v , 24 H
th
th
5
6
byte (04E2): ADC Raw Value = 1250mV, 4E2 H
th
th
7
~ 11
byte (0000000000): Reserved

5.2 Example of ConfigureCmd

FPort:0x07
Bytes
1
CmdID
CmdID– 1 byte
DeviceType– 1 byte – Device Type of Device
NetvoxPayLoadData– var bytes (Max=9bytes)
1
DeviceType
Report Type
Battery
0x01
(1Byte, unit:0.1V)
=36 D
ex
1
DeviceType
1
ReportType
NetvoxPayLoadData
ADCRawValue
(2Bytes,unit:1mv)
36*0.1v=3.6v
ec
=1250 D
ex
Var (Fix =9 Bytes)
NetvoxPayLoadData
6
Var(Fix=8 Bytes)
NetvoxPayLoadData
Reserved
(5Bytes,fixed 0x00)
ec

Advertisement

Table of Contents
loading

Table of Contents