<?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>More trouble with changing BLE connection interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23802/more-trouble-with-changing-ble-connection-interval</link><description>I&amp;#39;ve read as many posts regarding changing the ble connection interval as I can find but so far have been unsuccessful changing the ble connection interval.
Below has been my strategy thus far: 
 Here are the initial connection parameters I&amp;#39;m using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Aug 2017 14:13:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23802/more-trouble-with-changing-ble-connection-interval" /><item><title>RE: More trouble with changing BLE connection interval</title><link>https://devzone.nordicsemi.com/thread/93630?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 14:13:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6dbc504-9d5c-4ee8-841b-b632ed16e48b</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Perhaps looking at the &lt;a href="https://github.com/NordicSemiconductor?utf8=%E2%9C%93&amp;amp;q=ios&amp;amp;type=&amp;amp;language="&gt;source code for one of the Nordic iOS apps&lt;/a&gt; can give you an idea on how to change/accept/obtain different connection intervals i iOS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More trouble with changing BLE connection interval</title><link>https://devzone.nordicsemi.com/thread/93628?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2017 13:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c739e83d-2f42-4baa-8c42-2c4d727e9732</guid><dc:creator>q</dc:creator><description>&lt;p&gt;I&amp;#39;ve never seen it establish any connection interval that is not 24, so I think there&amp;#39;s something else that is wrong.  Surely others with an iphone are able to change the connection interval.  I will do some more debugging once I get another dev board and combine it with a bluetooth sniffer.  I&amp;#39;ll post pack in a couple days with more info and/or a solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More trouble with changing BLE connection interval</title><link>https://devzone.nordicsemi.com/thread/93629?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2017 09:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1419f20f-4cfc-4a3a-b21a-e175491f9587</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I don&amp;#39;t think there is any way to force iOS to accept some connection parameters. One technique is to gradually increase the connection interval and see when iOS will accept the new connection interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More trouble with changing BLE connection interval</title><link>https://devzone.nordicsemi.com/thread/93627?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 14:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:334f9010-fe26-4417-9dbd-cfd5f98bccd6</guid><dc:creator>q</dc:creator><description>&lt;p&gt;It turns out my application was triggering a disconnect by calling &lt;code&gt;sd_ble_gap_disconnect()&lt;/code&gt; within &lt;code&gt;on_conn_params_evt()&lt;/code&gt;, which was receiving an event BLE_CONN_PARAMS_EVT_FAILED.  I am not getting the disconnect error anymore after commenting out sd_ble_gap_disconnect().  However, it seems clear now that the connection params event is failing...the question is why.  Any insights?  I believe that all of the conn_params that I&amp;#39;ve picked are reasonable and stick to the Apple defined specifications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: More trouble with changing BLE connection interval</title><link>https://devzone.nordicsemi.com/thread/93626?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 13:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb4a1f7-ee5a-40f6-a5fa-0b8d4fe329f7</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;When wanting to update the connection parameters from a peripheral, the peripheral sends a &amp;quot;connection parameter update request&amp;quot; to the central. The central has three options when it receives a  &amp;quot;connection parameter update request&amp;quot;: Accept, reject, or ignore.&lt;/p&gt;
&lt;p&gt;In either case, the result from the &amp;quot;connection parameter update request&amp;quot; should be reflected by the connection parameters in the event BLE_GAP_EVT_CONN_PARAM_UPDATE, see &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v4.0.2%2Fgroup___b_l_e___g_a_p___c_p_u___m_s_c.html&amp;amp;cp=2_3_0_1_1_2_1_3_8"&gt;this&lt;/a&gt; message sequence chart.&lt;/p&gt;
&lt;p&gt;The error code 22 = 0x16 = BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION&lt;/p&gt;
&lt;p&gt;Is it possible that it is your application that is triggering a disconnect, by calling &lt;code&gt;sd_ble_gap_disconnect()&lt;/code&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>