XBee®/XBee‐PRO® ZB SMT RF Modules
Diagnostics
Diagnostics Commands
AT
Name and Description
Command
Parameter Range
Default
VR
VL
Firmware Version. Read firmware version of the module as a 4-digit hex number.
0 - 0xFFFF [read-only]
N/A
Factory-set
N/A
Version Long. Shows detailed version information, module type, a time stamp for the
build, Ember stack version, and bootloader version.
Hardware Version. Read the hardware version of the module.version of the module.
This command can be used to distinguish among different hardware platforms. The
upper byte returns a value that is unique to each module type. The lower byte indicates
the hardware revision.
HV
0 - 0xFFFF [read-only]
Factory-set
The regular XBee returns a value of 0x22xx for this command. the XBee-PRO returns a
value of 0x21xx.
Association Indication. Read information regarding last node join request:
0x00 - Successfully formed or joined a network. (Coordinators form a network, routers
and end devices join a network.)
0x21 - Scan found no PANs
0x22 - Scan found no valid PANs based on current SC and ID settings
0x23 - Valid Coordinator or Routers found, but they are not allowing joining (NJ expired)
0x24 - No joinable beacons were found
0x25 - Unexpected state, node should not be attempting to join at this time
0x27 - Node Joining attempt failed (typically due to incompatible security settings)
0x2A - Coordinator Start attempt failed‘
0x2B - Checking for an existing coordinator
0x2C - Attempt to leave the network failed
0 - 0xFF
[read-only]
AI
--
0xAB - Attempted to join a device that did not respond.
0xAC - Secure join error - network security key received unsecured
0xAD - Secure join error - network security key not received
0xAF - Secure join error - joining device does not have the right preconfigured link key
0xFF - Scanning for a ZigBee network (routers and end devices)
Note: New non-zero AI values may be added in later firmware versions. Applications
should read AI until it returns 0x00, indicating a successful startup (coordinator) or join
(routers and end devices)
AT Command Options
AT Command Options Commands
AT
Command
Name and Description
Parameter Range
Default
Command Mode Timeout. Set/Read the period of inactivity (no valid commands
received) after which the RF module automatically exits AT Command Mode and returns 2 - 0x028F [x 100 ms]
to Idle Mode.
CT
CN
GT
0x64 (100d)
Exit Command Mode. Explicitly exit the module from AT Command Mode.
--
--
Guard Times. Set required period of silence before and after the Command Sequence
Characters of the AT Command Mode Sequence (GT + CC + GT). The period of silence
is used to prevent inadvertent entrance into AT Command Mode.
1 - 0x0CE4 [x 1 ms]
0x3E8
(max of 3.3 decimal sec) (1000d)
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
Command Mode Sequence enters the RF module into AT Command Mode.
0x2B
(‘+’ ASCII)
0 - 0xFF
CC
© 2010 Digi International, Inc.
134