
Operation
Modes of operation
XBee/XBee-PRO® S2C ZigBee® RF Module
50
To store the new value to non-volatile (long term) memory, send the
WR
(Write) command. This allows
parameter values that you modify to persist in the device's registry after a reset. Otherwise, the
device restores parameters to the previous values after a reset.
Multiple AT commands
You can send multiple AT commands at a time when they are separated by a comma in Command
mode; for example,
ATSH
,
SL
.
Parameter format
Refer to the list of AT commands 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 you send a command to the device, the device parses and runs the command. If the command
runs successfully, the device returns an
OK
message. If the command errors, the device returns an
ERROR
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.
Exit Command mode
1. Send the
CN
(Exit Command Mode) command followed by a carriage return.
or:
2. If the device does not receive any valid AT commands within the time specified by
CT
(Command Mode Timeout), it returns to Idle Mode.
For an example of programming the device using AT Commands and descriptions of each configurable
parameter, see
.
Sleep mode
Sleep modes allow the device to enter states of low power consumption when not in use. The
XBee/XBee-PRO ZigBee RF Module supports both pin sleep (Sleep mode entered on pin transition) and
cyclic sleep (device sleeps for a fixed time).
Sleep modes are discussed in detail in
.