《ZigBee Wireless Networking》学习笔记【2】
《ZigBee Wireless Networking》这本书对ZigBee技术阐释地比较全面,强烈推荐各位同仁阅读!
这本书的电子版请点击下面链接下载:
http://yunpan.cn/cg7SjbsXsM79r 访问密码0821
1,ZigBee术语大集合:
2,图解ZigBee架构:
ZigBee does not exactly fit the OSI 7-layer networking model, but it does have some of
the same elements, including the PHY (physical), MAC (link layer), and NWK (network)
layers. Layers 4–7 (transport, session, presentation, and application) are wrapped up in
the APS and ZDO layers in the ZigBee model.
层与层之间通过服务访问点(SAP)联系,SAP提供了一系列的API,使每一个孤立的层与它的上一层或下一层进行交互。原文描述如下:
Between the layers are 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 to 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 is 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 the radio, but initiated just above APS layer.
The two lowest layers, the MAC and PHY, are defined by the IEEE 802.15.4
specification. The PHY layer simply translates packets into 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 are 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
are 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 that may have 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 that this node wishes to speak to.
The ZDO layer (which includes the ZigBee Device Profile, ZDP), is responsible for local
and over-the-air management of the network. It provides services to discover other nodes
and services in the network, and is 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 are the mechanism used to
distinguish one application from another.
The security services are used by a variety of layers, and can be used by ZDO, APS, or
the NWK layer, hence it’s off to the side.
All layers have what is 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 an AIB for the APS layer. All “ information base ” means
is the current settings of that layer. How many retries are required? What is the current
PAN ID or network address of a particular node? The fields in the information base
are 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 that 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 while still providing complete compatibility between
vendors.
3,ZigBee其实是一个缩写,它的全称如下:
4,如何评价一个平台供应商(ZigBee联盟对平台的定义是射频模块、MCU和ZigBee协议栈软件的集合)?
5,一个ZigBee节点只能和同一个网络中的另一个节点进行数据交换。一个单一的ZigBee网络被称为个人局域网(PAN)。ZigBee PAN是由ZigBee协调器产生的,只有协调器能创建网络,路由器和终端设备只能加入由协调器创建的网络。原文描述如下:
6,PAN ID用来区别不同的ZigBee网络,PAN ID是0x0000~0x3fff之间的16bits的数字。
《ZigBee Wireless Networking》学习笔记【2】相关推荐
- PyTorch深度学习实践概论笔记9-SoftMax分类器
上一讲PyTorch深度学习实践概论笔记8-加载数据集中,主要介绍了Dataset 和 DataLoader是加载数据的两个工具类.这一讲介绍多分类问题如何解决,一般会用到SoftMax分类器. 0 ...
- 深度学习框架Pytorch入门与实践——读书笔记
2 快速入门 2.1 安装和配置 pip install torch pip install torchvision#IPython魔术命令 import torch as t a=t.Tensor( ...
- PyTorch——深度神经网络的写作笔记
1 致谢 感谢Facebook的开发者的辛苦和努力- (给Google只有两个字"呵呵") 2 深度神经网络的搭建 2.1 Module的添加 使用nn.Module.add_mo ...
- numpy pytorch 接口对应_拆书分享篇深度学习框架PyTorch入门与实践
<<深度学习框架PyTorch入门与实践>>读书笔记 <深度学习框架PyTorch入门与实践>读后感 小作者:马苗苗 读完<<深度学习框架PyTorc ...
- Pytorch:NLP 迁移学习、NLP中的标准数据集、NLP中的常用预训练模型、加载和使用预训练模型、huggingface的transfomers微调脚本文件
日萌社 人工智能AI:Keras PyTorch MXNet TensorFlow PaddlePaddle 深度学习实战(不定时更新) run_glue.py微调脚本代码 python命令执行run ...
- 【Pytorch深度学习实践】B站up刘二大人课程笔记——目录与索引(已完结)
从有代码的课程开始讨论 [Pytorch深度学习实践]B站up刘二大人之LinearModel -代码理解与实现(1/9) [Pytorch深度学习实践]B站up刘二大人之 Gradient Desc ...
- 刘二大人 PyTorch深度学习实践 笔记 P6 逻辑斯蒂回归
刘二大人 PyTorch深度学习实践 笔记 P6 逻辑斯蒂回归 P6 逻辑斯蒂回归 1.torchversion 提供的数据集 2.基本概念 3.代码实现 P6 逻辑斯蒂回归 1.torchversi ...
- 《PyTorch深度学习实践》学习笔记 【2】
<PyTorch深度学习实践>学习笔记 [2] 学习资源: <PyTorch深度学习实践>完结合集 二.线性模型 2.1 概念: 2.1.1 数据集和测试集 数据集拿到后一 ...
- 【PyTorch深度学习实践 | 刘二大人】B站视频教程笔记
资料 [参考:<PyTorch深度学习实践>完结合集_哔哩哔哩_bilibili] [参考 分类专栏:PyTorch 深度学习实践_错错莫的博客-CSDN博客] 全[参考 分类专栏:PyT ...
- 笔记|(b站)刘二大人:pytorch深度学习实践(代码详细笔记,适合零基础)
pytorch深度学习实践 笔记中的代码是根据b站刘二大人的课程所做的笔记,代码每一行都有注释方便理解,可以配套刘二大人视频一同使用. 用PyTorch实现线性回归 # 1.算预测值 # 2.算los ...
最新文章
- 学界 | 进化算法可以不再需要计算集群,开普敦大学的新方法用一块GPU也能刷新MNIST记录
- windows7如何查看端口被占用
- 简易计算器 (C语言)作业
- python将元组转换为列表_使用python将元组转换成列表,并替换其中元素
- 电信公网ip和内网ip的区别_私有IP共有IP和弹性IP的区别
- ansys 命令流学习
- 如何修改文件的编码格式
- js中this指向的三种情况
- mysql数据库character_关于MySQL如何修改character
- 计算机检测不到双显示器,win10系统双屏幕检测不到第二屏幕怎么办 解决双屏幕不显示的方法步骤...
- DirectX3D游戏制作之---3D场景的渲染及人物动画的显示
- 脸上有酒窝,脖子后有痣,胸前有颗痣,此三种人不能错过
- 粒子寻优算法PSO学习笔记
- webapi做为后端接口时在跨域调用时的注意点
- android studio视频教程
- 利用python的turtle库画一个图形
- 国际最新消息:Google 宣布成功攻破 SHA-1 加密
- 在进销存管理中经常提到红冲,那什么是红冲呢?
- 【接口工具ApiPost】生成代码(17)
- 中医门诊电子病历xml文档数据读入数据库实验流程演示