20706A2 BLE连接配对

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YiYi_4334581
Level 1
Level 1
First reply posted First question asked First like given

Hi,

     我想在BLE连接配对时输入的是静态配对码,现在实现的是输入动态码,不知如何实现静态配对码

0 点赞
1 解答
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

静态配对码不被CYW20xxx系列芯片(WICED系芯片)的固件支持。

不过目前PSoC系列的芯片使用的BLE Component都是支持“CyBle_GapFixAuthPassKey()”这个函数的,该函数可允许您使用预定的静态配对码进行连接。详情参考其技术文档的114页:

https://www.cypress.com/file/494566/download
https://www.cypress.com/documentation/component-datasheets/psoc-creator-component-datasheet-bluetoot... 

如有需要,您可使用PSoC系列的芯片(PSoC 4 BLE / PSoC 6  BLE)。需注意的是,这个功能不受Bluetooth Core Specification推荐,请谨慎使用。

<<<<<<<<<<<<<>>>>>>>>>>>>>

Sincere regards from​ C. L.

<<<<<<<<<<<<<>>>>>>>>>>>>>

在原帖中查看解决方案

2 回复数
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

静态配对码不被CYW20xxx系列芯片(WICED系芯片)的固件支持。

不过目前PSoC系列的芯片使用的BLE Component都是支持“CyBle_GapFixAuthPassKey()”这个函数的,该函数可允许您使用预定的静态配对码进行连接。详情参考其技术文档的114页:

https://www.cypress.com/file/494566/download
https://www.cypress.com/documentation/component-datasheets/psoc-creator-component-datasheet-bluetoot... 

如有需要,您可使用PSoC系列的芯片(PSoC 4 BLE / PSoC 6  BLE)。需注意的是,这个功能不受Bluetooth Core Specification推荐,请谨慎使用。

<<<<<<<<<<<<<>>>>>>>>>>>>>

Sincere regards from​ C. L.

<<<<<<<<<<<<<>>>>>>>>>>>>>

thx ChunleiL_51!

0 点赞