当前位置:网站首页>蓝牙mesh系统开发三 Ble Mesh 配网器 Provisioner
蓝牙mesh系统开发三 Ble Mesh 配网器 Provisioner
2022-07-31 00:57:00 【玉怀一捧雪】
前言
ble mesh配网器使用ESP32的方案,乐鑫开源的SDK和丰富的组件,可以快速上手ble mesh的网关应用,本章讲解基于ble mesh配网器的开发
概念
配网器Provisioner用于发现与配置未配网设备,使其加入mesh网络,成为mesh网络的节点设备
两个阶段
- 配网阶段:为设备分配单播地址、添加网络密钥 (NetKey) 等。通过配网,设备加入 ESP-BLE-MESH 网络,身份从未配网设备变为节点
- 配置阶段:为节点添加应用密钥 (AppKey), 并将应用密钥绑定到相应模型。配置期间,有些选项是可选的,比如为节点添加订阅地址、设置发布地址等。通过配置,该节点实际上可以向 Provisioner 发送消息,也可以接收来自 Provisioner 的消息
密钥
- 网络密钥:用于加密网络层消息,具有相同网络密钥的节点视为同一网络
- 应用密钥:用于加密上层传输层中的消息,如服务器模型与客户端模型绑定的应用密钥不一致,则无法进行通信
节点删除
- provisioner将节点添加至黑名单
- provisioner启动密钥更新程序
- 节点执行重置程序,切换自身为未配网设备
有效载荷
不分包有效载荷长度为11字节,对于verdor消息,
边栏推荐
- 【愚公系列】2022年07月 Go教学课程 015-运算符之赋值运算符和关系运算符
- [In-depth and easy-to-follow FPGA learning 13---------Test case design 1]
- Consistency and Consensus of Distributed Systems (1) - Overview
- background has no effect on child elements of float
- MySQL笔记下
- MySQL table design for message queue to store message data
- 射频器件的基本参数2
- 程序员工作三年攒多少钱合适?
- Preparations for web vulnerabilities
- ShardingSphere之未分片表配置实战(六)
猜你喜欢
![[C language course design] C language campus card management system](/img/36/9e1a97767bbe1e504d8a3cc3ce5448.png)
[C language course design] C language campus card management system

MySQL triggers

Meeting OA project pending meeting, all meeting functions

场景之多数据源查询及数据下载问题

Mini Program - Global Data Sharing

IOT cross-platform component design scheme

Neural Network (ANN)

What is Promise?What is the principle of Promise?How to use Promises?

什么是Promise?Promise的原理是什么?Promise怎么用?

typescript15- (specify both parameter and return value types)
随机推荐
ABC 261 F - Sorting Color Balls (reverse pair)
24. 请你谈谈单例模式的优缺点,注意事项,使用场景
ShardingSphere之垂直分库分表实战(五)
不用Swagger,那我用啥?
【愚公系列】2022年07月 Go教学课程 019-循环结构之for
Shell编程之条件语句
ShardingSphere's vertical sub-database sub-table actual combat (5)
[In-depth and easy-to-follow FPGA learning 13---------Test case design 1]
Meeting OA project pending meeting, all meeting functions
What is Promise?What is the principle of Promise?How to use Promises?
分布式.分布式锁
Error ER_NOT_SUPPORTED_AUTH_MODE Client does not support authentication protocol requested by serv
[Yugong Series] July 2022 Go Teaching Course 015-Assignment Operators and Relational Operators of Operators
金融政企被攻击为什么要用高防CDN?
MySQL database (basic)
ShardingSphere's unsharded table configuration combat (6)
MySQL的触发器
过滤器(Filter)
typescript11 - data types
WMware Tools安装失败segmentation fault解决方法