I/O support
Output Field
01
0C 0C
03
I/O sample
data
04 08
03 D0
01 24
68
Checksum
Example: Remote AT command in API mode
The IS command sent to a remote device with an address of 0013A200 12345678 uses
Command Request frame -
7E 00 0F 17 87 00 13 A2 00 12 34 56 78 FF FE 00 49 53 FF
The
sample data
from the device is returned in
with the sample data as the parameter value:
7E 00 19 97 87 00 13 A2 00 12 34 56 78 00 00 49 53 00 01 0C 0C 03 04 08 03 FF 03 FF 50
Output
7E
00 19
97
87
0013A200
12345678
0000
49 53
00
Digi XBee® 3 Zigbee® RF Module
Description
One sample set
Digital channel mask, indicates which digital lines are sampled
(0x0C0C = 0000 1100 0000 1100b = DIO2, 3, 10, 11)
Analog channel mask, indicates which analog lines are sampled
(0x03 = 0000 0011b = AD0, 1)
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
Analog sample data for AD0
Analog sample data for AD1
Can safely be discarded on received frames
0x17:
Field
Description
Start
Indicates the beginning of an API frame
Delimiter
Length
Length of the packet
Frame type
Remote AT Command response frame
Frame ID
This ID corresponds to the Frame ID of the 0x17 request
64-bit
The 64-bit address of the node that responded to the request
source
16-bit
The 16-bit address of the node that responded to the request
source
AT
Indicates the AT command that this response corresponds to
0x49 0x53 = IS
Command
Status
Indicates success or failure of the AT command
00 = OK
if no I/O lines are enabled, this will return 01 (ERROR)
a Remote Command Response frame - 0x97
On-demand sampling
a Remote AT
frame
173
Need help?
Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?