User's Guide

Table Of Contents
AT commands Sleep commands
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
84
SM (Sleep Mode)
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 No sleep (disabled)
1 Pin sleep
2 Reserved
3 Reserved
4 Cyclic Sleep Remote
5 Cyclic Sleep Remote with pin wakeup
Default
0
ST (Time before Sleep)
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)
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.
To send direct messages on a coordinator, set SP = 0.
End Device: SP determines the sleep period for cyclic sleeping remotes.
Coordinator: If non-zero, SP determines the time to hold an indirect message before discarding it. A
Coordinator discards indirect messages after a period of (2.5 * SP).
Parameter range
0 - 0x15F900