
ZigBee networks
End device operation
XBee/XBee-PRO® S2C ZigBee® RF Module
69
Discover ZigBee networks
End devices go through the same process as routers to discover networks by issuing a PAN scan. After
sending the broadcast beacon request transmission, the end device listens for a short time in order to
receive beacons sent by nearby routers and coordinators on the same channel. The end device
evaluates each beacon received on the channel to determine if it finds a valid PAN. A PAN is valid if any
of the following exist:
n
Has a valid 64-bit PAN ID (PAN ID matches ID if
ID
>
0
)
n
Has the correct stack profile (
ZS
command)
n
Allows joining the network
n
Has capacity for additional end devices
If the end device does not find a valid PAN, it performs the PAN scan on the next channel in its scan
channels list and continues this process until it finds a valid network, or until all channels have been
scanned. If the end device scan all channels and does not discover a valid PAN, it may enter a low
power sleep state and scan again later.
If scanning all
SC
channels fails to discover a valid PAN, XBee ZigBee devices attempt to enter a low
power state and retries scanning all
SC
channels after the device wakes from sleeping. If the device
cannot enter a low power state, it retries scanning all channels, similar to the router. To meet ZigBee
Alliance requirements, the end device attempts up to nine scans per minute for the first five minutes,
and three scans per minute thereafter.
Note
The XBee ZigBee end device will not enter sleep until it has completed scanning all
SC
channels
for a valid network.
Join a network
Once the end device discovers a valid network, it joins the network, similar to a router, by sending an
association request (to the device that sent a valid beacon) to request a join on the ZigBee network.
The device allowing the join then sends an association response frame that either allows or denies the
join.
When an end device joins a network, it receives a 16-bit address from the device that allowed the join.
The device that allowed the join randomly selects the 16-bit address.
Parent child relationship
Since an end device may enter low power sleep modes and not be immediately responsive, the end
device relies on the device that allowed the join to receive and buffer incoming messages on its behalf
until it is able to wake and receive those messages. The device that allowed an end device to join
becomes the parent of the end device, and the end device becomes a child of the device that allowed
the join.
End device capacity
Routers and coordinators maintain a table of all child devices that have joined called the child table.
This table is a finite size and determines how many end devices can join. If a router or coordinator has
at least one unused entry in its child table, the device has end device capacity. In other words, it can
allow one or more additional end devices to join. ZigBee networks have sufficient routers to ensure
adequate end device capacity.
The initial release of software on this platform supports up to 20 end devices when configured as a
coordinator or a router.
Содержание 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 ...