Ic (Dio Change Detect); Ir (Sample Rate); Ia (I/O Input Address) - Digi XBee User Manual

S1 802.15.4 (legacy) rf modules
Hide thumbs Also See for XBee:
Table of Contents

Advertisement

AT commands

IC (DIO Change Detect)

Set or read the digital I/O pins to monitor for changes in the I/O state.
Each bit enables monitoring of DIO0 - DIO7 for changes. If detected, data is transmitted with DIO data
only. Any samples queued waiting for transmission is sent first.
See
ADC and Digital I/O line support
Note
Minimum firmware version required: 1.xA0. Firmware versions are numbered in hexadecimal
notation.
Parameter range
0 - 0xFF (bit field)
0 - 0xFFFF
Default
0 (disabled)

IR (Sample Rate)

Set or read the I/O sample rate to enable periodic sampling. When set, this parameter samples all
enabled DIO/ADC lines at a specified interval.
This command allows periodic reads of the ADC and DIO lines in a non-Sleep Mode setup. We do not
recommend a sample rate that requires transmissions at a rate greater than once every 20 ms.
Example: When IR = 0x14, the sample rate is 20 ms (or 50 Hz).
Note
Minimum firmware version required: 1.xA0. Firmware versions are numbered in hexadecimal
notation.
If you set the I/O sample rate to greater than 0, the device samples and transmits all enabled digital
I/O and analog inputs every IR milliseconds. I/O Samples transmit to the address specified by DT.
WARNING! If you set IR to 1 or 2, the device will not keep up and many samples will be
lost.
Parameter range
0 - 0xFFFF (x 1 ms)
Default
0

IA (I/O Input Address)

Sets or displays addresses of module to which outputs are bound. Setting all bytes to 0xFF will not
allow any received I/O packet to change outputs. Setting the address to 0xFFFF allows any received
I/O packet to change outputs.
You can use the IA command to set or read both 16 and 64-bit addresses.
XBee/XBee-PRO S1 802.15.4 (Legacy) User Guide
for more information about the IC command.
I/O settings commands
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro

Table of Contents