Download IntelliSensing Wireless Sensor Products User Manual

Transcript
IntelliSensing PressureSensorOne/Two 67
User Manual
RSS Reply Data Frame
Start Delimiter
(Byte 1)
Length
(Bytes 2-3)
0x7E
0x00
Frame Data
(Bytes 4-11)
0x08
* The Source Address corresponds
to the last four digits of the sensor’s
serial number.
Source Address
(Bytes 5-6) *
API-specific Structure
1 Byte
XBee API ID
(Byte 4)
XBee ID Data
(Bytes 5-11)
0x81
cmdData
RSSI
(Byte 7)
MSB first, LSB last.
Broadcast = 0xFFFF
Checksum
(Byte 12)
Options
(Byte 8)
Received Signal Strength Indicator.
Hexadecimal equivalent of (-dBm) value.
(i.e. If RSSI = -40dBm, 0x28 or 40 decimal
is returned)
bit 0 [reserved]
bit 1 Address broadcast
bit 2 PAN broadcast
bits 3-7 [reserved]
PS1 API ID
(Byte 9)
PS1 Status
(Byte 10)
PS1 Data
(Byte 11)
0x41
Status
ps1Data
Sesnor RSSI
(Byte 11)
UINT8
Figure 5-34: RS Reply Data Frame Structure
Byte Index
Data Type
10
UINT8
11
UINT8
Description
0x00 - Successful command status.
0x01 - Bad command error.
Received Signal Strength Indicator.
Hexadecimal equivalent of (-dBm) value.
(i.e. 0x28 = -40 dBm)
Table 5-24: RS Reply Data Items
The Sensor RSSI value is a measurement of the sensor’s reception strength of data transmitted from the base station, as opposed to all data frame RSSI values which are measurements of the base station’s reception quality of data from the sensor.