3 posts / 0 new
Last post
凌乱的爱
Offline
Last seen:2 years 7 months ago
加入:2017-08-29 10:46
手机莫名其妙就会断开蓝牙

在手机连接蓝牙的情况下,手机会出现不确定时间的断开蓝牙,手机APP有重连程序,所以马上又可以连接上,有点莫名其妙(是在没有板载天线的情况下测试的)

/// Minimum Connection Event Duration measured in ble double slots (1.25ms)
/// use the macro MS_TO_DOUBLESLOTS to convert from milliseconds (ms) to double slots
.ce_len_min = MS_TO_DOUBLESLOTS(0),

/// Maximum Connection Event Duration measured in ble double slots (1.25ms)
/// use the macro MS_TO_DOUBLESLOTS to convert from milliseconds (ms) to double slots
.ce_len_max = MS_TO_DOUBLESLOTS(0),

这两个参数有什么作用吗,麻烦解释一下 = =!

Device:
CYibin
Offline
Last seen:4 months 2 weeks ago
Staff
加入:2017-12-14 02:48
您好,

您好,

这两个参数(ce_len_min, ce_len_max)指示了每个连接事件持续的长度,设置为0表示由协议栈自己分配;一般情况下无需用户去配置。

天线、晶振频偏,都会影响连接稳定性,可先从这方面着手排查断连原因。

Jelphi
Offline
Last seen:3 months 2 weeks ago
Staff
加入:2015-09-10 12:07
能否留下你的联系方式呢?

能否留下你的联系方式呢?