SM (Sleep Mode)

This command applies to the XBee 3 DigiMesh RF Module.

Sets or displays the sleep mode of the device.

Normal mode is always awake. Pin sleep modes allow you to wake the device with the SLEEP_ REQUEST line. Asynchronous cyclic mode sleeps for SP time and briefly wakes, checking for activity. Sleep support mode is always awake, but can effectively communicate with synchronized cyclic sleep nodes. Synchronized Cyclic Sleep nodes keep the same wake and sleep cycles for all nodes in the network.

Parameter range

0 - 5

0, 1, 4 - 8

Parameter

Description

0

No sleep (always awake)

1

Pin sleep

2

Unused

3

Unused

4

Asynchronous cyclic sleep

5

Asynchronous cyclic sleep with pin wakeup

6

MicroPython sleep (with optional pin wake). For complete details see the Digi MicroPython Programming Guide.

7

Synchronous sleep support mode

8

Synchronous cyclic sleep

Default

0