Xbee Series 2 Addressing; Device Addressing - AG Electronica XBee 2 Series Manual

Table of Contents

Advertisement

www.agelectronica.com
XBee Series 2 ZigBee OEM RF Modules v1.x2x [2007.07.019]

4.2. XBee Series 2 Addressing

4.2.1. Device Addressing

www.agelectronica.com
XBee modules support both ZigBee device addressing and application-layer addressing. Device
addressing provides a simple means of sending data from one device to another by hiding the
application layer addressing information (ZigBee endpoints and cluster IDs).If a device will
support multiple endpoints or cluster IDs, application addressing can be used to include endpoint
and cluster ID information in the transmission.
Device addressing supports transmissions to:
• a destination 64-bit address
• a destination NI-string
• the ZigBee PAN coordinator
• all devices on the PAN (broadcast)
• all devices on a multicast group.
Application-layer addressing supports transmissions to:
• all of the above device addressing destinations
• specific endpoints on a destination device
• specific cluster IDs on a destination device.
All XBee Series 2 modules can be identified by their unique 64-bit addresses or a user-
configurable ASCII string identifier The 64-bit address of a module can be read using the SH and
SL commands. The ASCII string identifier is configured using the NI command. To transmit using
device addressing, only the destination address must be configured. The destination address can
be specified using either the destination device's 64-bit address or its NI-string. The XBee modules
also support coordinator and broadcast addressing modes. Device addressing in the AT firmware is
configured using the DL, DH, or DN commands. In the API firmware, the ZigBee Transmit Request
API frame (0x10) can be used to specify destination addresses.
64-Bit Addressing (Transparent)
To address a node by its 64-bit address, the destination address must be set to match the 64-bit
address of the remote. In the AT firmware, the DH and DL commands set the destination 64-bit
address. In the API firmware, the destination 64-bit address is set in the ZigBee Transmit Request
frame.
To send a packet to an RF module using its 64-bit Address (Transparent Mode)
Set the DH (Destination Address High) and DL (Destination Address Low) parameters of the
source node to match the 64-bit Address (SH (Serial Number High) and SL (Serial Number
Low) parameters) of the destination node
Since the ZigBee protocol relies on the 16-bit network address for routing, the 64-bit address
must be converted into a 16-bit network address prior to transmitting data. If a module does not
know the 16-bit network address for a given 64-bit address, it will transmit a broadcast network
address Discovery command. The module with a matching 64-bit address will transmit its 16-bit
network address back. Once the network address is discovered, the data will be transmitted.
The modules maintain a table that can store up to seven 64-bit addresses and their corresponding
16-bit network addresses.
© 2007 Digi International, Inc.
www.agelectronica.com
Chapter 4 ‐ RF Module Configuration
     27
www.agelectronica.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents