
Transmission, addressing, and routing
Addressing
XBee/XBee-PRO® S2C ZigBee® RF Module
76
Addressing
All ZigBee devices have two different addresses, a 64-bit and a 16-bit address. This section describes
the characteristics of each.
64-bit device addresses
The 64-bit address is a device address which is unique to each physical device. It is sometimes also
called the MAC address or extended address and is assigned during the manufacturing process. The
first three bytes of the 64-bit address is a Organizationally Unique Identifier (OUI) assigned to the
manufacturer by the IEEE. The OUI of XBee devices is 0x0013A2.
16-bit device addresses
A device receives a 16-bit address when it joins a ZigBee network. For this reason, the 16-bit address
is also called the network address. The 16-bit address of 0x0000 is reserved for the coordinator. All
other devices receive a randomly generated address from the router or coordinator device that allows
the join. The 16-bit address can change under certain conditions:
n
An address conflict is detected where two devices are found to have the same 16-bit address
n
A device leaves the network and later joins (it can receive a different address)
All ZigBee transmissions are sent using the source and destination 16-bit addresses. The routing
tables on ZigBee devices also use 16-bit addresses to determine how to route data packets through
the network. However, since the 16-bit address is not static, it is not a reliable way to identify a
device.
To solve this problem, the 64-bit destination address is often included in data transmissions to
guarantee data is delivered to the correct destination. The ZigBee stack can discover the 16-bit
address, if unknown, before transmitting data to a remote.
Application layer addressing
ZigBee devices support multiple application profiles, cluster IDs, and endpoints (for more information,
see
Zigbee application layers: in depth
). Application layer addressing allows data transmissions to be
addressed to specific profile IDs, cluster IDs, and endpoints. Application layer addressing is useful if an
application must do any of the following:
n
Interoperate with other ZigBee devices outside of the Digi application profile.
n
Use service and network management capabilities of the ZDO.
n
Operate on a public application profile such as Home Controls or Smart Energy.
API mode provides a simple yet powerful interface that easily sends data to any profile ID, endpoint,
and cluster ID combination on any device in a ZigBee network.
Data transmission
You can send ZigBee data packets as either unicast or broadcast transmissions. Unicast
transmissions route data from one source device to one destination device, whereas broadcast
transmissions are sent to many or all devices in the network.
Broadcast transmissions
Broadcast transmissions within the ZigBee protocol are intended to be propagated throughout the
entire network such that all nodes receive the transmission. To accomplish this, the coordinator and
Содержание XBee
Страница 1: ...XBee XBee PRO S2C ZigBee RF Module User Guide ...
Страница 259: ...AT commands Execution commands XBee XBee PRO S2C ZigBee RF Module 259 Parameter range N A Default N A ...
Страница 289: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 289 ...
Страница 290: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 290 ...
Страница 303: ...Load ZigBee firmware on 802 15 4 devices Background 304 Load ZB firmware 305 XBee XBee PRO S2C ZigBee RF Module 303 ...