
ZigBee networks
ZigBee networking concepts
XBee/XBee-PRO® S2C ZigBee® RF Module
55
If a device is a coordinator and it needs to be changed into an end device,
CE
you must first set it back
to 0. If not, the
SM
configuration will conflict with the
CE
configuration. Likewise, to change an end
device into a coordinator, you must change it into a router first.
Another complication is that default parameters for a router build do not always work well for a
coordinator build.
For example:
n
DH
/
DL
is 0 by default, which allows routers and end devices to send data to the coordinator
when they first come up. If
DH
/
DL
is not changed from the default value when the device is
changed to a coordinator, then the device sends data to itself, causing characters to be echoed
back to the screen as they are typed. Since this is probably not the desired operation, set
DH
/
DL
to the broadcast address or some specific unicast address when the device is changed
to a coordinator.
n
Another example is
EO
for smart energy builds. Set this value to 08 for routers and end devices
and 02 for the coordinator to designate it as the trust center. Therefore, if using
authentication, which is the normal case for Smart Energy builds, change
EO
from 02 to 08
when
CE
is set to 1.
n
Another example is
EO
for ZigBee builds. By default the value is 0x00. But if
EO
and
EE
are set
to 0x01 on all radios in a network, then the network key will be sent in the clear (unencrypted)
at association time. This may be a useful setting in development environments, but is
discouraged for security reasons for product deployment.
In general, it is your responsibility to ensure that parameters are set to be compatible with the new
device type when changing device types.
PAN ID
ZigBee networks are called personal area networks (PANs). Each network is defined with a unique
PAN identifier (PAN ID), which is common among all devices of the same network. ZigBee devices are
either preconfigured with a PAN ID to join, or they can discover nearby networks and select a PAN ID
to join.
ZigBee supports both a 64-bit and a 16-bit PAN ID. Both PAN IDs are used to uniquely identify a
network. Devices on the same ZigBee network must share the same 64-bit and 16-bit PAN IDs. If
multiple ZigBee networks are operating within range of each other, each should have unique PAN IDs.
16-bit PAN ID
The 16-bit PAN ID is used as a MAC layer addressing field in all RF data transmissions between devices
in a network. However, due to the limited addressing space of the 16-bit PAN ID (65,535 possibilities),
there is a possibility that multiple ZigBee networks (within range of each other) could use the same
16-bit PAN ID. To resolve potential 16-bit PAN ID conflicts, the ZigBee Alliance created a 64-bit PAN ID.
64-bit PAN ID
The 64-bit PAN ID (also called the extended PAN ID), is intended to be a unique, non-duplicated value.
When a coordinator starts a network, it can either start a network on a preconfigured 64-bit PAN ID,
or it can select a random 64-bit PAN ID. Devices use a 64-bit PAN ID during joining; if a device has a
preconfigured 64-bit PAN ID, it will only join a network with the same 64-bit PAN ID. Otherwise, a
device could join any detected PAN and inherit the PAN ID from the network when it joins. All ZigBee
beacons include the 64-bit PAN ID and is used in 16- bit PAN ID conflict resolution.
Содержание 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 ...