At Command Options; Sleep Commands - Digi XBee Manual

Wi-fi rf module
Hide thumbs Also See for XBee:
Table of Contents

Advertisement

XBee® Wi-Fi RF Modules

AT Command Options

AT
Command
Command Mode Timeout. Set/Read the period of inactivity (no valid commands
CT
received) after which the RF module automatically exits AT Command Mode and
returns to Idle Mode. This time can be up to ten minutes.
Exit Command Mode. Explicitly exit the module from AT Command Mode. (Whether
CN
command mode is left by the CN command or by CT timing out, changes will be
applied upon exit.
Guard Times. Set required period of silence before and after the Command Sequence
GT
Characters of the AT Command Mode Sequence (GT + CC + GT). The period of silence
is used to prevent inadvertent entrance into AT Command Mode.
Command Mode Character Set/read the command mode character used between
CC
guard times of the AT Command Mode Sequence (GT + CC + CC + CC + GT). This
sequence allows the module to enter into AT Command Mode.

Sleep Commands

AT
Command
Sleep Mode Sets the sleep mode on the RF module. Sleep mode is also affected by
SM
the SO command, option bit 6. See the "Sleep" chapter for a full explanation of the
various sleep modes.
Sleep Period. This value determines how long the module will sleep at a time, up to
SP
24 hours or 86,400 seconds. This corresponds to 0x83d600 in 10ms units.
Sleep Options. Configure options for sleep. Unused option bits should be set to 0.
Sleep options include:
0x40 – Stay associated with AP during sleep. Draw more current during sleep with
this option enabled, but also avoid data loss.
SO
0x100 – For cyclic sleep, ST specifies the time before returning to sleep. With this bit
set, new receptions from either the serial or the RF port will NOT restart the ST timer.
Current implementation does not support this bit being turned off.
Wake Host. Set/Read the wake host timer value. If the wake host timer is set to a
non-zero value, this timer specifies a time (in millisecond units) that the module
WH
should allow after waking from sleep before sending data out the UART or
transmitting an IO sample. If serial characters are received, the WH timer is stopped
immediately.
Wake Time. Wake time for cyclic modes. New data will not refresh the timer.
ST
However, if there is data to transmit or receive after ST expires, those actions will
occur before the module goes to sleep. Max wake time is 3600 seconds.
Association Timeout. Time to wait for association before entering deep sleep.
SA
(Wakeup from deep sleep is much faster if association occurs before going to sleep.)
© 2013 Digi International, Inc.
Name and Description
Name and Description
Parameter
Default
Range
2 - 0x1770 [x 100
0x64 (100d)
ms]
-
2 - 0x0CE4 [x 1 ms]
0x3E8
(max of 3.3 decimal
(1000d)
sec)
0 - 0xFF
('+' ASCII)
Parameter
Default
Range
0 = No sleep
1 = Pin sleep
4 = Cyclic sleep
5 = Cyclic sleep, pin
wake
1 - 0x83D600 x
0xC8 (2 seconds)
10ms
0 - 0x01FF
0x100
0 - 0xFFFF (x 1ms)
0x1 – 0x36EE80
0x7D0
(x 1 ms)
0x1 – 0x36EE80
0x2710
(x1 ms)
(10 seconds)
-
0x2B
0
0
103

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee and is the answer not in the manual?

Questions and answers

Table of Contents