Ā© 2014 Digi International Inc. 65
XBee/XBee-PRO
Ā®
DigiMesh 2.4 User Manual
Sleep
ATļ
Command
Name and Description
Parameter
Range
Default
SM
Sleep Mode. Set/read the sleep mode of the module.
0 - No sleep mode enabled
1 - Pin sleep. In this mode, the sleep/wake state of the
module is controlled by the
SLEEP_RQ line.
4 - Asynchronous cyclic sleep. In this mode, the module
periodically sleeps and wakes
based on the SP and ST commands.
5 - Asynchronous cyclic sleep with pin wake-up. When the
SLEEP_REQUEST pin is
asserted, the module will enter a cyclic sleep mode similar
to (SM=4). When the
SLEEP_REQUEST pin is de-asserted, the module will
immediately wake up. The
module will not sleep when the SLEEP_REQUEST pin is
de-asserted.
7 - Sleep support mode.
8 - Synchronous cyclic sleep mode.
0, 1, 4, 5, 7, 8 0
SO
Sleep Options. Set/read the sleep options of the
module. This command is a bitmask.
For synchronous sleep modules, the following sleep
options are defined:
bit 0 = Preferred sleep coordinator
bit 1 = Non-sleep coordinator
bit 2 = Enable API sleep status messages
bit 3 = Disable early wake-up
bit 4 = Enable node type equality
bit 5 = Disable lone coordinator sync repeat
For ansynchronous sleep modules, the following sleep
options are defined:
bit 8 = Always wake for ST time
Any of the
available sleep
option bits can
be set or
cleared. Bit 0
and bit 1 cannot
be set at the
same
time.
0x02
SN
Number of Sleep Periods. Set/read the number of
sleep periods value. This command controls the number
of sleep periods that must elapse between assertions of
the ON_SLEEP line during the wake time of asynchronous
cyclic sleep. During cycles when the ON_SLEEP line is not
asserted, the module will wake up and check for any serial
or RF data. If any such data is received, then the
ON_SLEEP line will be asserted and the module will fully
wake up.
Otherwise, the module will return to sleep after checking.
This command does not work
with synchronous sleep modules.
1- 0xFFFF 1
SP
Sleep Period. Set/read the sleep period of the module.
This command defines the amount of time the module will
sleep per cycle.
1 - 1440000 (x
10 ms)
2 seconds