I/O Sampling Commands; Is Command - Digi XBee3 802.15.4 User Manual

Radio frequency (rf) module
Hide thumbs Also See for XBee3 802.15.4:
Table of Contents

Advertisement

AT commands

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 command

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 command
is set to 2, the XBee3 802.15.4 RF Module's IS I/O options are
command
and four analog channels: AD0/DIO0 - AD3/DIO3.
When operating in Transparent mode
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 XBee3 802.15.4 RF Module's IS I/O options are
and
P0 command
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)
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.
Parameter range
N/A
Digi XBee3® 802.15.4 RF Module User Guide
AT Command Response frame -
for more information on using this command and examples.
(AP command
-
P4 command
and four analog channels AD0/DIO0 - AD3/DIO3.

I/O sampling commands

0x88.
D0 command
= 0 and
AO command
= 2), the data is returned in
D0 command
-
D8
-
D9 command
116

Advertisement

Table of Contents
loading

Table of Contents