8
Example of
GlobalCalibrateCmd Configuration
FPort
:
0x0E (Port:14)
Description
Cmd
ID
Sensor
Type
PayLoad(Fix =9 Bytes)
SetGlobal
CalibrateReq
0x01
0x01
0x35
Channel(1Byte)
0_Channel1,
1_Channel2,etc
Multiplier
(2bytes,Unsigned)
Divisor
(2bytes,Unsigned)
DeltValue
(2bytes,Signed)
Reserved
(2Bytes,Fixed
0x00)
SetGlobal
CalibrateRsp
0x81
Channel(1Byte)
0_Channel1,
1_Channel2,etc
Status
(1Byte,0x00_success)
Reserved
(7Bytes,Fixed 0x00)
GetGlobal
CalibrateReq
0x02
Channel
(1Byte,0_Channel1,1_Channel2,etc)
Reserved
(8Bytes,Fixed 0x00)
GetGlobal
CalibrateRsp
0x82
Channel(1Byte)
0_Channel1,
1_Channel2,etc
Multiplier
(2bytes,Unsigned)
Divisor
(2bytes,Unsigned)
DeltValue
(2bytes,Signed)
Reserved
(2Bytes,Fixed
0x00)
ClearGlobal
CalibrateReq
0x03
Reserved
(10Bytes,Fixed 0x00)
ClearGlobal
CalibrateRsp
0x83
Status
(1Byte,0x00_success)
Reserved
(9Bytes,Fixed 0x00)
SensorType
Temperature 0x01
Air Press Sensor 0x35
The following example is 0x35 atmospheric pressure of GlobalCalibrateCmd.
(1)
If the R720C detects is 1000 hPa and the actual atmospheric pressure is 999 hPa, it means the calibration we want to make is
-1hPa.
Configure R720C device parameter Channel = 01
、
Multiplier = 000A
、
Divisor = 0000
、
DeltValue = FFFF(-1)
(The calibration data is 000A*FFFF = -10)
Downlink:
013501000A0000FFFF0000
Device return:
Uplink: 8135010000000000000000 (configuration success)
Uplink: 8135010100000000000000 (configuration failure)