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

Wireless co detector
Hide thumbs Also See for RA02C:
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
Report
Device
Type
Type
RA02C
0x11
0x01
Example of Uplink: 0111011C01010000000000
st
1
byte (01): Version
nd
2
byte (11): DeviceType 0x11- RA02C
rd
3
byte (01): ReportType
th
4
byte (1C): Battery-2.8v , 1C Hex=28 Dec
th
5
byte (01): CO Alarm
th
6
byte (01): High Temperature Alarm
7th ~ 11th byte (0000000000): Reserved

Example of ConfigureCmd

5.2
FPort:0x07
Bytes
1
CmdID
CmdID– 1 byte
DeviceType– 1 byte – Device Type of Device
NetvoxPayLoadData– var bytes (Max=9bytes)
1
1
DeviceType
ReportType
Battery
CO Alarm (1Byte)
(1Byte, unit:0.1V)
0:no alarm 1:alarm
28*0.1v=2.8v
1
DeviceType
Var(Fix=8 Bytes)
NetvoxPayLoadData
NetvoxPayLoadData
HighTempAlarm (1Byte)
0:noalarm 1:alarm
Var (Fix =9 Bytes)
NetvoxPayLoadData
6
Reserved
(5Bytes,fixed 0x00)

Advertisement

Table of Contents
loading

Table of Contents