AT commands
SP (Sleep Period)
This command applies to the XBee/XBee-PRO Zigbee RF Module.
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 10ms (Quarter second resolution)
Default
0x20
SN (Number of Cycles Between ON_SLEEP)
This command applies to the XBee/XBee-PRO Zigbee RF Module.
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
SM (Sleep Mode)
This command applies to the XBee/XBee-PRO Zigbee RF Module.
Sets or displays the sleep mode of the device.
When SM > 0, the device operates as an end device. However, CE must be 0 before SM can be set to a
value greater than 0 to change the device to an end device. Changing a device from a router to an end
device (or vice versa) forces the device to leave the network and attempt to join as the new device
type when changes are applied.
Parameter range
0, 1, 4, 5
Parameter
0
1
4
5
XBee/XBee-PRO® S2C Zigbee® RF Module User Guide
Description
Sleep disabled (router)
Pin sleep enabled
Cyclic sleep enabled
Cyclic sleep, pin wake
Sleep commands
272
Need help?
Do you have a question about the XBee S2C Zigbee and is the answer not in the manual?