Modes
Command mode
XBee 868LP RF Modules User Guide
81
Multiple AT commands
You can send multiple AT commands at a time when they are separated by a comma in Command
mode; for example,
ATNIMy XBee,AC<cr>
.
The preceding example changes the
NI (Node Identifier)
to
My XBee
and makes the setting active
through
Parameter format
Refer to the list of
for the format of individual AT command parameters. Valid formats
for hexidecimal values include with or without a leading
0x
for example
FFFF
or
0xFFFF
.
Response to AT commands
When using AT commands to set parameters the XBee 868LP RF Module responds with
OK<cr>
if
successful and
ERROR<cr>
if not.
For devices with a file system:
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
.
2. Send
or:
3.
Make command changes permanent
Send a
command to save the changes.
WR
writes parameter values to non-volatile memory
so that parameter modifications persist through subsequent resets.
Send as
to wipe settings saved using
WR
back to their factory defaults.
Note
You still have to use
WR
to save the changes enacted with
RE
.
Exit Command mode
1. Send
followed by a carriage return.
or:
2. If the device does not receive any valid AT commands within the time specified by
, it returns to Transparent or API mode. The default Command mode
timeout is 10 seconds.