CC2541 偶尔停止广播只有重新上电才重新开始广播
时间:10-02
整理:3721RD
点击:
协议栈是1.32的,晶振都是用的20ppm的,模式是一般广播模式,按说会一直周期广播啊,但是偶尔会停止广播。求解
采用低功耗工作模式不?
代码中的搜索如下变量,默认基本是0,则广播30.72秒后会停止
// By setting this to zero, the device will go into the waiting state after
// being discoverable for 30.72 second, and will not being advertising again
// until the enabler is set back to TRUE
uint16 gapRole_AdvertOffTime = 0;