SO (Sleep Options)

This command applies to the XBee/XBee-PRO DigiMesh 2.4.

Set or read the sleep options bit field of a device. This command is a bitmask.

You can set or clear any of the available sleep option bits.

You cannot set bit 0 and bit 1 at the same time.

Parameter range

0x0 - 0xFFFF

For synchronous sleep devices, the following sleep bit field options are defined:

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 lone coordinator sync repeat

For asynchronous sleep devices, the following sleep bit field options are defined:

Bit Option

8

Always wake for ST time

Default

0x2 (non-sleep coordinator)