I/O support
Output
Description
01
One sample set
0C0C
Digital channel mask, indicates which digital lines are sampled
(0x0C0C = 0000 1100 0000 1100b = DIO2, 3, 10, 11)
03
Analog channel mask, indicates which analog lines are sampled
(0x03 = 0000 0011b = AD0, 1)
0408
Digital sample data that corresponds with the digital channel mask
0x0408 = 0000 0100 0000 1000b = DIO3 and DIO10 are high, DIO2 and DIO11 are low
03D0
Analog sample data for AD0
0124
Analog sample data for AD1
Example: Local AT command in API mode
The IS command sent to a local device in API mode would use
Command - Queue Parameter Value frame - 0x09
7E 00 04 08 53 49 53 08
The device responds with
7E 00 0F 88 53 49 53 00 01 0C 0C 03 04 08 03 D0 01 24 68
Output Field
7E
Start
Delimiter
00 0F
Length
88
Frame type
53
Frame ID
49 53
AT Command
00
Status
Digi XBee® 3 Zigbee® RF Module
frame:
a AT Command Response frame - 0x88
Description
Indicates the beginning of an API frame
Length of the packet
AT Command response frame
This ID corresponds to the Frame ID of the 0x08 request
Indicates the AT command that this response corresponds to
0x49 0x53 = IS
Indicates success or failure of the AT command
00 = OK
if no I/O lines are enabled, this will return 01 (ERROR)
On-demand sampling
a AT Command frame - 0x08 or AT
that contains the
sample
data:
172
Need help?
Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?
Questions and answers