当前文档版本为 v1.0.1,您可以访问当前页面的 开发中 版本以获取最近可能的更新。

BLE Controller

1 概述

panchip ZDK和NDK支持两版BLE Controller,分别是Origin BLE Controller和Spark BLE Controller。用户可以根据项目特点和这两个BLE Controller的特性来选择使用的BLE Controller。Spark BLE Controller 是磐启全新支持的controller,未来主推的方向, 当然SDK也提供了方便的方式让用户能快速在这两个BLE Controller之间切换。

Origin BLE Controller和Spark BLE Controller如何配置选择将在接下来的章节讲解。

2 Origin BLE Controller

Origin BLE Controller 也就是SDK0.0.0 到 SDK1.0.0 中一直使用的 Controller,作为从机已有了丰富的量产产品,例如:鼠标,键盘,扫码枪等等。

2.1 Origin BLE Controller 支持Features

(1) 支持BLE Core 5.2

(2) 支持LL Encryption

(3) 支持Data Length Exchange

(4) 支持LL Ping

(5) 支持2M PHY/Coded PHY

(6) 支持CSA#2

(7) 支持多达8 connection (这与MCU资源相关)

(8) 支持connection 数任意配置

(9) Extended adv

(10) Extended scan

(11) periodic adv

(12 ) periodic sync

(13) CTE (AOA, AOD)

(11) LL Privacy

3 Spark BLE Controller

Spark BLE Controller 是panchip新支持的BLE Controller,它和磐启芯片深度贴合,并深度挖掘芯片自身功能和性能。

3.1 相比Origin BLE Controller,Spark BLE Controller 具有如下优点:

  • 更低的功耗

  • 更好的多连接调度器和时间利用率以及数据吞吐率

  • 更好的蓝牙多连接稳定性

  • 支持连接更多的蓝牙设备(多达20个connection,这与MCU资源相关)

  • 更少的资源消耗 (flash 资源)

3.2 Spark BLE Controller支持Featrues:

(1) 支持BLE Core 5.0

(2) 支持LL Encryption

(3) 支持Data Length Exchange

(4) 支持LL Ping

(5) 支持2M PHY/Coded PHY

(6) 支持CSA#2

(7) 支持多达20 connection (这与MCU资源相关)

(8) 支持connection 数任意配置

(9) Extended adv (正在适配中)

(10) Extended scan (正在适配中)

(11) LL Privacy(正在适配中)