![Digi XBee DigiMesh 2.4 User Manual Download Page 59](http://html1.mh-extra.com/html/digi/xbee-digimesh-2-4/xbee-digimesh-2-4_user-manual_2496252059.webp)
Sleep modes
About sleep modes
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
59
About sleep modes
A number of low-power modes exist to enable devices to operate for extended periods of time on
battery power. Use the
SM
command to enable these sleep modes. The sleep modes are
characterized as either:
n
Asynchronous (
SM
= 1, 4, 5).
n
Synchronous (
SM
= 7, 8).
In DigiMesh networks, a device functions in one of three roles:
1. A sleep coordinator.
2. A potential coordinator.
3. A non-coordinator.
The difference between a potential coordinator and a non-coordinator is that a non-coordinator node
has its
SO
parameter set so that it will not participate in coordinator election and cannot ever be a
sleep coordinator.
Asynchronous modes
n
Do not use asynchronous sleep modes in a synchronous sleeping network, and vice versa.
n
Use the asynchronous sleep modes to control the sleep state on a device by device basis.
n
Do not use devices operating in asynchronous sleep mode to route data.
n
We strongly encourage you to set asynchronous sleeping devices as end-devices using the
CE
command. This prevents the node from attempting to route data.
Synchronous modes
Synchronous sleep makes it possible for all nodes in the network to synchronize their sleep and wake
times. All synchronized cyclic sleep nodes enter and exit a low power state at the same time.
This forms a cyclic sleeping network.
n
A device acting as a sleep coordinator sends a special RF packet called a sync message to
synchronize nodes.
n
To make a device in the network a coordinator, a node uses several resolution criteria.
n
The sleep coordinator sends one sync message at the beginning of each wake period. The
coordinator sends the sync message as a broadcast and every node in the network repeats it.
n
You can change the sleep and wake times for the entire network by locally changing the
settings on an individual device. The network uses the most recently set sleep settings.
Normal mode
Set
SM
to 0 to enter Normal mode.
Normal mode is the default sleep mode. If a device is in this mode, it does not sleep and is always
awake.
Use mains-power for devices in Normal mode.
A device in Normal mode synchronizes to a sleeping network, but does not observe synchronization
data routing rules; it routes data at any time, regardless of the network's wake state.