XBee/XBeePRO"燨EM燫F燤odules??02.15.4?爒1.xAx燵2007.05.031]
2007燤axStream,營nc.
牋牋?2
Chapter??燫F燤odule燙onfiguration
SM (Sleep Mode) Command
<Sleep Mode (Low Power)> The SM command is
used to set and read Sleep Mode settings. By
default, Sleep Modes are disabled (SM = 0) and
the RF module remains in Idle/Receive Mode.
When in this state, the module is constantly
ready to respond to either serial or RF activity.
SM command options vary according to the net-
working system type. By default, the module is
configured to operate in a NonBeacon system.
* The Sleep Coordinator option (SM=6) only
exists for backwards compatibility with firmware
version 1.x06 only. In all other cases, use the CE
command to enable a Coordinator.
SP (Cyclic Sleep Period) Command
<Sleep Mode (Low Power)> The SP command is
used to set and read the duration of time in which
a remote RF module sleeps. After the cyclic sleep
period is over, the module wakes and checks for
data. If data is not present, the module goes back
to sleep. The maximum sleep period is 268 sec-
onds (SP = 0x68B0).
The SP parameter is only valid if the module is
configured to operate in Cyclic Sleep (SM = 4-6).
Coordinator and End Device SP values should
always be equal.
To send Direct Messages, set SP = 0.
NonBeacon Firmware
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).
ST (Time before Sleep) Command
<Sleep Mode (Low Power)> The ST command is
used to set and read the period of inactivity (no
serial or RF data is sent or received) before acti-
vating Sleep Mode.
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.
AT Command: ATSM
Parameter Range: 0 - 6
Parameter
Configuration
0
Disabled
1
Pin Hibernate
2
Pin Doze
3
(reserved)
4
Cyclic Sleep Remote
5
Cyclic Sleep Remote
(with Pin Wake-up)
6
Sleep Coordinator*
Default Parameter Value: 0
Related Commands: SP (Cyclic Sleep Period),
ST (Time before Sleep)
AT Command: ATSP
Parameter
Range:
NonBeacon Firmware:
1 - 0x68B0 [x 10 milliseconds]
Default
Parameter
Value:
NonBeacon Firmware: 0
Related Commands: SM (Sleep Mode), ST
(Time before Sleep), DP (Disassociation Cyclic
Sleep Period, BE (Beacon Order)
AT Command: ATST
Parameter
Range:
NonBeacon Firmware:
1 - 0xFFFF [x 1 millisecond]
Default
Parameter
Value:
NonBeacon Firmware: 0x1388
(5000 decimal)
Related Commands: SM (Sleep Mode), ST
(Time before Sleep)