<?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>Parameters relating to service discovery</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1621/parameters-relating-to-service-discovery</link><description>I have a problem where a central device (iPad) has to connect to a peripheral (running nrf51822, s110) as quickly as possible, receive data and disconnect again. 
 Right now the connection is fairly quick but the delay between the connection (BLE_GAP_EVT_CONNECTED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2017 10:21:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1621/parameters-relating-to-service-discovery" /><item><title>RE: Parameters relating to service discovery</title><link>https://devzone.nordicsemi.com/thread/7137?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2017 10:21:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f9864e4-4b7a-435c-a1e1-ce2ee1b396ea</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi, the Bond manager was replaced in favor of the Peer Manager. You can find its documentation here: &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Flib_peer_manager.html&amp;amp;cp=4_0_1_3_1_8"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parameters relating to service discovery</title><link>https://devzone.nordicsemi.com/thread/7136?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2017 10:19:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71166998-2a68-4a58-ad12-737e0d9a0877</guid><dc:creator>Ankush</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;I am trying to open the above link but it saying Not found..Can you please share it once again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parameters relating to service discovery</title><link>https://devzone.nordicsemi.com/thread/7135?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2014 09:57:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfc3e823-85f4-4de2-89c6-9f9c712e12c4</guid><dc:creator>Ingolf Petersen</dc:creator><description>&lt;p&gt;Brilliant! Thanks for the info.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parameters relating to service discovery</title><link>https://devzone.nordicsemi.com/thread/7134?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2014 22:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96815be5-79b2-4ef0-b84a-25b1b86ddb2a</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Yes, the bond manager is the easiest option. Please refer to the Bond Manager&amp;#39;s documentation for more details on how to use it:&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="https://devzone.nordicsemi.com/documentation/nrf51/5.1.0/html/a00102.html" rel="nofollow"&gt;https://devzone.nordicsemi.com/documentation/nrf51/5.1.0/html/a00102.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A bonding procedure is used to exchange security keys between the 2 devices. Once those keys have been generated and stored in non-volatile memory, every time you reconnect to that device you simply load the keys and use them directly, no need to perform any additional procedures at all. After bonding you can of course remain connected, no issue at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parameters relating to service discovery</title><link>https://devzone.nordicsemi.com/thread/7133?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2014 21:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce043d44-bfd8-43d4-add4-c76a2cd34081</guid><dc:creator>Ingolf Petersen</dc:creator><description>&lt;p&gt;Hi Carles, thanks for a great reply.&lt;/p&gt;
&lt;p&gt;Regarding 1), on the nrf side I guess I should then be using the bond manager from the SDK?&lt;/p&gt;
&lt;p&gt;Another thing, when the devices enter a bond do they then keep communicating to sync the connection or is it simply so that they can quickly connect without needing to negotiate connection parameters again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parameters relating to service discovery</title><link>https://devzone.nordicsemi.com/thread/7132?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2014 11:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:465c74f8-c82c-43d3-9a78-fad8003d78ab</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;There are 3 things you can do to speed things up:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Bond. If your devices are bonded (on a first connection) then you won&amp;#39;t need to do service discovery again anymore, and you will be able to cache the attribute handles on the smartphone app so that you can directly go for the data as soon as you connect&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change the connection parameters on the smartphone side. When you create a connection to a peripheral, you are typically allowed to set the connection parameters. The lower the connection interval, the quicker data will be transferred.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Request a connection parameter update from the peripheral as soon as the connection is established. This is the same as 2) but initiated from the peripheral. Do this only if 2) is not possible.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Ideally 1) should be used, or a combination of 1) and 2).&lt;/p&gt;
&lt;p&gt;Carles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>