<?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 interval setup issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30827/connection-interval-setup-issue</link><description>Our project uses nRF52832, and the bluetooth connection has two modes as follows: 
 one is low-power standby mode connection interval=1000ms; 
 One is data transmission mode, connection interval=7.5ms; 
 We call sd_ble_gap_conn_param_update to set up</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Apr 2018 14:34:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30827/connection-interval-setup-issue" /><item><title>RE: connection interval setup issue</title><link>https://devzone.nordicsemi.com/thread/129015?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 14:34:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:550d1971-b2f6-4b2b-91b0-8f7847feb6bf</guid><dc:creator>KoFuKu</dc:creator><description>&lt;p&gt;Hi TH_HT,&lt;/p&gt;
&lt;p&gt;How do you use this code? Are you able to use your code for dynamic change in connection parameters or you are setting connection parameters only once in initialization.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I am looking for solution to change connection parameters when i need a fast data transfer and then back to connection parameters for low power.&lt;/p&gt;
&lt;p&gt;EDIT1: Ok. I guess you call this function twice. Once as gap_conn_param_update(1) and second time as gap_conn_param_update(0). I tried this and it works, but i have naw a few bugs.&lt;/p&gt;
&lt;p&gt;Can you tell me what is the best time to do connection parameters change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection interval setup issue</title><link>https://devzone.nordicsemi.com/thread/122590?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 10:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:258fb54c-8712-4d7d-b274-ce692d87987f</guid><dc:creator>TH_HT</dc:creator><description>&lt;p&gt;We expect&amp;nbsp; less than 500ms for reaction time.&lt;/p&gt;
&lt;p&gt;So, what is the suggestion min interval?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection interval setup issue</title><link>https://devzone.nordicsemi.com/thread/122583?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 09:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43126f9c-f5cd-4bf3-b210-9b45197f29a0</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Counter question: What reaction time (for conn param change) would be&lt;strong&gt; acceptable&lt;/strong&gt; in your application? Just devide this by 6 to 10 and use that as connection interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection interval setup issue</title><link>https://devzone.nordicsemi.com/thread/122580?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 09:40:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c6e9d9c-8cd7-4f00-bd2c-ace087d69f3f</guid><dc:creator>TH_HT</dc:creator><description>&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;I understand, but if i using the short interval in the first place, the power consumption will be high.&lt;/p&gt;
&lt;p&gt;How does&amp;nbsp;the min &amp;amp; max interval work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection interval setup issue</title><link>https://devzone.nordicsemi.com/thread/122579?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 09:37:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5e60ce5-5fe2-4dce-a759-3f54b9c29cb7</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;If you need a &lt;strong&gt;quick&lt;/strong&gt; change, don&amp;#39;t use a long interval like 1 second in the first place. The negotiation will need a few roundtrips using the &lt;em&gt;long&lt;/em&gt; interval before it can take effect, see &amp;quot;Peripheral Connection Parameter Update&amp;quot; message chart in the softdevice api documents &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_p___c_p_u___m_s_c.html" rel="noopener noreferrer" target="_blank"&gt;link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection interval setup issue</title><link>https://devzone.nordicsemi.com/thread/122536?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 02:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:901bbdc3-d9ef-4794-a6c7-12efa51d9056</guid><dc:creator>TH_HT</dc:creator><description>&lt;p&gt;Yes, setup again after a few seconds, will success.&lt;/p&gt;
&lt;p&gt;And another question is, from 1000ms to 7.5 ms connection interval, from setup to setup success, it will be take more than 6s(Please refer the below log). In our project, we need the quick&amp;nbsp;response if we setup the&amp;nbsp;&lt;span&gt;connection interval&amp;nbsp;from 1000ms to 7.5ms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please help&amp;nbsp; how to optimize the response delay.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;[&lt;span&gt;00279475&lt;/span&gt;] &amp;lt;error&amp;gt; app: Updating connection parameters as low power mode..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00279475&lt;span class="showcalpanel" id="showcalpanel"&gt;&lt;a class="add2calendar"&gt;&lt;span class="ico_pushtel"&gt;&lt;/span&gt;可能是电话号码，是否拨号?&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;] &amp;lt;info&amp;gt; app: sd_ble_gap_conn_param_update(): min=0x320, max=0x320.&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00279535&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: params_ok=1..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00279535&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: evt_type=1..&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00282240&lt;/span&gt;] &amp;lt;error&amp;gt; app: Updating connection parameters as fast mode..&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#ff0000;"&gt;[&lt;span&gt;00282240&lt;/span&gt;] &amp;lt;info&amp;gt; app: sd_ble_gap_conn_param_update(): min=0x6, max=0x6.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#ff0000;"&gt;[&lt;span&gt;00289541&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: params_ok=1..&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00289541&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: evt_type=1..&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00301776&lt;/span&gt;] &amp;lt;error&amp;gt; app: Updating connection parameters as low power mode..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00301776&lt;/span&gt;] &amp;lt;info&amp;gt; app: sd_ble_gap_conn_param_update(): min=0x320, max=0x320.&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00301830&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: params_ok=1..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00301830&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: evt_type=1..&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00326941&lt;/span&gt;] &amp;lt;error&amp;gt; app: Updating connection parameters as fast mode..&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#ff0000;"&gt;[&lt;span&gt;00326941&lt;/span&gt;] &amp;lt;info&amp;gt; app: sd_ble_gap_conn_param_update(): min=0x6, max=0x6.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#ff0000;"&gt;[&lt;span&gt;00334836&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: params_ok=1..&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00334836&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: evt_type=1..&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00346476&lt;/span&gt;] &amp;lt;error&amp;gt; app: Updating connection parameters as low power mode..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00346476&lt;/span&gt;] &amp;lt;info&amp;gt; app: sd_ble_gap_conn_param_update(): min=0x320, max=0x320.&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00346532&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: params_ok=1..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00346532&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: evt_type=1..&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00349291&lt;/span&gt;] &amp;lt;error&amp;gt; app: Updating connection parameters as fast mode..&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#ff0000;"&gt;[&lt;span&gt;00349291&lt;/span&gt;] &amp;lt;info&amp;gt; app: sd_ble_gap_conn_param_update(): min=0x6, max=0x6.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#ff0000;"&gt;[&lt;span&gt;00356540&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: params_ok=1..&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00356540&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: evt_type=1..&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00368827&lt;/span&gt;] &amp;lt;error&amp;gt; app: Updating connection parameters as low power mode..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00368827&lt;/span&gt;] &amp;lt;info&amp;gt; app: sd_ble_gap_conn_param_update(): min=0x320, max=0x320.&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00368886&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: params_ok=1..&lt;/div&gt;
&lt;div&gt;[&lt;span&gt;00368886&lt;/span&gt;] &amp;lt;info&amp;gt; app: on_conn_params_update: evt_type=1..&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection interval setup issue</title><link>https://devzone.nordicsemi.com/thread/121854?ContentTypeID=1</link><pubDate>Sat, 24 Feb 2018 10:27:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9873d4-56fd-423f-90b1-88a54d25e855</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Infocenter sums error&amp;nbsp;NRF_ERROR_BUSY up nicely: &amp;quot;Procedure already in progress or not allowed at this time [...]&amp;quot; - so your only hope is to start the conn param update again in a few seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>