7
5.2 Example of ConfigureCmd
FPort
:
0x07
Bytes
1
1
Var(Fix =9 Bytes)
CmdID
DeviceType
NetvoxPayLoadData
CmdID
– 1 byte
DeviceType
– 1 byte – Device Type of Device
NetvoxPayLoadData
– var bytes (Max=9bytes)
(1)
Configure R313CB device parameter MinTime = 1min, MaxTime = 1min, BatteryChange = 0.1v
Downlink
:
0156003C003C0100000000
Device return
:
8156000000000000000000 (configuration success)
8156010000000000000000 (configuration failure)
(2)
Read R313CB device parameter
Downlink
:
0256000000000000000000
Device return
:
8256003C003C0100000000 (device current parameter)
Description
Device
Cmd
ID
Device
Type
NetvoxPayLoadData
Config
ReportReq
R313CB
0x01
0x56
MinTime
(2bytes Unit:s)
MaxTime
(2bytes Unit:s)
BatteryChange
(1byte Unit:0.1v)
Reserved
(4Bytes, Fixed 0x00)
Config
ReportRsp
0x81
Status
(0x00_success)
Reserved
(8Bytes, Fixed 0x00)
ReadConfig
ReportReq
0x02
Reserved
(9Bytes, Fixed 0x00)
ReadConfig
ReportRsp
0x82
MinTime
(2bytes Unit:s)
MaxTime
(2bytes Unit:s)
BatteryChange
(1byte Unit:0.1v)
Reserved
(4Bytes, Fixed 0x00)
Description
Device
Cmd
ID
Device
Type
NetvoxPayLoadData
SetLastMessage
ResendtimeReq
ALL
(0xFF)
only used in
0x1F
0xFF
Resendtime
(1Byte, Unit:1s, range:3-254s),
when 0 or 255 no resend,
default is no resend
Reserved
(8Bytes, Fixed 0x00)