AT commands
Sleep commands
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 (x 10 ms) (4 hours)
Default
0
DP (Disassociated Cyclic Sleep Period)
This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.
Sets or displays the sleep period for cyclic sleeping remotes that are configured for Association but
that are not associated to a Coordinator. For example, if a device is configured to associate and is
configured as a Cyclic Sleep remote, but does not find a Coordinator, it sleeps for DP time before
reattempting association.
Parameter range
1 - 0xFFFF
Default
0x3E8 (10 seconds)
SO (Sleep Options)
This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.
Set or read the sleep options bit field of a device. This command is a bitmask.
You can set or clear any of the available sleep option bits.
Parameter range
0 - 0x3
Bit field:
Bit
Setting
Meaning
Description
0x01
0
Normal
operations
A device configured for cyclic sleep will poll for data on waking
1
0
1
Disable
wakeup poll
A device configured for cyclic sleep will not poll for data on
waking
0x02
Normal
operations
A device configured in a sleep mode with ADC/DIO sampling
enabled will automatically perform a sampling on wakeup
Suppress
sample on
wakeup
A device configured in a sleep mode with ADC/DIO sampling
enabled will not automatically sample on wakeup
Set all other option bits to 0.
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
86