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

CC254x android6.x无法配对

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

参考资料:

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

eclipse菜单里找不到“Android SDK Manager”

eclipse菜单里找不到“Android SDK Manager”

有的时候ADT即使安装正确了,却找不到Android SDK Manager。 Windows选项卡里没有Android SDK Manager,也没有Android Virtual Device Manager。如下图所示。 解决办法如下: 1、Windows选项卡,Customize Pers...

tenx(十速)TM87系列常用宏(二)

tenx(十速)TM87系列常用宏(二) 接上篇:http://www.xjtudll.cn/Exp/42/5、位操作⑴ 位清零;BIT清零 RAM 00~6FH 70~7FH也可用,但是浪费了两条语句       &n...

C# MDI子窗体启动后没有最大化

C# MDI子窗体启动后没有最大化

目的: 子窗口启动显示后最大化,也就是填充了整个父窗体 但是发现一个问题: 如果在 Visual Studio 2005里通过属性工具栏设定了子窗体的 WindowState 为 Maximized,然后在运行过程中会发现子窗体实例化时不会最大化,而是当改变了父窗体的大小之后才随即最大化。而通过在子...

Altium Designer:将Sch.Lib和Pcb.Lib库文件整合成.intlib库文件

Altium Designer:将Sch.Lib和Pcb.Lib库文件整合成.intlib库文件

参考资料: http://www.51hei.com/bbs/dpj-39220-1.html 每个.intlib (integrated library) 需包含 .pcblib (建封装) 和 .schlib (路线图) 两个文件。 (1) 创建 .intlib (file ->...

水晶报表的文本对象中怎么插入换行符

水晶报表的文本对象中如何插入换行符?我的文本对象要显示的值是从RichTextBox中读出来的,但文本对象不能显示“\n”,怎么让文本对象换行呢?------解决方案--------------------1:不要用文本对象,用公式2:把\n替换成水晶报表里的换行符号Replace(字段,'...

C# 去掉小数点后面多余的0

1、使用TrimEnd()    decimal num1=(decimal)0.5;    //第一步将浮点数转换成字符串    string strNum=num1.ToString(); &nb...

发表评论

访客

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