<?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>Changing BLE connection interval time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27120/changing-ble-connection-interval-time</link><description>I&amp;#39;d like to be able to change the ble connection interval during during runtime to save power. I followed this post and found that p_ble_evt-&amp;gt;evt.gap_evt.params.connected.conn_params.max_conn_interval was 24 (ms?). However I can&amp;#39;t get this number to change</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Nov 2017 15:41:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27120/changing-ble-connection-interval-time" /><item><title>RE: Changing BLE connection interval time</title><link>https://devzone.nordicsemi.com/thread/106718?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 15:41:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:086835e2-3fc5-4e01-a702-4af16467f7d7</guid><dc:creator>Adriana</dc:creator><description>&lt;p&gt;Thank you &lt;code&gt;ble_gap_conn_params_t&lt;/code&gt; was the structure I was looking for. Excuse me for resurrecting an answered thread, I&amp;#39;m learning good manners, won&amp;#39;t do it again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing BLE connection interval time</title><link>https://devzone.nordicsemi.com/thread/106717?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 15:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a062389-2dd8-4219-9dee-6ad991b28958</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Firstly I would submit separate question rather then resurrecting some answered thread. Secondly how exactly you get value of connection interval through iOS BLE API???? Thirdly if there is connection parameter update procedure you should get &lt;code&gt;BLE_GAP_EVT_CONN_PARAM_UPDATE&lt;/code&gt; and the &lt;code&gt;ble_gap_conn_params_t&lt;/code&gt; structure again contains new parameters. Fourthly the truth is in the air meaning trace/log from BLE sniffer should tell you all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing BLE connection interval time</title><link>https://devzone.nordicsemi.com/thread/106716?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 14:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f86134e-5219-4117-84df-7b720193ccdf</guid><dc:creator>Adriana</dc:creator><description>&lt;p&gt;Hi,
I&amp;#39;m also using nrf52 as peripheral and iOS as central. I&amp;#39;m trying to check the connection interval established by reading the value of p_ble_evt-evt.gap_evt.params.connected.conn_params.max_conn_interval. The value is 24 (30ms) at BLE_GAP_EVT_CONNECTED and non representative at BLE_GAP_EVT_CONN_PARAM_UPDATE.&lt;/p&gt;
&lt;p&gt;I checked at my central application that the established connection interval is 15ms during peripheral to central notification. I guess this means there is some negotiation after the first connection event, which is the proper way to get the connection interval value? If this is too specific, can you give me some advice about ble events management? I&amp;#39;m using SDK 14.1.0 and SoftDevice s132.&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: Changing BLE connection interval time</title><link>https://devzone.nordicsemi.com/thread/106714?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2017 08:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f395674f-addf-4871-bbc6-03c1079e79e1</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;It depends;) There seems to be certain way how to influence it (at least on Android), but as you know it changes from version to version and have these vague names &amp;quot;high/mid/low&amp;quot; which get translated by OS/lower BT stack to actual timing... there are some Q&amp;amp;S on this topic on this forum, try search.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing BLE connection interval time</title><link>https://devzone.nordicsemi.com/thread/106715?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2017 08:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:536b877f-db17-499f-81f9-4692a2f28614</guid><dc:creator>q</dc:creator><description>&lt;p&gt;Currently I have the nRF52 set up as the peripheral.  On iOS or Android (assuming they are operating at the central), is the connection interval decided by the app or the OS (within the limits defined in the ble spec, of course)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing BLE connection interval time</title><link>https://devzone.nordicsemi.com/thread/106713?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 15:55:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c30afe22-6c7e-40b2-9c5f-f14a15a1c169</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Firstly connection interval has &amp;quot;native&amp;quot; unit of 1.25ms so you need to be careful if you talk in these or in real time. Secondly you haven&amp;#39;t mentioned if you are talking about GAP Central role (which sets the connection parameters as master and so you have pretty much full control about connection interval used) or GAP Peripheral (which only follows and suggests parameters back to master, you can use Connection Parameters Change procedure which has form of request to GAP Central who has always final word.&lt;/p&gt;
&lt;p&gt;If you are on Central side then I&amp;#39;d assume that SD should try o use Minimal Connection Interval value and only if there is Parameters&amp;#39; Change request from Peripheral it can go as high as Maximum. But if you want to be sure then simply set both to the same values and then SD should use that for connection establishment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>