"ZigBee Wireless Networking" study note "2"

Source: Internet
Author: User

the ZigBee Wireless Networking " This book on ZigBee technology interpretation of a more comprehensive, highly recommended colleagues to read!

For the electronic version of this book, please click on the link below to download:

http://yunpan.cn/cg7SjbsXsM79r Access Password 0821

Large collection of 1,zigbee terms:


2, illustrated ZigBee Architecture:


ZigBee does not exactly fit the OSI 7-layer networking model, but it does has some of
The same elements, including the PHY (physical), MAC (link layer), and NWK (network)
Layers. Layers 4–7 (Transport, session, presentation, and application) is wrapped up in
The APS and ZDO layers in the ZigBee model.

Between tiers and tiers through service access points (SAP), SAP provides a series of APIs that allow each orphaned layer to interact with its upper or lower layers. The original description is as follows:

Between the layers is Service Access Points (SAPs). SAPs provide an API that isolates
The inner workings of that layer from the layers above and below. Like the IEEE 802.15.4
Specification, ZigBee uses a TWO-SAP approach per layer, one for data and one for
Management. For example, all data communications through and from the network layer go
Through the Network Layer Data Entity Service Access Point (NLDE-SAP). Why the data
SAP for the MAC layer was called Mac Common part Service SAP (MCPS-SAP) instead
Of the MLDE-SAP is confusing to me, but it is. You'll see commands in the ZigBee
Specification that look like apsde-data.request. Now you know that is a request to
Send data out of the radio, but initiated just above APS layer.
The lowest layers, the MAC and PHY, is defined by the IEEE 802.15.4
Specification. The PHY layer simply translates packets to over-the-air bits and back
Again. The MAC layer provides the concept of a network, including a PAN ID, and
Networking discovery through beacon requests and responses. It also provides per-hop
Acknowledgments and some of the commands for joining and forming a network. The
MAC does not multi-hop or mesh.
The NWK layer is responsible for mesh networking, which includes broadcasting packets
Across the network, determining routes for unicasting packets, and generally making sure
Packets is sent reliably from one node to another. The network layer also has a set of
Commands for security purposes, including secure joining and rejoining. ZigBee Networks
Was all secured at the NWK layer, and the entire payload of the NWK frame is encrypted.
The APS layer is responsible for application meaning. It acts as a filter for the
Applications running above it on endpoints to simplify the logic in those applications.
It understands what clusters and endpoints mean, and checks to see if the endpoint is a
Member of the application profile and (if present) group before sending the message on
Up. The APS layer also filters out duplicate messages. May has been sent up by the
NWK layer. The APS layer keeps a local binding table, a table which indicates the nodes
Or groups in the network, this is node wishes to speak.
The ZDO layer (which includes the ZigBee Device profile, ZDP), was responsible for local
and over-the-air management of the network. IT provides services to discover other nodes
and services in the network, and are directly responsible for the current state of this node
On the network.
The application Framework contains the ZigBee Cluster Library and provides a
Framework within which applications run. Endpoints is the mechanism used to
Distinguish one application from another.

The security services is used by a variety of layers, and can is used by ZDO, APS, or
The NWK layer, hence it ' s off to the side.
All layers has called an information base. At the MAC layer, this is called a PAN
Information Base (or PIB). At the network layer it ' s called a network information Base
(or NIB), and of course there is a AIB for the APS layer. All "information base" means
Is the current settings of this layer. How many retries is required? What's the current
PAN ID or network address of a particular node? The fields in the information base
is generally either set by higher layers or through the use of management commands
Through the management SAPs.
Notice there is nothing in here about interaction with any hardware within a given ZigBee
Device other than the radio. There is nothing so talks to LEDs, the LCD, speaker, GPIO
Ports, Non-volatile or flash memory. ZigBee is exclusively concerned with the networking
protocol and over-the-air behavior. The ZigBee test suites reflect this fact. Since All
The over-the-air messages can be interpreted correctly by any other ZigBee node, this
Approach allows vendors to innovate and still providing complete compatibility between
Vendors.

3,zigbee is actually an abbreviation, its full name is as follows:


4, how to evaluate a platform vendor ( zigbee Alliance to platform RF module , mcu " Span style= "Font-family:microsoft Yahei; font-size:14px; Color: #3333ff "and zigbee " Span style= "Font-family:microsoft Yahei; font-size:14px; Color: #3333ff "> collection of protocol stack software)?


5, a ZigBee node can only exchange data with another node in the same network. A single ZigBee network is called a personal area network (PAN). ZigBee pan is generated by the ZigBee coordinator, and only the coordinator can create the network, and the routers and terminal devices can only join the network created by the coordinator. The original description is as follows:


6, PAN ID used to differentiate between different ZigBee networks, the PAN ID is 0x0000 ~ 0x3fff the number of 16bits between.

"ZigBee Wireless Networking" study note "2"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.