在手机连接蓝牙的情况下,手机会出现不确定时间的断开蓝牙,手机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:
您好,
这两个参数(ce_len_min, ce_len_max)指示了每个连接事件持续的长度,设置为0表示由协议栈自己分配;一般情况下无需用户去配置。
天线、晶振频偏,都会影响连接稳定性,可先从这方面着手排查断连原因。
能否留下你的联系方式呢?