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.

CC2640R2F simple_central 无法终止连接请求

Other Parts Discussed in Thread: CC2640R2F

请教TI工程师一个问题:.

硬件平台:CC2640R2F

SDK版本:1_40_00_45

在 ble5stack    multi_role例程中,使用GAPCentralRole_EstablishLink函数发起连接请求,若此时从机不在,可通过GAPCentralRole_TerminateLink(GAP_CONNHANDLE_INIT)函数终止连接请求。

但是在 ble5stack   simple_central例程中,发起连接请求后,若此时从机不在,同样使用GAPCentralRole_TerminateLink函数无法终止连接请求,现象是主机一直处于连接请求状态,代码中也没有看到有请求超时事件。

请问当从机不在时,如何终止simple_central的连接请求,或者在哪里设置连接请求超时时间?

请帮忙协助解决,谢谢