I/O Sampling Commands; Is (I/O Sample) - Digi XBee 3802.15.4 User Manual

Radio frequency (rf) module
Table of Contents

Advertisement

AT commands
Parameter range
0, 0x14 - 0xFF (x 10 ms)
Default
0

I/O sampling commands

The following commands configure I/O sampling on an originating device. Any I/O sample generated
by this device is sent to the address specified by DH and DL. You must configure at least one I/O line as
an input or output for a sample to be generated.

IS (I/O Sample)

Immediately forces an I/O sample to be generated for the digital and analog I/O lines that are
configured for the local device. If you issue the command to the local device, the sample data is sent
out the local serial interface. If sent remotely, the sample is taken on the destination and the sample
data is returned as an
If the device receives ERROR as a response to an IS query, there are no valid I/O lines to sample.
Refer to
On-demand sampling
Standard I/O capability
If
AO (API Output Options)
(DIO0/ADC0/Commissioning Configuration)
analog channels: AD0/DIO0 - AD3/DIO3.
When operating in Transparent mode
returned in the following format:
All bytes are converted to ASCII:
number of samples<CR>
AIO/DIO mask (Bits 0 - 8 are digital I/O; Bits 9 - 12 analog channels)<CR>
DIO data<CR> (If DIO lines are enabled)
ADC channel Data<CR> (This will repeat for every enabled ADC channel)
<CR> (end of data noted by extra <CR>)
When operating in API mode (AP = 1), the command immediately returns an OK response. The data
follows in the normal API format for DIO data.
Extended I/O capability
If A0 is set to 0 or 1, the XBee 3 802.15.4 RF Module's IS I/O options are
(DIO0/ADC0/Commissioning Configuration)
(DIO10/RSSI/PWM0 Configuration)
AD0/DIO0 - AD3/DIO3.
When operating in Transparent mode (AP = 0 and AO = 0, AO = 1), the data is returned in the following
format:
All bytes are converted to ASCII:
number of samples<CR>
DIO mask (Bits 0 - 14 are digital I/O<CR>
AIO mask (Bits 0 - 3 are Analog channels<CR>
DIO data<CR> (If DIO lines are enabled)
Digi XBee® 3 802.15.4 RF Module User Guide
AT Command Response frame -
for more information on using this command and examples.
is set to 2, the XBee 3 802.15.4 RF Module's IS I/O options are
-
D8 (DIO8/DTR/SLP_Request Configuration)
(AP (API Enable)
-
D9 (DIO9/ON_SLEEP Configuration)
-
P4 (DIO14/UART_DIN Configuration)
I/O sampling commands
0x88.
= 0 and
AO (API Output Options)
D0
and four analog channels
D0
and four
= 2), the data is
and
P0
165

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 802.15.4

Table of Contents