<?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>Connection param update delay</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13815/connection-param-update-delay</link><description>I&amp;#39;m running into a weird problem where there is a long delay that is variable between calling ble_conn_params_change_conn_params() and receiving the BLE_GAP_EVT_CONN_PARAM_UPDATE event. 
 I have the following connection params: 
 #define MIN_CONN_INTERVAL_IDLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 May 2016 05:51:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13815/connection-param-update-delay" /><item><title>RE: Connection param update delay</title><link>https://devzone.nordicsemi.com/thread/52795?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 05:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a34f563b-b5a4-4cf0-8e90-13804243bf15</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;You can begin notifications with the current parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection param update delay</title><link>https://devzone.nordicsemi.com/thread/52794?ContentTypeID=1</link><pubDate>Fri, 13 May 2016 15:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4e28478-6dc3-4a05-9340-6a802348c9ed</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;Thanks for the info, its clear now. I have a followup question:
Since my purpose for using the update procedure is to periodically burst notification data to the central, should I wait until the parameters are updated to the shorter interval before sending the notifications? Can I begin notifications with the current parameters or can that potentially delay the update even further?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection param update delay</title><link>https://devzone.nordicsemi.com/thread/52793?ContentTypeID=1</link><pubDate>Fri, 13 May 2016 07:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c840dfba-3732-4f63-a253-574fc1d795c9</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;The Connection Parameter Update procedure requires you to wait at least 6 connection intervals before actually doing the update. Additionally, the peripheral side can only request an update from the central*, and the central has to receive, process and respond to this request before initiating the actual update. If your connection interval is slow, e.g. 1000ms, this initial exchange of packets can easily take 2*1000ms. Then there is a minimum of 6*1000ms from the exchange until the parameters have updated. This delay is mandated by the specification, to make sure that both sides have a good chance to receive the information about the change before it happens.&lt;/p&gt;
&lt;p&gt;The variable delays you are seeing are a consequence of this. Changing from a slow connection interval is slow, and from a fast is fast. If you add slave latency into the mix, the slowness will be multiplied with the latency count.&lt;/p&gt;
&lt;p&gt;* There is a Connection Parameter Request procedure that lets the slave initiate now, but our current SoftDevices do not support it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection param update delay</title><link>https://devzone.nordicsemi.com/thread/52792?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 22:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92553151-6069-4c57-8af8-35c1ca3c787d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Related: &lt;a href="https://devzone.nordicsemi.com/question/18916/nrf8001-and-changetimingrequest-30-second-delay/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; &lt;strong&gt;?&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>