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

CC254x android6.x无法配对

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

参考资料:

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无法配对” 的相关文章

AutoCAD转Protel99SE及丢线问题解决

AutoCAD转Protel99SE及丢线问题解决

工作中经常需要将AutoCAD里面的图形导入到Protel99SE,导入的过程中碰到的最大的问题就是:导入后的图形丢失了曲线(圆弧)。搜遍Google和百度,没有找到一个完善的解决办法,要么语焉不详,要么答非所问。不过网络上终究有些蛛丝马迹,给我提供了一些思路,后几经尝试,终于解决了这个问题。下面与...

PhonestateListener如何取消监听

PhonestateListener怎么取消监听? TelephonyManager tm; tm.listen(MyPhoneListener myPlistener,PhoneStateListener.LISTEN_CALL_STATE); class MyPhoneStateL...

Windows Server 2012 发布RemoteApp程序

Windows Server 2012 发布RemoteApp程序

https://blog.51cto.com/vic366/924410 打开管理器管理器仪表板,选择本地服务器->远程桌面服务 选择集合->QuickSessionCollection->任务->发布RemoteApp程序 选择要发布程序的程序 如果程序不在列表中,可以...

Itunes搜索——找正版免费软件的利器

Itunes搜索——找正版免费软件的利器

一直以为ipad不越狱没啥游戏可玩的,其实不然,itunes store大把的免费正版软件   打开iTunes,选择菜单上的 Store ,再选择“搜索”:  然后,先选择“应用软件”,例如,想找所有免费的游戏,而且是IP...

Quartus II:从verilog代码生成原理图框图(bsf文件)

Quartus II:从verilog代码生成原理图框图(bsf文件)

首先说下,为什么用这个功能。 个人习惯顶层用原理图方式绘制,底层模块用verilog代码实现,这样的话在顶层原理图里可以清晰的知道要干啥,比代码更直观。 方法: File ->Create/Update -> Create Symbol Files for Current File 生...

金蝶K3 BOS单据 完整显示单据头

金蝶K3 BOS单据 完整显示单据头

进入到序时簿,格式->选项设置 以委外订单为例: 弹出选项设置窗口,不要勾选【合并同一张单据的表头项目】,最后点击【确定】按钮。...

发表评论

访客

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