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

CC254x android6.x无法配对

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

参考资料:

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

二进制逆序(字节反转)

  1  理论分析   二进制逆序,顾名思义就是将低位和高位交换,例如0x23 = 0010 0011 B,逆序后就是1100 0100 B。字节反转在“小端”格式和“大端”格式之间的数据转换是一个必要的操作。 一种比较...

Protel99SE添加泪滴焊盘

Protel99SE添加泪滴焊盘

在电路板设计中,为了让焊盘更加坚固,防止机械制板时焊盘与导线之间断开,常在焊盘和导线之间用铜膜布置一个过渡区,形状像泪滴,故常称做补泪滴(Teardrops)。 泪滴的放置可以执行主菜单命令 Tools->Teardrops,将弹出如图所示的 Teardrop ptions (泪滴)设置对话...

Can't place multiple pins assigned to pin location Pin_101

Can't place multiple pins assigned to pin location Pin_101

错误:Error (176310): Can't place multiple pins assigned to pin location Pin_101 (IOPAD_X34_Y18_N21)     Info (176311): Pin addr[8] is as...

TM87系列Mask Option

TM87系列Mask Option

1 Power Source 电源来源 A:...

Altium避开某些区域覆铜

Altium避开某些区域覆铜

覆铜的时候,有时候会有些地方不能覆铜。例如下图,如果想在A区域覆铜,而B区域不覆铜。该怎么办呢?? 网上有云: 1、B画keepout层,然后再覆铜,这样B就可避开覆铜。 2、B区域放置一个同等大小焊盘,然后覆铜。 以上方法均不怎么完美,重新覆铜的画有可能会影响覆铜的形状。 其实Altium已经自...

ZBlog 1.8 ASP转PHP

ZBlog 1.8 ASP转PHP

ZBlog 1.8 ASP转PHP版本过程第一步:将ZBlog升级到2.x版本,因为只有2.x才支持【ZBlog PHP转换工具】需要注意的是:官方下载最新的ASP版本里面没有zb_update18to20这个文件夹,需要从GitHub(https://github.com/zblogcn/zblo...

发表评论

访客

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