AT commands Sleep commands
Digi XBee® 3 Zigbee® RF Module
212
Parameter Description
5 Cyclic sleep, pin wake
6
MicroPython sleep (with optional pin wake). For complete details see the Digi
MicroPython Programming Guide.
Default
0
SP (Cyclic Sleep Period)
Sets the duration of sleep time for the end device, up to 28 seconds. Use the SN command to extend
the sleep time past 28 seconds.
On the parent, this value determines how long the parent buffers a message for the sleeping end
device. Set the value to at least equal to the longest SP time of any child end device.
Parameter range
0x20 - 0xAF0 x 10 ms (Quarter second resolution)
Default
0x20
ST (Cyclic Sleep Wake Time)
Sets or displays the wake time of a cyclically sleeping end device after receiving serial or RF data.
The wake timer resets each time the device receives serial or RF data. Once the timer expires, an end
device may enter low power operation.
Parameter range
1 - 0xFFFF (x 1 ms)
Default
0x1388 (5 seconds)
SN (Number of Cycles Between ON_SLEEP)
Set or read the number of sleep periods value. This command controls the number of sleep periods
that must elapse between assertions of the ON_SLEEP line during the wake time if no RF data is
waiting for the end device. This command allows a host application to sleep for an extended time if no
RF data is present.
Parameter range
1 - 0xFFFF
Default
1
SO (Sleep Options)
A bitfield that contains advanced sleep options that do not have dedicated AT commands.