AG Electronica XBee 2 Series Manual page 43

Table of Contents

Advertisement

www.agelectronica.com
XBee Series 2 ZigBee OEM RF Modules v1.x2x [2007.07.019]
Diagnostics
Table 6‐07. Diagnostics Commands
AT
Name and Description
Command
VR
Firmware Version. Read firmware version of the module.
HV
Hardware Version. Read hardware version of the module.
Supply Voltage. Reads the voltage on the Vcc pin. To convert the reading to a mV
%V
reading, divide the read value by 1023 and multiply by 1200. A %V reading of 0x8FE
(2302 decimal) represents 2700mV or 2.70V.
1. Node types that support the command:C = Coordinator, R = Router, E = End Device
AT Command Options
Table 6‐08. AT Command Options Commands
AT
Name and Description
Command
Command Mode Timeout. Set/Read the period of inactivity (no valid commands
2
received) after which the RF module automatically exits AT Command Mode and returns
CT
to Idle Mode.
2
Exit Command Mode. Explicitly exit the module from AT Command Mode.
CN
Guard Times. Set required period of silence before and after the Command Sequence
2
Characters of the AT Command Mode Sequence (GT + CC + GT). The period of silence
GT
is used to prevent inadvertent entrance into AT Command Mode.
Command Sequence Character. Set/Read the ASCII character value to be used
between Guard Times of the AT Command Mode Sequence (GT + CC + GT). The AT
2
Command Mode Sequence enters the RF module into AT Command Mode.
CC
CC command is only applicable when using modules that contain the following "AT
Command" firmware versions: 8.0xx (Coordinator), 8.2xx (Router), 8.4xx (End Device)
1. Node types that support the command: C = Coordinator, R = Router, E = End Device
2. Command supported by modules using AT Command firmware only
Sleep Commands
Table 6‐09. Sleep Commands
AT
Name and Description
Command
SM
Sleep Mode Sets the sleep mode on the RF module
Number of Sleep Periods. Sets the number of sleep periods to not assert the On/Sleep
SN
pin on wakeup if no RF data is waiting for the end device. This command allows a host
application to sleep for an extended time if no RF data is present
Sleep Period. This value determines how long the end device will sleep at a time, up to
28 seconds. (The sleep time can effectively be extended past 28 seconds using the SN
SP
command.) On the parent, this value determines how long the parent will buffer a
message for the sleeping end device. It should be set at least equal to the longest SP
time of any child end device.
Time Before Sleep Sets the time before sleep timer on an end device.The timer is reset
ST
each time serial or RF data is received. Once the timer expires, an end device may enter
low power operation. Applicable for cyclic sleep end devices only.
www.agelectronica.com
© 2007 Digi International, Inc.
www.agelectronica.com
Chapter 6 ‐ XBee Series 2 Command Reference Tables
Node
Parameter Range
Default
1
Type
CRE
0 - 0xFFFF [read-only]
Factory-set
CRE
0 - 0xFFFF [read-only]
Factory-set
CRE
-
-
Node
Parameter Range
Default
1
Type
CRE
2 - 0x028F [x 100 ms]
0x64 (100d)
CRE
--
--
1 - 0x0CE4 [x 1 ms]
0x3E8
CRE
(max of 3.3 decimal sec)
(1000d)
0x2B
CRE
0 - 0xFF
('+' ASCII)
Node
Parameter Range
Default
1
Type
0-Sleep disabled
1-Pin sleep enabled
4-Cyclic sleep enabled
Note: When SM=0, the
device operates as a
RE
0
router. When SM
changes to a non-zero
value, the router leaves
the network and rejoins
as an end device. Only
end devices can sleep
RE
1 - 0xFFFF
1
0x20 - 0xAF0 x 10ms
CRE
(Quarter second
0x20
resolution)
0x1388 (5
RE
1 - 0xFFFE (x 1ms)
seconds)
www.agelectronica.com
     42

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents