This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GAP Central Connection Establishment and Termination timeout

I would like to configure the connection timeout with the S130v1. This timeout is described in the following sequence diagram: infocenter.nordicsemi.com/.../group___b_l_e___g_a_p___c_e_n_t_r_a_l___c_o_n_n___m_s_c.html

Is this possible to configure it or do I have to add a software timer and cancel the pending request manually ?

If the central software is multi-link can the S130v1 manage multiple pending connection requests ? And is it possible to cancel only one pending connection request ?

Thanks for the help.

Parents
  • The connection timeout is one of the parameters to the connection function which starts that diagram, so you just set it.

  • I did not find any information about that in the doc, so as you suggest I will investigate more by myself.

    It would be great if the SoftDevice could handle automatic re-connection to more than one device. So for instance, when a peripheral device goes out of range and disconnects, I just have to send a connection request with a long timeout just after, and the central device will connect automatically again when the peripheral comes back in range.

    The sd_ble_gap_connect_cancel function takes no parameters, so I think it is not possible to have multiple pending connection requests.

Reply
  • I did not find any information about that in the doc, so as you suggest I will investigate more by myself.

    It would be great if the SoftDevice could handle automatic re-connection to more than one device. So for instance, when a peripheral device goes out of range and disconnects, I just have to send a connection request with a long timeout just after, and the central device will connect automatically again when the peripheral comes back in range.

    The sd_ble_gap_connect_cancel function takes no parameters, so I think it is not possible to have multiple pending connection requests.

Children
No Data
Related