
API Operation
Frame descriptions
XBee/XBee-PRO® S2C ZigBee® RF Module
183
Data Sample Rx Indicator frame - 0x92
Description
When the device receives an I/O sample frame from a remote device, it sends the sample out the
serial port using this frame type (when
AO
=0). Only modules running in API mode will send I/O
samples out the serial port.
Format
The following table provides the contents of the frame. For details on frame structure, see
Frame data
fields
Offset Description
Frame type
3
0x92
64-bit source
address
4-11
MSB first, LSB last. The sender's 64-bit address.
16-bit Source
network
address
12-13
MSB first, LSB last. The sender's 16-bit address.
Reserved
12-13
Reserved, will be 0xFFFE.
Receive
options
14
Bit field:
0x01 = Packet acknowledged
0x02 = Packet is a broadcast packet
Ignore all other bits
Number of
samples
15
The number of sample sets included in the payload. Always set to 1.
Digital
channel mask
1
16-17
Bitmask field that indicates which digital I/O lines on the remote have
sampling enabled, if any.
Analog
channel mask
2
18
Bitmask field that indicates which analog I/O lines on the remote have
sampling enabled, if any.
Digital
samples (if
included)
19-20
If the sample set includes any digital I/O lines (Digital channel mask > 0),
these two bytes contain samples for all enabled digital I/O lines. DIO lines
that do not have sampling enabled return 0. Bits in these two bytes map
the same as they do in the Digital channel mask field.
1
N/A N/A N/A CD/DIC12 PWM/DI011 RSSI/DIO10 N/A N/A
CTS/DI07 RTS/DI06 ASSOC/DI05 DI04 AD3/DI03 AD2/DI02 AD1/DIO1 AD0/DIO0
2
Supply Voltage N/A N/A N/A AD3 AD2 AD1 AD0