Skip to Navigation
Home
  • Company
    • Quick Facts
    • Board of Directors
    • Management Team
    • Press Releases
    • News Coverage
    • Newsletter
    • Careers
    • Articles
    • Ember Chronology
    • Contact Us
  • Products
    • ZigBee Chips
    • ZigBee Software
    • ZigBee Development Tools
    • Documentation
  • Buy
    • Digi-Key (Online)
    • Distributors
  • Applications
    • AMI & AMR
    • Integrated Home Automation
    • Building Automation
    • Others
  • ZigBee
    • About ZigBee
    • Ember & ZigBee
    • ZigBee FAQ
    • Download Specifications
    • ZigBee Events
  • Partners
  • Support
    • Training
  • Events
Home › Gentle Guide to ZigBee

Mesh Networking

Categories:
  • ZigBee
  • Training

What is mesh networking?

A network that uses mesh networking is capable of supporting multiple paths to a destination.

For example, in the network above a message is being sent from A to F. In this case, the message is being routed through intermediate devices B and C.

A mesh network is therefore more robust in the case of ad-hoc (unplanned) deployments, interference, and removal, movement, or addition of devices in the network.

If, as in the example above, device B were to fail, the message would automatically be routed through device D instead. This self-healing behavior is a basic capability of the ZigBee protocol.

For device-to-device networks this behavior is crucial because device placement cannot always be preplanned and in many cases devices cannot be relocated if they happen to be in a poorly placed — contrast this to your cellphone or WiFi laptop where you may move around to find a better radio signal and you can see why having multiple redundant routes becomes very important!

Network device types in ZigBee

ZigBee supports three network devices types: the coordinator, the router, and the end device. From now on, we will refer to these as ZC (ZigBee Coordinator), ZR (ZigBee Router), and ZED (ZigBee End Device). Each device has different network level responsibilities.

Note! the application level behavior does not need to be related to the ZigBee device type. This will become clear as we explore the design of an application, but for now consider the ZigBee device type to be operating only at the network level.

In this guide we will use the following icons to indicate the ZigBee device type in network diagrams:

ZR
ZED
ZC

Because a ZC is just a ZR that has some additional basic functionality, we do not have a special icon for it. In network discussions where the ZC functionality is relevant, we will add the (*) graphic tag to the device acting as the ZC.

Each of these devices is explained in more detail in the following section.

Message routing

Routing in ZigBee is automatically handled by the networking layer — the application commands the networking stack to send a message, and specifies the destination, and the route discovery or repair is automatically managed by the network.

Note that this behavior will depend on the proper configuration of the stack which may vary among vendors. The application developer usually does not need to be concerned with its behavior. However, it is useful to have a feel for how the network behaves when a route needs to be discovered or repaired.

More information on message routing, discovery of routes, and repair of routes is contained later in this section.

  • zigbee_mesh_simple_route.png
  • zigbee_mesh_simple_route_heal.png
  • zr.png
  • zed.png
  • zc_tag.png
  • zc_example.png
‹ ZigBee Technical FoundationsupZigBee 101 ›
  • Login to post comments

Gentle Guide to ZigBee

  • What is ZigBee and what can it do for me?
  • ZigBee Technical Foundations
    • Mesh Networking
    • ZigBee 101
    • ZigBee 102
    • Under the Hood
  • Advanced Topics and Essays
  • Acronyms and Terms

Search

Primary links
  • Developer Blog
  • Documentation
  • Download
  • FAQs
  • Change Notifications
  • Training
Portal
  • My Account
  • Search
User login
  • Request new password

Company | Products | Buy | Applications | ZigBee | Partners | Support | Events | Contact Us

©2007-2008 Ember Corporation | All rights reserved | Privacy