Example Of Configurecmd - netvox R718IA User Manual

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

Advertisement

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)
Description
Device CmdID
Config
0x01
ReportReq
Config
0x81
ReportRsp
ReadConfig
R718IA
0x02
ReportReq
ReadConfig
0x82
ReportRsp
(1) Configure device parameters MinTime = 1min, MaxTime = 1min, BatteryChange = 0.1v, ADCRawValue Change=100mV
Downlink: 0120003C003C0101640000
Device returns:
8120000000000000000000 (configuration successful)
8120010000000000000000 (configuration failed)
(2) Read device parameters
Downlink: 0220000000000000000000
Device returns:
8220003C003C0101640000 (current device parameters)
=36 D
36*0.1v=3.6v
ex
ec
1
DeviceType
Device
Type
MinTime
(2bytes Unit:s)
Status(0x00_success)
0x20
MinTime
(2bytes Unit:s)
003C(H
ex)
=1250 D
ex
ec
Var (Fix =9 Bytes)
NetvoxPayLoadData
NetvoxPayLoadData
MaxTime
Battery Change
(2bytes Unit:s)
(1byte Unit:0.1v)
Reserved (9Bytes,Fixed 0x00)
Battery
MaxTime
Change
(2bytes Unit:s)
(1byte Unit:0.1v)
= 60(D
1F4(H
= 500(D
ec);
ex)
6
ADCRawValue Change
(2bytes Unit:1mV)
Reserved (8Bytes,Fixed 0x00)
ADCRawValue Change
(2bytes Unit: 1mV)
ec)
Reserved
(2Bytes,Fixed 0x00)
Reserved
(2Bytes,Fixed 0x00)

Advertisement

Table of Contents
loading

Table of Contents