Specifications

XBee®/XBeePRO®SERFModules
©2009DigiInternational,Inc. 111
Diagnostics
1.Nodetypesthatsupportthecommand:C=Coordinator,R=Router,E=EndDevice
DiagnosticsCommands
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
VR
Firmware Version. Read firmware version of the module.
The firmware version returns 4 hexadecimal values (2 bytes) "ABCD". Digits ABC are the
main release number and D is the revision number from the main release. "B" is a variant
designator.
XBee and XBee-PRO SE modules return:
0x3xxx versions.
XBee and XBee-PRO ZB modules return:
0x2xxx versions.
XBee and XBee-PRO ZNet modules return:
0x1xxx versions. ZNet firmware is not compatible with ZB firmware.
CRE 0 - 0xFFFF [read-only] Factory-set
HV
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.
XBee SE and XBee SE modules return the following (hexadecimal) values:
0x19xx - XBee module
0x1Axx - XBee-PRO module
CRE 0 - 0xFFFF [read-only] Factory-set
CK
Configuration Checksum.
Returns the checksum of the configuration registers.
CRE 0 – 0xFF [read-only]
AI
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
0x30 – Discovering key establishment endpoint
0x31 – Key establishment endpoint discovery failed
0x32 – Initiate key establishment response not received
0x33 – Ephemeral data response not received
0x34 - Confirm key response not received
0x36 – Received terminate request
0x3A - Key establishment transmission failed
0x3B – Invalid certificate
0x3C – Key establishment not allowed
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)
CRE
0 - 0xFF
[read-only]
--