Digi International Inc XBEEPRO2 Manual De Usuario

Descargar
Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     59
This mechanism enables devices A and B to recognize that the link is not reliable in both directions and select a 
different neighbor when establishing routes. (Such links are called asymmetric links, meaning the link quality is 
not similar in both directions.)
When a router or coordinator device powers on, it sends link status messages every couple seconds to attempt 
to discover link qualities with its neighbors quickly. After being powered on for some time, the link status 
messages are sent at a much slower rate (about every 3-4 times per minute).
AODV Mesh Routing 
ZigBee employs mesh routing to establish a route between the source device and the destination. Mesh routing 
allows data packets to traverse multiple nodes (hops) in a network to route data from a source to a destination. 
Routers and coordinators can participate in establishing routes between source and destination devices using a 
process called route discovery. The Route discovery process is based on the AODV (Ad-hoc On-demand Distance 
Vector routing) protocol.
Sample Transmission Through a Mesh Network
AODV (Ad-hoc On-demand Distance Vector) Routing Algorithm
Routing under the AODV protocol is accomplished using tables in each node that store the next hop 
(intermediary node between source and destination nodes) for a destination node. If a next hop is not known, 
route discovery must take place in order to find a path. Since only a limited number of routes can be stored on 
a Router, route discovery will take place more often on a large network with communication between many 
different nodes.
When a source node must discover a route to a destination node, it sends a broadcast route request command. 
The route request command contains the source network address, the destination network address and a path 
cost field (a metric for measuring route quality). As the route request command is propagated through the 
Node
Destination Address
Next Hop Address
R3
Router 6
Coordinator
C
Router 6
Router 5
R5
Router 6
Router 6