User Manual

XBee® Wi-Fi RF Modules
© 2012 Digi International, Inc. 82
AT
Command
Name and Description
Parameter
Range
Default
D8 DIO8 Configuration. Select/Read function for DIO8
0 = Disabled
1 = SleepRq
3 = Digital input,
monitored
4 = Digital output,
default low
5 = Digital output,
default high
1
D9 DIO9 Configuration. Select/Read function for DIO9
0 = Disabled
1 = On/Sleep
indicator
3 = Digital input,
monitored
4 = Digital output,
default low
5 = Digital output,
default high
1
LT
Assoc LED Blink Time. Set/Read the Associate LED blink time. If the Associate LED
functionality is enabled (D5 command), this value determines the on and off blink
times for the LED when the module has joined a network. If LT=0, the default blink
rate of 250ms will be used. For all other LT values, LT is measured in 10ms.
0, 0x14 - 0xFF (200 -
2550 ms)
0
PR
Pull-up Resistor
. Set/read the bit field that configures the internal resistor status for
the I/O lines. "1" specifies the resistor is enabled. "0" specifies no resistor. The PD
command specifies whether the resistor is pull-up or pull-down.
Bits:*
0 DIO4 (Pin 11)
1 DIO3 / AD3 (Pin 17)
2 DIO2 /AD2 (Pin 18)
3 DIO1/AD1 (Pin 19)
4 DIO0 / AD0 (Pin 20)
5 DIO6 / RTS (Pin 16)
6 DIO8 / DTR / Sleep Request (Pin 9)
7 DIN / Config (Pin 3)
8 DIO5 / Associate (Pin 15)
9 DIO9 / On/Sleep (Pin 13)
10 DIO12 (Pin 4)
11 DIO10 / PWM0 (Pin 6)
12 DIO11/PWM1 (Pin 7)
13 DIO7 / CTS (Pin 12)
0 - 0x7FFF 0x7FFF
PD
Pull Direction. Set/Read resistor direction for the corresponding bits set in PR. If the
bit is not set in PR, then PD is unused.
0 0x7FFF 0x7FFF
DS
Drive Strength
Set/Read the output drive strength (output amperes) for DIO lines.
Bits are mapped the same as the PR and PD commands. If the bit is set, the drive
strength is 6mA . Otherwise, it is 2mA.
0 0x7FFF 0
AV
Analog Voltage Reference. Set/Read the analog voltage reference. This specifies
the volts for an analog reading of 0x03ff, where a reading of 0x200 indicates a
voltage input that is half of VREF. VREF may be one of these two values:
0 1.25Volts
1 2.5 Volts
0-1 1
M0
PWM0 Duty cycle. Sets the duty cycle of PWM0 for P0=2, where a value of 0x200 is a
50% duty cycle.
0 0x03FF 0
M1
PWM1 Duty cycle. Sets the duty cycle of PWM1 for P1=2, where a value of 0x200 is a
50% duty cycle.
0 0x03FF 0