AT commands Diagnostic - sleep status/timing commands
XBee®-PRO 900HP/XSC RF Modules
108
SP (Sleep Period)
Sets or displays the device's sleep time. This command defines the amount of time the device sleeps
per cycle.
For a node operating as an Indirect Messaging Coordinator: If non-zero, SP determines the time to
hold an indirect message for an Indirect Messaging Poller before discarding it. A Coordinator discards
indirect messages after a period of (2.5 * SP).
Parameter range
0x1 - 1440000 (x 10 ms)
Default
0x12C (3 seconds)
ST (Wake Time)
Sets or displays the wake time of the device.
For devices in asynchronous sleep, ST defines the amount of time that a device stays awake after it
receives RF or serial data.
For devices in synchronous sleep, ST defines the amount of time that a device stays awake when
operating in cyclic sleep mode. The command adjusts the value upwards automatically if it is too small
to function properly based on other settings.
Parameter range
0x1 - 0x36EE80 (x 1 ms)
Default
0xBB8 (3 seconds)
WH (Wake Host Delay)
Sets or displays 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.
When in synchronous sleep, the device shortens its sleep period by the WHvalue to ensure it is
prepared to communicate when the network wakes up. When in this sleep mode, the device always
stays awake for the WH time plus the amount of time it takes to transmit a one-hop unicast to
another node.
Parameter range
0 - 0xFFFF (x 1 ms)
Default
0
Diagnostic - sleep status/timing commands
The following AT commands are Diagnostic sleep status/timing commands.