Product Manual

XBee/XBeePRO™OEMRFModules‐802.15.4‐v1.xAx[2007.05.031]
©2007MaxStream,Inc. 31
Chapter3‐RFModuleConfiguration
*Firmwareversioninwhichthecommandwasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
I/O Settings
PR (v1.x80*)
Serial
Interfacing
Pull-up Resistor Enable. Set/Read bitfield to configure internal pull-up resistor status
for I/O lines
Bitfield Map:
bit 0 - AD4/DIO4 (pin11)
bit 1 - AD3 / DIO3 (pin17)
bit 2 - AD2/DIO2 (pin18)
bit 3 - AD1/DIO1 (pin19)
bit 4 - AD0 / DIO0 (pin20)
bit 5 - RTS / AD6 / DIO6 (pin16)
bit 6 - DTR / SLEEP_RQ / DI8 (pin9)
bit 7 - DIN/CONFIG (pin3)
Bit set to “1” specifies pull-up enabled; “0” specifies no pull-up
0 - 0xFF 0xFF
Table306. XBeePROCommands‐I/OSettings(subcategorydesignatedwithin{brackets})
AT
Command
Command
Category
Name and Description Parameter Range Default
D8 I/O Settings DI8 Configuration. Select/Read options for the DI8 line (pin 9) of the RF module.
0 - 1
0 = Disabled
3 = DI
(1,2,4 & 5 n/a)
0
D7 (v1.x80*) I/O Settings
DIO7 Configuration. Select/Read settings for the DIO7 line (pin 12) of the RF module.
Options include CTS flow control and I/O line settings.
0 - 1
0 = Disabled
1 = CTS Flow Control
2 = (n/a)
3 = DI
4 = DO low
5 = DO high
1
D6 (v1.x80*) I/O Settings
DIO6 Configuration. Select/Read settings for the DIO6 line (pin 16) of the RF module.
Options include RTS flow control and I/O line settings.
0 - 1
0 = Disabled
1 = RTS flow control
2 = (n/a)
3 = DI
4 = DO low
5 = DO high
0
D5 (v1.x80*) I/O Settings
DIO5 Configuration. Configure settings for the DIO5 line (pin 15) of the RF module.
Options include Associated LED indicator (blinks when associated) and I/O line
settings.
0 - 1
0 = Disabled
1 = Associated indicator
2 = ADC
3 = DI
4 = DO low
5 = DO high
1
D0 - D4
(v1.xA0*)
I/O Settings
(DIO4 -DIO4) Configuration. Select/Read settings for the following lines: AD0/DIO0
(pin 20), AD1/DIO1 (pin 19), AD2/DIO2 (pin 18), AD3/DIO3 (pin 17), AD4/DIO4 (pin 11).
Options include: Analog-to-digital converter, Digital Input and Digital Output.
0 - 1
0 = Disabled
1 = (n/a)
2 = ADC
3 = DI
4 = DO low
5 = DO high
0
IU (v1.xA0*) I/O Settings
I/O Output Enable. Disables/Enables I/O data received to be sent out UART. The data
is sent using an API frame regardless of the current AP parameter value.
0 - 1
0 = Disabled
1 = Enabled
1
IT (v1.xA0*) I/O Settings
Samples before TX. Set/Read the number of samples to collect before transmitting
data. Maximum number of samples is dependent upon the number of enabled inputs.
1 - 0xFF 1
IS (v1.xA0*) I/O Settings
Force Sample. Force a read of all enabled inputs (DI or ADC). Data is returned through
the UART. If no inputs are defined (DI or ADC), this command will return error.
8-bit bitmap (each bit
represents the level of an I/O
line setup as an output)
-
IO (v1.xA0*) I/O Settings
Digital Output Level. Set digital output level to allow DIO lines that are setup as
outputs to be changed through Command Mode.
--
IC (v1.xA0*) I/O Settings
DIO Change Detect. Set/Read bitfield values for change detect monitoring. Each bit
enables monitoring of DIO0 - DIO7 for changes. If detected, data is transmitted with
DIO data only. Any samples queued waiting for transmission will be sent first.
0 - 0xFF [bitfield] 0 (disabled)
IR (v1.xA0*) I/O Settings
Sample Rate. Set/Read sample rate. When set, this parameter causes the module to
sample all enabled inputs at a specified interval.
0 - 0xFFFF [x 1 msec] 0
AV (v1.xA0*) I/O Settings ADC Voltage Reference. <XBee-PRO only> Set/Read ADC reference voltage switch.
0 - 1
0 = VREF pin
1 = Internal
0
Table305. XBeePROCommands‐SerialInterfacing
AT
Command
Command
Category
Name and Description Parameter Range Default