
AT commands
Sleep commands
XBee/XBee-PRO® S2C ZigBee® RF Module
254
ST (Time before Sleep)
Sets or reads the wake time of the device.
The timer resets each time the device receives serial or RF data. Once the timer expires, an end
device may enter low power operation. This applies to cyclic sleep end devices only.
Parameter range
1 - 0xFFFF (x 1 ms)
Default
0x1388 (5 seconds)
SO (Sleep Options)
Set or read the sleep options bit field of a device. This command is a bitmask.
Set unused option bits to 0. Sleep options should not be used for most applications. See
.
Parameter range
0 - 0xFF
Bit
Option
0x02
Always wake for
ST
time
0x04
Sleep entire
SN
*
SP
time
Default
0
WH (Wake Host Delay)
Sets or reads the wake host timer value. You can use
WH
to give a sleeping host processor sufficient
time to power up after the device asserts the ON_SLEEP line.
If you set
WH
to a non-zero value, this timer specifies a time in milliseconds that the device delays
after waking from sleep before sending data out the UART or transmitting an I/O sample. If the device
receives serial characters, the
WH
timer stops immediately.
Parameter range
0 - 0xFFFF (x 1 ms)
Default
0
PO (Polling Rate)
Set or read the end device poll rate. Setting this to 0 (default) enables polling at 100 ms (default rate),
advancing in 10 ms increments. Adaptive polling may allow the end device to poll more rapidly for a
short time when receiving RF data.