AT commands
Sleep commands
Sleep commands
The following AT commands are sleep commands.
SM (Sleep Mode)
This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.
Sets or displays the sleep mode of the device.
By default, Sleep Modes are disabled (SM = 0) and the device remains in Idle/Receive mode. When in
this state, the device is constantly ready to respond to either serial or RF activity.
Parameter range
0, 1, 4, 5
Parameter
Description
0
1
2
3
4
5
No sleep (disabled)
Pin sleep
Reserved
Reserved
Cyclic Sleep Remote
Cyclic Sleep Remote with pin wakeup
Default
0
ST (Time before Sleep)
This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.
Sets or displays the wake time of the device.
The ST parameter is only valid for end devices configured with Cyclic Sleep settings (SM = 4 - 5) and
for coordinators.
Coordinator and End Device ST values must be equal.
Parameter range
1 - 0xFFFF (x 1 ms)
Default
0x1388 (5 seconds)
SP (Cyclic Sleep Period)
This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.
Sets and reads the duration of time that a remote device sleeps. After the cyclic sleep period is over,
the device wakes and checks for data. If data is not present, the device goes back to sleep.
The SP parameter is only valid if you configure the end device to operate in Cyclic Sleep (SM = 4-5).
Coordinator and End Device SP values should always be equal.
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
85