AT commands Sleep commands
XBee® SX 868 RF Module User Guide
153
Bit Option
0 Preferred sleep coordinator; setting this bit causes a sleep compatible device to always act as
sleep coordinator
1 Non-sleep coordinator; setting this bit causes a device to never act as a sleep coordinator
2 Enable API sleep status messages
3 Disable early wake-up for missed syncs
4 Enable node type equality (disables seniority based on device type)
5 Disable coordinator rapid sync deployment mode
8
Always wake for ST time
10 Enable sync sleep randomize I/O sampling
Default
0x2 (non-sleep coordinator)
SN (Number of Sleep Periods)
This command applies to the XBee SX 868 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 of Asynchronous
Cyclic Sleep.
During cycles when ON_SLEEP is de-asserted, the device wakes up and checks for any serial or RF
data. If it receives any such data, then it asserts the ON_SLEEP line and the device wakes up fully.
Otherwise, the device returns to sleep after checking.
This command does not work with synchronous sleep devices.
Parameter range
1 - 0xFFFF
Default
1
SP (Sleep Period)
This command applies to the XBee SX 868 RF Module.
Sets or displays the device's sleep time. This command defines the amount of time the device sleeps
per cycle.
A time of 0 is used to indicate no sleep at all and is used for synchronous pulse on DIO9.
For a node operating as an Indirect Messaging Coordinator, this command defines the amount of time
that it will hold an indirect message for an end device. The coordinator will hold the message for (2.5 *
SP).
Parameter range
0 - 0x15F900 (x 10 ms) (4 hours)