This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关闭蓝牙 进入休眠模式

Other Parts Discussed in Thread: ENERGYTRACE

TI专家:

             使用CC1352 运行multi_sensor ,蓝牙程序正在广告时无连接,我如何关闭蓝牙,让CPU进入睡眠模式,有无详细一点的流程说明?我在这个蓝牙项目中,通过按键强制调用:

GapAdv_disable(advHandleLegacy);

GapAdv_disable(advHandleLongRange);

GapAdv_destroy(advHandleLegacy, GAP_ADV_FREE_OPTION_DONT_FREE);

GapAdv_destroy(advHandleLongRange, GAP_ADV_FREE_OPTION_DONT_FREE);


在进入PowerCC26XX_standbyPolicy();前程序就运行异常了,我知道我的方法不对。
另外 MultiSensor_processAdvEvent(msGapAdvEventData_t *pEventData)函数有

 case GAP_EVT_ADV_END_AFTER_DISABLE: 事件,程序并无关闭广告代码,这个是为什么?


在蓝牙应用例程中有无让MCU进入睡眠模式的例程?