|
|
6 лет назад | |
|---|---|---|
| apps | 6 лет назад | |
| docs | 7 лет назад | |
| ext | 7 лет назад | |
| nimble | 6 лет назад | |
| porting | 6 лет назад | |
| .gitignore | 7 лет назад | |
| .rat-excludes | 7 лет назад | |
| .travis.yml | 7 лет назад | |
| CODING_STANDARDS.md | 7 лет назад | |
| Kconfig | 7 лет назад | |
| LICENSE | 7 лет назад | |
| NOTICE | 7 лет назад | |
| README.md | 6 лет назад | |
| SConscript | 6 лет назад | |
| repository.yml | 7 лет назад | |
| version.yml | 7 лет назад |
NimBLE 软件包是 RT-Thread 基于 Apache NimBLE 开源蓝牙 5.0 协议栈的移植实现,该协议栈提供完整的 Host 层和 Controller 层支持,目前支持 Nordic nRF51 和 nRF52 系列芯片。
该协议栈的主要特性如下:
更多关于 NimBLE Stack 的介绍请参考 http://mynewt.apache.org/latest/network/docs/index.html。
同 nordic 系列常用的 SoftDevice 方案相比,NimBLE 有如下优势和特点:
NimBLE 软件包遵循 Apache-2.0 许可,详见 LICENSE 文件。
使用 NimBLE 软件包需要在 RT-Thread 的包管理中选中它,具体路径如下:
RT-Thread online packages
IoT - internet of things --->
NimBLE:An open-source Bluetooth 5.0 stack porting on RT-Thread --->
[*] Peripheral Role support
[ ] Central Role support
Observer --->
Common configuration ----
Host stack configuration --->
Controller configuretion --->
Log level (INFO) --->
Samples (peripheral heart-rate) --->
Version (latest) --->
Peripheral Role support : 配置作为 Peripheral 设备;
**Central Role support ** : 配置作为 Central 设备;
Observer : 配置作为 Observer 设备;
Host stack configuration : 配置 Host Stack;
Controller configuretion : 配置 Controller;
Log level (INFO) : 配置协议栈日志等级;
Samples : 配置示例应用;
Version : 配置作为 Peripheral 设备;
配置完成后让 RT-Thread 的包管理器自动更新,或者使用 pkgs --update 命令更新包到 BSP 中。
配合独立的 nrf52832-nimble bsp 使用,参考 https://github.com/EvalZero/nrf52832-nimble 。