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.

GAPRole_TerminateConnection 使用

Other Parts Discussed in Thread: CC2541

调用GAPRole_TerminateConnection();之后CC2541断开与主机的连接,我是用按键控制关机,也就是当采集到按键长按3S之后就断开连接,进入关机模式,但是在调用 GAPRole_TerminateConnection();断开连接之后,CC2541会进入广播模式(GAPROLE_ADVERTISING),我用什么方法才能把它设置为 GAPROLE_STARTED 模式呢?