
Modes
Command mode
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
45
There are two alternative ways to enter Command mode:
n
A serial break for six seconds enters Command mode. The "break" command can be issued
from a serial console, and is often a button or menu item.
n
Asserting DIN (serial break) upon power up or reset enters Command mode. XCTU guides you
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 the
BD
parameter 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 the IP protocol to SMS.
Response to AT commands
When reading parameters, the device returns the current parameter value instead of an
OK
message.
Apply command changes
Any changes you make to the configuration command registers using AT commands do not take effect
until you apply the changes. For example, if you send the
BD
command to change the baud rate, the
actual baud rate does not change until you apply the changes. To apply changes:
1. Send the
AC
(Apply Changes) command.
or:
2. Exit Command mode.
Make command changes permanent
Issue a
command to save the changes. WR writes parameter values to non-volatile
memory so that parameter modifications persist through subsequent resets.
Exit Command mode
1. Send the
CN
(Exit Command Mode) command followed by a carriage return.
or: