Command descriptions for the XBee/XBee-PRO RF Module
XBee / XBee-PRO RF Modules 802.15.4 Product Manual 87
• 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 sampling
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 seconds (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).
ST (Time before Sleep) command
<Sleep Mode (Low Power)> The ST command is used to set and read the period of inactivity (no serial
or RF data is sent or received) before activating Sleep Mode.
NonBeacon firmware
Set/Read time period of inactivity (no serial or RF data is sent or received) before activating Sleep
Mode. ST parameter is only valid with Cyclic Sleep settings (SM = 4 - 5).
Coordinator and End Device ST values must be equal.
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)
AT command: ATST
Parameter range: NonBeacon firmware:
1 - 0xFFFF [x 1 millisecond]
Default parameter value:
Related commands: SM (Sleep Mode), ST (Time before Sleep)