XBee/XBeePRO"燨EM燫F燤odules??02.15.4?爒1.xAx燵2007.05.031]
2007燤axStream,營(yíng)nc.
牋牋?0
Chapter??燫F燤odule燙onfiguration
Sleep (Low Power)
*燜irmware爒ersion爄n爓hich爐he燾ommand爓as爁irst爄ntroduced?firmware爒ersions燼re爊umbered爄n爃exadecimal爊otation.)
Serial Interfacing
Table?04.   XBee/XBeePRO燙ommands?燬leep?Low燩ower)
AT
Command
Command
Category
Name and Description
Parameter Range
Default
SM
Sleep
(Low Power)
Sleep Mode. <NonBeacon firmware> Set/Read Sleep Mode configurations.
0 - 5
0 = No Sleep
1 = Pin Hibernate
2 = Pin Doze
3 = Reserved
4 = Cyclic sleep remote
5 = Cyclic sleep remote
w/ pin wake-up
6 = [Sleep Coordinator] for
backwards compatibility
w/ v1.x6 only; otherwise,
use CE command.
0
ST
Sleep
(Low Power)
Time before Sleep. <NonBeacon firmware> Set/Read time period of inactivity (no
serial or RF data is sent or received) before activating Sleep Mode. ST parameter is
only valid with Cyclic Sleep settings (SM = 4 - 5).
Coordinator and End Device ST values must be equal.
Also note, the GT parameter value must always be less than the ST value. (If GT > ST,
the configuration will render the module unable to enter into command mode.) If the ST
parameter is modified, also modify the GT parameter accordingly.
1 - 0xFFFF [x 1 ms]
0x1388
(5000d)
SP
Sleep
(Low Power)
Cyclic Sleep Period. <NonBeacon firmware> Set/Read sleep period for cyclic sleeping
remotes. Coordinator and End Device SP values should always be equal. To send
Direct Messages, set SP = 0.
End Device - SP determines the sleep period for cyclic sleeping remotes. Maximum
sleep period is 268 seconds (0x68B0).
Coordinator - If non-zero, SP determines the time to hold an indirect message before
discarding it. A Coordinator will discard indirect messages after a period of (2.5 * SP).
0 - 0x68B0 [x 10 ms]
0
DP (1.x80*)
Sleep
(Low Power)
Disassociated Cyclic Sleep Period. <NonBeacon firmware>
End Device - Set/Read time period of sleep for cyclic sleeping remotes that are
configured for Association but are not associated to a Coordinator. (i.e. If a device is
configured to associate, configured as a Cyclic Sleep remote, but does not find a
Coordinator, it will sleep for DP time before reattempting association.) Maximum sleep
period is 268 seconds (0x68B0). DP should be > 0 for NonBeacon systems.
1 - 0x68B0 [x 10 ms]
0x3E8
(1000d)
Table?05.   XBeePRO燙ommands?燬erial營(yíng)nterfacing
AT
Command
Command
Category
Name and Description
Parameter Range
Default
BD
Serial
Interfacing
Interface Data Rate. Set/Read the serial interface data rate for communications
between the RF module serial port and host.
Request non-standard baud rates with values above 0x80 using a terminal window.
Read the BD register to find actual baud rate achieved.
0 - 7 (standard baud rates)
0 = 1200 bps
1 = 2400
2 = 4800
3 = 9600
4 = 19200
5 = 38400
6 = 57600
7 = 115200
0x80 - 0x1C200
(non-standard baud rates)
3
RO
Serial
Interfacing
Packetization Timeout. Set/Read number of character times of inter-character delay
required before transmission. Set to zero to transmit characters as they arrive instead of
buffering them into one RF packet.
0 - 0xFF [x character times]
3
AP (v1.x80*)
Serial
Interfacing
API Enable. Disable/Enable API Mode.
0 - 2
0 = Disabled
1 = API enabled
2 = API enabled
(w/escaped control
characters)
0
NB
Serial
Interfacing
Parity. Set/Read parity settings.
0 - 4
0 = 8-bit (no parity or
7-bit (any parity)
1 = 8-bit even
2 = 8-bit odd
3 = 8-bit mark
4 = 8-bit space
0