Frame descriptions
I/O Data Sample Rx Indicator frame - 0x92
Description
When you enable periodic I/O sampling or digital I/O change detection on a remote device, the UART
of the device that receives the sample data sends this frame out.
Format
The following table provides the contents of the frame. For details on frame structure, see
format.
Frame data fields
Frame type
64-bit source
address
Reserved
Receive options
Number of samples 15
Digital channel
mask
Analog channel
mask
Digital samples (if
included)
Analog sample
Example
In the following example, the device receives an I/O sample from a device with a 64-bit serial number
of 0x0013A20040522BAA.
The configuration of the transmitting device takes a digital sample of a number of digital I/O lines and
an analog sample of AD1. It reads the digital lines to be 0x0014 and the analog sample value is 0x0225.
The complete example frame is:
7E00 1492 0013 A200 4052 2BAA FFFE 0101 001C 0200 1402 25F9
Digi XBee3® 802.15.4 RF Module User Guide
Offset Description
3
0x92
The sender's 64-bit address.
4-11
12-13
Reserved.
Bit field:
14
0x01 = Packet acknowledged
0x02 = Packet is a broadcast packet
Ignore all other bits
The number of sample sets included in the payload. Always set to 1.
16-17
Bitmask field that indicates which digital I/O lines on the remote have
sampling enabled, if any.
18
Bitmask field that indicates which analog I/O lines on the remote
have sampling enabled, if any.
If the sample set includes any digital I/O lines (Digital channel mask >
19-20
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.
21-n
If the sample set includes any analog I/O lines (Analog channel mask >
0), each enabled analog input returns a 2-byte value indicating the A/D
measurement of that input. Analog samples are ordered sequentially
from ADO/DIO0 to AD3/DIO3.
I/O Data Sample Rx Indicator frame - 0x92
API frame
162
Need help?
Do you have a question about the XBee3 802.15.4 and is the answer not in the manual?