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.

如何修改主机的连接超时参数



Hi

    Peripheral连接超时参数可以通过Peripheral.c的API设置:

GAPRole_SetParameter( GAPROLE_TIMEOUT_MULTIPLIER, sizeof( uint16 ), &desired_conn_timeout );

    但是Central.c的API中,并没有设置连接超时的参数。

GAPCentralRole_SetParameter();//找不到

    请问我该如何设置Central的连接超时参数呢?

我的问题其实是这样的:Central与Peripheral连接后,我强制复位Peripheral,Central要等待很久才感应到连接已经超时。

我的目的只是:降低Central连接超时的等待时间。