<?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>Connect on first advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55226/connect-on-first-advertising</link><description>Hi, 
 I&amp;#39;ve got some questions about setting up a connection. 
 I want to connect as fast as possible with a UUID filter. Is it possible to connect directly on the first advertising or does the softdevice always need to wait for a second one? 
 What about</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Dec 2019 13:39:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55226/connect-on-first-advertising" /><item><title>RE: Connect on first advertising</title><link>https://devzone.nordicsemi.com/thread/223925?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 13:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86d4361e-82fc-478b-8944-915eca38f4e6</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Stephan Hanselmann"]Does this also need the second advertising?[/quote]
&lt;p&gt;&amp;nbsp;Yes.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;sd_ble_gap_connect() will start scanning, and will initiate the connection on the next(second one) advertising packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect on first advertising</title><link>https://devzone.nordicsemi.com/thread/223919?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 13:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6662447e-e82d-4ed2-9689-a5a2f3dc7897</guid><dc:creator>Stephan Hanselmann</dc:creator><description>&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;How about the scan option &amp;quot;connect_if_match&amp;quot;? Does this also need the second advertising?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect on first advertising</title><link>https://devzone.nordicsemi.com/thread/223916?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 13:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d2683f-a4d1-4df8-b0d8-95d53d75eac3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to wait for the&amp;nbsp;&lt;span&gt;second one. You find the device you want to connect to on the first&amp;nbsp;advertising packet, call&amp;nbsp;sd_ble_gap_connect(), and the connect will happen on the second one.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>