Product manual
XBee®/XBee‐PRO®RFModules‐802.15.4‐v1.xEx[2009.09.23]
©2009DigiInternatonal,Inc. 54
SM (Sleep Mode) Command
<Sleep Mode (Low Power)> The SM
command is used to set and read
Sleep Mode settings. By default,
Sleep Modes are disabled (SM = 0)
and the RF module remains in Idle/
Receive Mode. When in this state, the
module is constantly ready to respond
to either serial or RF activity.
* The Sleep Coordinator option
(SM=6) only exists for backwards
compatibility with firmware version
1.x06 only. In all other cases, use the
CE command to enable a Coordinator.
SO (Sleep Mode Command)
Sleep (Low Power) Sleep Options Set/Read the
sleep mode options.
Bit 0 - Poll wakeup disable
• 0 - Normal operations. A module configured
for cyclic sleep will poll for data on waking.
• 1 - Disable wakeup poll. A module config-
ured for cyclic sleep will not poll for data on
waking.
Bit 1 - ADC/DIO wakeup sampling disable.
• 0 - Normal operations. A module configured
in a sleep mode with ADC/DIO sampling enabled will automatically perform a sampling on
wakeup.
• 1 - Suppress sample on wakeup. A module configured in a sleep mode with ADC/DIO sam-
pling enabled will not automatically sample on wakeup.
SP (Cyclic Sleep Period) Command
<Sleep Mode (Low Power)> The SP command is
used to set and read the duration of time in which
a remote RF module sleeps. After the cyclic sleep
period is over, the module wakes and checks for
data. If data is not present, the module goes back
to sleep. The maximum sleep period is 268 sec-
onds (SP = 0x68B0).
The SP parameter is only valid if the module is
configured to operate in Cyclic Sleep (SM = 4-6).
Coordinator and End Device SP values should
always be equal.
To send Direct Messages, set SP = 0.
NonBeacon Firmware
End Device - SP determines the sleep period for cyclic sleeping remotes. Maximum sleep period is
268 seconds (0x68B0).
Coordinator - If non-zero, SP determines the time to hold an indirect message before discarding it.
A Coordinator will discard indirect messages after a period of (2.5 * SP).
AT Command: ATSM
Parameter Range: 0 - 6
Parameter Configuration
0 Disabled
1Pin Hibernate
2Pin Doze
3 (reserved)
4 Cyclic Sleep Remote
5
Cyclic Sleep Remote
(with Pin Wake-up)
6 Sleep Coordinator*
Default Parameter Value: 0
AT Command: ATSO
Parameter
Range:
0-4
Default Parameter Value:
Related Commands: SM (Sleep Mode), ST
(Time before Sleep), DP (Disassociation Cyclic
Sleep Period, BE (Beacon Order)
AT Command: ATSP
Parameter
Range:
NonBeacon Firmware:
0-0x68B0 [x 10 milliseconds]
Default Parameter Value:
Related Commands: SM (Sleep Mode), ST
(Time before Sleep), DP (Disassociation Cyclic
Sleep Period, BE (Beacon Order)