Advanced Features; Device Discovery; Remote Configuration; Loopback Testing - AG Electronica XBee 2 Series Manual

Table of Contents

Advertisement

www.agelectronica.com
5. Advanced Features

5.1. Device Discovery

5.2. Remote Configuration

5.3. Loopback Testing

5.3.1. AT Firmware

5.3.2. API Firmware

5.4. Join Indicators

5.5. Manual Device Identification

www.agelectronica.com
The XBee Series 2 modules come with several features to assist with discovering, configuring, and
testing ZigBee networks. These features include
• Device Discovery
• Remote Configuration
• Loopback Testing
• Join Indicators
• Manual Device Identification
• Battery Life Monitoring.
The Node Discovery command can be used to discover all modules that have joined a ZigBee PAN.
Issuing ND sends a broadcast node discovery command throughout the PAN. ll devices that
receive the command will send a response that includes the device's 64-bit address, 16-bit
address, and NI-string (see NI command). This command is useful for generating a list of all
module addresses in a PAN.
The API firmware has provisions to configure the command registers of remote devices using the
Remote Command Request API frame (see Chapter 7 - API Operation). Commands can be sent to
a remote module to read or set different command parameters.
Range and link quality can be tested easily using a software loopback data mode. To send a
message to a remote device and have the data be returned to the sender, the data should be
addressed to the loopback cluster ID (0x12) on the data endpoint (0xE6) of the remote device.
Set the ZA command to 1 and set the CI command value to 0x12. The SE and DE commands
should be set to 0xE8 (default value). The DH and DL commands should be set to the 64-bit
address of the remote. After exiting command mode, serial data should be transmitted to the
remote device and returned to the sender.
Send an Explicit Addressing ZigBee Command frame using 0x12 as the cluster ID and 0xE8 as the
source and destination endpoint. Data packets received by the remote should be echoed back to
the sender.
The JN command can be used to send a message to the coordinator when a router or end device
joins the network. If JN is set to enable join notifications, an ND response packet will be sent to
the coordinator when the device joins the PAN. (Only API coordinators will display the join
notification.) The format of this packet on the coordinator depends on the AO setting.
The D0 command can be set to send a node identification packet to the coordinator when a low-to-
high edge is detected on module pin 20. The node identification packet includes the XBee module's
© 2007 Digi International, Inc.
www.agelectronica.com
     35
www.agelectronica.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents