ZigBee3.0_JENNIC-JN516x-ZigBeeBaseDevice_20170604_1.0
来源:互联网 发布:淘宝马云靠什么赚钱 编辑:程序博客网 时间:2024/06/05 21:02
ZigBee Base Device
所有节点都必须有的基础功能,协调节点之间的行为,与网络创建、加入以及网络安全相关。
1.1 Initialising and starting the ZigBee Base Device
在初始化ZigBee PRO stack以及从persistent storage(固存)中恢复ZigBee Base Device attribute bbdbNodeIsOnANetwork后,调用BDB_vInit()函数初始化。ZBD的相关事件推送到回调函数
APP_vBdbCallback()中。
NOTE:ZigBee BaseDevice需要提前注册BDB_ZTIMER以保证,ZBD正常运行。
1.1.1 If the node was not in a network:
- 对于支持Touchlink commissioning的Router,根据BDBC_TL_PRIMARY_CHANNEL_SET或者RAND_CHANNEL的设置选择一个channel。对于Co-ordinator、其他Router以及End Device则没有动作。
- 尝试建网或加入网络。
- 生成BDB_EVENT_INT_SUCCESS事件。
1.1.2 if the node was in a network
- 对于Co-ordinator和 Router,没有动作,生成BDB_EVENT_INT_SUCCESS事件。
- 对于End Device,尝试rejoin network;rejoin cycles如下:
- 尝试之前的网络参数,不带network discovery。
- 尝试network discovery,用u32bdbPrimaryChannelSet指定的primary channel。
- 尝试network discovery,用u32bdbSecondaryChannelSet指定的secondary channel。
通过BDBC_IMP_MAX_REJOIN_CYCLES指定rejoin cycles的次数。
如果rejoin attempt成功,返回BDB_EVENT_REJOIN_SUCCESS,如果不成功,返回BDB_EVENT_REJOIN_FAILURE
1.2 Network Commissioning
Network commissioning的动作如下:
- Creating a newtork;
- Allowing devices to join the network;
- Joining a network;
- Binding a local endpoint to an endpoint on a remote node;
- Adding a remote node to a group;
Commissioning activities由ZigBee node 类型决定;
ZigBee Base Device提供了4种commissioning modes,如下:
- Touchlink:
- Creating a new network;
- Allowing other devices to join an existing network;
- Joining local device to an existing network;
- Network Steering:
- Allowing other devices to join an existing network;
- Joining local device to an existing network;
- Network Formation:
- Creating a new network;
- Finding and Binding:
- Binding a local endpoint to an endpoint on a remote node;
- Adding a remote node to a group;
Commissioning modes可以通过attributeu8bdbCommissioningMode设置,通过attribute ebdbCommissioningStatus来看当前的state。
- ZigBee3.0_JENNIC-JN516x-ZigBeeBaseDevice_20170604_1.0
- ZigBee3.0_JENNIC-JN516x-ZigBeeBaseDevice_20170605_1.1
- ZigBee3.0_JENNIC-JN516x-ZigBeeBaseDevice_20170606_1.2
- ZigBee3.0_JENNIC-JN516x-ZigBeeBaseDevice_20170609_1.3
- ZigBee3.0
- ZigBee3.0 能彻底解决智能家居互联互通的问题吗?
- $0
- %~0
- #0
- '\0'
- #0
- ${0##*/} ${0#*/} ${0%/*} ${0%%/*}
- \0
- ${0##*/} ${0#*/} ${0%/*} ${0%%/*}
- 0 0
- 0 0
- 0 0
- 0,'\0','0'
- Android ViewDragHelper完全解析 自定义ViewGroup神器
- git将本地文件上传到github
- caffe基础(8):draw_net.py绘制网络结构
- book-cd : Malware Analyst's Cookbook
- 安装android studio报错,及解决方式
- ZigBee3.0_JENNIC-JN516x-ZigBeeBaseDevice_20170604_1.0
- 单体架构还是微服务架构
- MySQL Table操作
- window系统安装hexo
- keras_序惯模型(Sequential)
- 2017年六月四日 NO.6 HTML(五)——处理文档宏观内容的标签(笔记)
- Android Studio 必备技巧:TODO 用法及自定义 TODO
- 环境变量配置完毕,但是通过localhost或localhost:8080访问出现404
- 详解Python的装饰器