AT commands
Sleep settings commands
Digi XBee® 3 802.15.4 RF Module User Guide
145
Parameter Description
1
Pin sleep
2
Reserved
3
Reserved
4
Cyclic Sleep Remote
5
Cyclic Sleep Remote with pin wakeup
6
MicroPython sleep (with optional pin wake). For complete details see the
Default
0
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
maximum sleep period is 4 hours (
SP
= 0x15F900).
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. If the device is a coordinator (
=
1
) and
SP
is not
0
, the device sends all transmissions indirectly, meaning end devices have to
poll the coordinator to receive data—
or using cyclic sleep.
End Device
:
SP
determines the sleep period for cyclic sleeping remotes. The maximum sleep period is
4 hours (0x15F900).
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
, or 65 seconds, whichever is
smaller).
Parameter range
0x0 - 0x15F900 (x 10 ms) (4 hours)
Default
0x0
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. Upon waking the device polls for queued indirect messages and UART data. If it does not
detect activity, the device immediately sleeps. The device only stays awake for
ST
time if RF or UART
activity is detected upon wakeup or bit 8 of
is set to
1
.
Coordinator and End Device
ST
values must be equal.
Parameter range
0x1 - 0x36EE80 (x 1 ms)