Apply Command Changes; Make Command Changes Permanent; Exit Command Mode; Micropython Mode - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

Modes
ATAP1<cr>
OK<cr>
When reading parameters, the device returns the current parameter value instead of an OK message.
ATAP<cr>
1<cr>

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
AC (Apply
2. Send
WR
(Write).
or:
3.
Exit Command

Make command changes permanent

Send a
WR (Write)
so that parameter modifications persist through subsequent resets.
Send as
RE (Restore Defaults)
Note
You still have to use WR to save the changes enacted with RE.

Exit Command mode

1. Send
CN (Exit Command mode)
or:
2. If the device does not receive any valid AT commands within the time specified
(Command Mode
timeout is 10 seconds.
For an example of programming the device using AT Commands and descriptions of each configurable
parameter, see
AT

MicroPython mode

MicroPython mode (AP = 4) allows you to communicate with the XBee Smart Modem using the
MicroPython programming language. You can use the MicroPython Terminal tool in XCTU to
communicate with the MicroPython stack of the XBee Smart Modem through the serial interface.
MicroPython mode connects the primary serial port to the stdin/stdout interface on MicroPython,
which is either the REPL or code launched at startup.
When code runs in MicroPython with AP set to a value other than 4, stdout goes to the bit bucket and
there is no input to read on stdin.
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Changes).
mode.
command to save the changes. WR writes parameter values to non-volatile memory
to wipe settings saved using WR back to their factory defaults.
followed by a carriage return.
Timeout), it returns to Transparent or API mode. The default Command mode
commands.
MicroPython mode
by CT
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents