<?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>How to know the actual connection parameters</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5639/how-to-know-the-actual-connection-parameters</link><description>Hello, 
 I am working with the nRF51822 and S110 Softdevice. I have so far successfully created several examples of fairly complex Peripherals. Now I am trying to, 
 A) Set up the preferred communication parameters before actually starting the advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Feb 2015 00:59:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5639/how-to-know-the-actual-connection-parameters" /><item><title>RE: How to know the actual connection parameters</title><link>https://devzone.nordicsemi.com/thread/19752?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 00:59:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afcfb7ea-1f4d-4072-8c19-a431aacbf3b1</guid><dc:creator>Jos&amp;#233; &amp;#193;ngel Jim&amp;#233;nez</dc:creator><description>&lt;p&gt;Thanks a lot for your nice response. Now I have a good understanding on how the connection parameter update request &lt;em&gt;negotiation&lt;/em&gt; works.&lt;/p&gt;
&lt;p&gt;I am now having some issues trying to register/intercept BLE_GAP_EVT_CONN_PARAM_UPDATE, in order to LOG the connection parameters received at each stage of the negociation.&lt;/p&gt;
&lt;p&gt;Is there a simple way to attach/register a callback function to this event? I would like to register one of my app&amp;#39;s functions so that it is called whenever the event occurs.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to know the actual connection parameters</title><link>https://devzone.nordicsemi.com/thread/19751?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 12:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:117aa8ba-a36e-45b4-a685-7b4b1f09c302</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi José&lt;/p&gt;
&lt;p&gt;I do not think the centrals honor the preferred connection parameter information of the peripheral. You will have to send a connection parameter update request to the central when connection has been established. See more about how that works on &lt;a href="https://devzone.nordicsemi.com/question/12545/update-connection-parameter-programmatically/"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To see what connection parameters are actually used, look at &lt;a href="https://devzone.nordicsemi.com/question/23190/whats-the-actual-connection-interval-used/?answer=23294#post-id-23294"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 23.2.2015&lt;/strong&gt;
You can see how to receive connection parameter updates from the cenral device in e.g. the heart rate example in the nRF51 SDK. in the main.c file you will find ble_evt_dispatch functions which is called on BLE softdevice events. The ble_conn_params_on_ble_evt function is called in turn to handle the connection parameter update request from the central.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>