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

CC254x android6.x无法配对

xjtudll10年前 (2015-12-18)技术心得7180

参考资料:

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://www.xjtudll.cn/Exp/376/

分享给朋友:

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

添加 PreferenceFragment到FragmentPagerAdapter

添加 PreferenceFragment到FragmentPagerAdapter

如何添加 PreferenceFragment到FragmentPagerAdapter 首先,android v4 support library不支持这个功能,android v13 support library才支持这个功能。 如何从android v4 support library升级到...

CC254x GAPBOND_IO_CAP_DEFINES ------ GAP Bond Manager I/O Capabilities的含义

http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/t/62156.aspx #define GAPBOND_IO_CAP_DISPLAY_ONLY 0x00 //!< Display...

51串口通信

51串口通信

大学的时候,练习串口通信整的东东图太大,显示不正常。请直接看原图。upload/2010/1/201001291823133003.jpg演示如图: 左边的单片机:发送  查询方式右边的单片机:接收    中断方式K1:LED1亮;K2:LED2亮;...

金蝶K3 计划订单批量维护自定义字段处理

现需要在计划订单批量维护报表中增加一自定义字段,然后维护后可以更新到计划订单对应自定义字段中。具体可通过如下操作解决: 1、在计划订单中自定义字段,同时通过SQL查找到该字段在数据库表中的字段名,如为FHeadSelfJ0550。 2、在计划订单批量维护表体中增加自定义字段,字段名改为和计划订...

群晖安装OnlyOffice

群晖安装OnlyOffice

1、拉取镜像ssh  admin@201.201.201.168cd /volume1/dockersudo docker pull onlyoffice/documentserver 2、安装onlyoffice,注意配置端口本地端口与已用的不冲突即可 3、关闭密钥否则每次都提...

固定电容标称容量及误差

电容器上标有的电容数是电容器的标称容量。电容器的标称容量和它的实际容量会有误差。常用固定电容允许误差的等级见表1。 表1 固定电容允许误差等级 误差 ±2%...

发表评论

访客

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