Specifications

XBee®/XBeePRO®SERFModules
©2009DigiInternational,Inc. 112
Sleep Commands
Execution Commands
Where most AT commands set or query register values, execution commands cause an action to
be executed on the module. Execution commands are executed immediately and do not require
changes to be applied.
Nodetypesthatsupportthecommand:C=Coordinator,R=Router,E=EndDevice
SleepCommands
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
SM
Sleep Mode Sets the sleep mode on the RF module. RE
1-Pin sleep enabled
4-Cyclic sleep enabled
5 - Cyclic sleep, pin wake
-
SN
Number of Sleep Periods. Sets the number of sleep periods to not assert the On/Sleep
pin on wakeup if no RF data is waiting for the end device. This command allows a host
application to sleep for an extended time if no RF data is present. It should be set at least
equal to the longest SN of any child end device.
CRE 1 - 0xFFFF 1
SP
Sleep Period. This value determines how long the end device will sleep at a time, up to
28 seconds. (The sleep time can effectively be extended past 28 seconds using the SN
command.) On the parent, this value determines how long the parent will buffer a
message for the sleeping end device. It should be set at least equal to the longest SP
time of any child end device.
CRE
0x20 - 0xAF0 x 10ms
(Quarter second
resolution)
0x02EE
ST
Time Before Sleep Sets the time before sleep timer on an end device.The timer is reset
each time serial or RF data is received. Once the timer expires, an end device may enter
low power operation. Applicable for cyclic sleep end devices only.
E 1 - 0xFFFE (x 1ms)
0x1388 (5
seconds)
SO
Command
Sleep Options. Configure options for sleep. Unused option bits should be set to 0. Sleep
options include:
0x02 - Always wake for ST time
0x04 - Sleep entire SN * SP time
Sleep options should not be used for most applications.
E0 - 0xFF 0
SI
Sleep Immediately. Cause a cyclic sleep module to sleep immediately rather than wait
for the ST timer to expire.
E
PO
Polling Rate. Sets the polling rate for the end device. E 0-0x1770 [10 msec] 0
ExecutionCommands
AT
Command
Name and Description
Node Type
1
Parameter Range Default
AC
Apply Changes. Applies changes to all command registers causing queued command
register values to be applied. For example, changing the serial interface rate with the BD
command will not change the UART interface rate until changes are applied with the AC
command. The CN command and 0x08 API command frame also apply changes.
CRE -
WR
Write. Write parameter values to non-volatile memory so that parameter modifications
persist through subsequent resets.
CRE -- --
RE Restore Defaults. Restore module parameters to factory defaults. CRE -- --
FR
Software Reset. Reset module. Responds immediately with an OK status, and then
performs a software reset about 2 seconds later.
CRE -- --
NR Network Reset. Force a node to disassociate from the network. CRE 0 (optional) -