<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GAP Central Connection Establishment and Termination timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14254/gap-central-connection-establishment-and-termination-timeout</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jun 2016 08:26:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14254/gap-central-connection-establishment-and-termination-timeout" /><item><title>RE: GAP Central Connection Establishment and Termination timeout</title><link>https://devzone.nordicsemi.com/thread/54424?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 08:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:854b9091-9e12-4d6a-ab7e-126303dcd407</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Thanks for the information @ulrich !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GAP Central Connection Establishment and Termination timeout</title><link>https://devzone.nordicsemi.com/thread/54422?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 07:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7feb1e3a-02b8-46ca-bfee-d2ba6d0ed035</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;No, it is not possible to have concurrent connection procedures. However, the connection parameters can take a (white)list of addresses to connect to. Then the stack will try to connect to any advertiser that matches this list, stopping at the first match. When a connect request is sent, the controller reports this as a successful connection (per the Bluetooth spec), even though the advertiser might not have seen it. You then have to wait for [supervision timeout] milliseconds to see if you get a disconnect again. After this, you have to restart the connection procedure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GAP Central Connection Establishment and Termination timeout</title><link>https://devzone.nordicsemi.com/thread/54427?ContentTypeID=1</link><pubDate>Sat, 04 Jun 2016 13:22:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d9281c-2a13-41d1-85af-330f693834ce</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;I did not find any information about that in the doc, so as you suggest I will investigate more by myself.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;sd_ble_gap_connect_cancel&lt;/code&gt; function takes no parameters, so I think it is not possible to have multiple pending connection requests.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GAP Central Connection Establishment and Termination timeout</title><link>https://devzone.nordicsemi.com/thread/54426?ContentTypeID=1</link><pubDate>Sat, 04 Jun 2016 13:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3874e14f-c451-4112-9aa6-56669c5fafcb</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Yes I knew what parameter you were looking for, but I thought just telling you it was there would let you find it fast enough :)&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know the answer to the other question. Seems like you can&amp;#39;t, why don&amp;#39;t you try it, just ask it to connect to a device which isn&amp;#39;t there, pick a random address of some sort and give it a long, long timeout, then try to connect to another one and see what happens. It&amp;#39;s quite possible the stack will deal with multiple connections at one time, but is only able to be in the process of making one new connection at once.&lt;/p&gt;
&lt;p&gt;There is a parameter to the sd_ble_enable() which isn&amp;#39;t very well explained, central_sec_count, which is the number of concurrent pairing procedures available, never quite figured out what that meant, wondered if bumping that up makes multiple concurrent pending connections work. Probalby not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GAP Central Connection Establishment and Termination timeout</title><link>https://devzone.nordicsemi.com/thread/54425?ContentTypeID=1</link><pubDate>Sat, 04 Jun 2016 12:48:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a7e1d20-0581-45bc-b877-9791ba93907a</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Thank you, I was looking for the &lt;code&gt;uint16_t ble_gap_scan_params_t::timeout&lt;/code&gt; parameter.&lt;/p&gt;
&lt;p&gt;According to the doc, I thinks it is not possible... but can we send multiple connection requests ?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The stack is busy, process pending events and retry. If another connection is being established wait for the corresponding BLE_GAP_EVT_CONNECTED event before calling again.&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GAP Central Connection Establishment and Termination timeout</title><link>https://devzone.nordicsemi.com/thread/54423?ContentTypeID=1</link><pubDate>Sat, 04 Jun 2016 01:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aedc1de9-3d6d-459a-88d6-bd710cd6d0bb</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;The connection timeout is one of the parameters to the connection function which starts that diagram, so you just set it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>