当前位置:首页 > 技术心得 > 正文内容

CC254x android6.x无法配对

xjtudll11年前 (2015-12-18)技术心得10130

参考资料:

https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/t/457958

问题:

配对时提示密码或PIN错误,但是根本就没有到输入密码这一步,就直接说密码错误了。

环境:

android 6.0,CC254x,协议栈:V1.4.0

原因:

Check remote LMP version before enabling secure connections Request remote version information for LE links when connecting and ensure LMP version is >= 8 (Bluetooth 4.2) before setting the LinkKey bits in the pairing request. This is to ensure older remote devices do not get confused by the additional bit(s) in the pairing request.
"
This change, when incorporated by the respective phone/tablet manufacturers, will ensure BLE 1.4.0 (and previous releases) are compatible with Android6 / BT4.2. All CC254x SW (e.g. BLE 1.4.0) will report an LMP version of 6 (BT4.0).

解决办法:

升级协议栈的V1.4.1。

不过android6.0.1(2015.12.9 Nexus 5)似乎解决了这个bug。

Peripherals that are Pairing with Android devcies that do not yet incorporate this change will need BLE 1.4.1 to remain compatible with smart devices that implement LE Secure Connections (BT4.2) Pairing.

扫描二维码推送至手机访问。

版权声明:本文由鸟的天空发布,如需转载请注明出处。

本文链接:http://xjtudll.cn/Exp/376/

分享给朋友:

“CC254x android6.x无法配对” 的相关文章

浅析电波表——美国WWVB码

浅析电波表——美国WWVB码

参考文献: http://www.nist.gov/pml/div688/grp40/wwvb.cfm http://tf.nist.gov/stations/wwvbtimecode.htm http://en.wikipedia.org/wiki/WWVB 一、WWVB码简介 WWVB与WWV...

手表EL升压电路分析

手表EL升压电路分析

前言:折腾了许久的EL升压电路,总算是搞清楚原理了。 EL(Electroluminescence)发光屏是一种电致发光材料发光屏,在结构上,电致发光材料夹在两个电极之间。它的上电极是一种透明的导电膜,称为ITO膜(Indium Tin Oxide film),用于透射光线,而下电极是第二电极,其...

CSDN、博客园文章图片无法复制粘贴的办法(不需要脚本)

CSDN、博客园文章图片无法复制粘贴的办法(不需要脚本)

本质就是利用浏览器的阅读器模式1、使用Edge浏览器在网址前面加read://例如:原网址:https://blog.csdn.net/qq_57139623/article/details/134045280阅读器模式:read://https://blog.csdn.net/qq_5713962...

插件中获取多级审核级次

oMultiMgr.CurrentLevel   Private Sub m_BillInterface_AfterLoadBill()     Dim oMultiMgr As Object     Set oMultiMgr...

Keil  error C272: '__asm' requires src-control to be active 解决办法

Keil error C272: '__asm' requires src-control to be active 解决办法

问题: 在C代码里加入了__asm语句,例如“__asm POP 7”,编译出现Error error C272: '__asm' requires src-control to be active 解决办法: 右键选中该文件----option for file"...

远程计算机需要网络级别身份验证,而您的计算机不支持该验证

远程计算机需要网络级别身份验证,而您的计算机不支持该验证

问题:使用Win7可以连接服务器的远程桌面,使用XP不行。 服务器是Windows Server 2012 解决办法有两种: 一、修改本地电脑设置 参考资料:https://jingyan.baidu.com/article/380abd0a713f061d91192c63.html 1、点击开始...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。