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: CC2541

CC2541与安卓建立连接后需一直保持连接,为了降低功耗在没有数据发送时需进入睡眠(PM2模式),相关的几个参数设置如下:MIN_CONN_INTERVAL、MAX_CONN_INTERVAL都为10ms,SLAVE_LATENCY为490,CONN_TIMEOUT为3000。然后通过调用halSleep(4500)可以正常睡眠4.5秒。

问题:把MIN_CONN_INTERVAL和MAX_CONN_INTERVAL改得更大时就不能正常睡眠(进入睡眠后马上就出来了)。