Troubleshooting; Send At Commands - Digi XBee XTC User Manual

Digimesh radio frequency (rf) module
Hide thumbs Also See for XBee XTC:
Table of Contents

Advertisement

Modes
Note
Do not press Return or Enter after typing +++ because it interrupts the guard time silence and
prevents you from entering Command mode.
When the device is in Command mode, it listens for user input and is able to receive AT commands on
the UART. If CT time (default is 10 seconds) passes without any user input, the device drops out of
Command mode and returns to the previous operating mode. You can force the device to leave
Command mode by sending
You can customize the command character, the guard times and the timeout in the device's
configuration settings. For more information,
Timeout) and GT (Guard
When the device is in Command mode, it listens for user input and is able to receive AT commands on
the UART. If CT time (default is 10 seconds) passes without any user input, the device drops out of
Command mode and returns to the previous operating mode. You can force the device to leave
Command mode by sending
You can customize the command character, the guard times and the timeout in the device's
configuration settings. For more information,
Mode Timeout) and GT (Guard

Troubleshooting

Failure to enter Command mode is often due to baud rate mismatch. Ensure that the baud rate of the
connection matches the baud rate of the device. By default,
Failure to enter Command mode is often due to baud rate mismatch. Ensure that the baud rate of the
connection matches the baud rate of the device. By default,
There are two alternative ways to enter Command mode:
A serial break for six seconds enters Command mode. You can issue the "break" command
n
from a serial console, it is often a button or menu item.
Asserting DIN (serial break) upon power up or reset enters Command mode. XCTU guides you
n
through a reset and automatically issues the break when needed.
Both of these methods temporarily set the device's baud rate to 9600 and return an OK on the UART
to indicate that Command mode is active. When Command mode exits, the device returns to normal
operation at the baud rate that BD is set to.

Send AT commands

Once the device enters Command mode, use the syntax in the following figure to send AT commands.
Every AT command starts with the letters AT, which stands for "attention." The AT is followed by two
characters that indicate which command is being issued, then by some optional configuration values.
To read a parameter value stored in the device's register, omit the parameter field.
The preceding example changes
XBee®/XBee-PRO XTend Compatible (XTC) DigiMesh RF Module User Guide
CN (Exit Command
Mode).
see CC (Command Character), CT (Command Mode
Times).
CN (Exit Command
Mode).
see CC (Command Sequence Character), CT (Command
Times).
NI (Node Identifier)
BD (Baud Rate)
= 3 (9600 b/s).
BD (Interface Data Rate)
to My XBee.
Command mode
= 3 (9600 b/s).
24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro xtc

Table of Contents