<?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>connect inteval time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41107/connect-inteval-time</link><description>i use the BLE uart example to test. I delete the UART hardware init and just use the BLE send data to phone every 500ms. I found whatever i set the MIN_CONN_INTERVAL and MAX_CONN_INTERVAL, the connet interval seems have not change. below is the power</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jan 2019 12:39:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41107/connect-inteval-time" /><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/164517?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 12:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d862dedd-534f-4457-8561-8335b41d358a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As mentioned before, all you can do is set the&amp;nbsp;&lt;span&gt;MIN_CONN_INTERVAL&amp;nbsp;and&amp;nbsp;MAX_CONN_INTERVAL defines, and hope that the central will give you the connection interval that you are asking for.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Set both of these to&amp;nbsp;&lt;em&gt;MSEC_TO_UNITS(250, UNIT_1_25_MS)&lt;/em&gt; to request this particular connection interval.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can also try to increase the&amp;nbsp;MAX_CONN_PARAMS_UPDATE_COUNT parameter, which will increase the amount of times that the peripheral asks for updated connection parameters.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/164393?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 01:26:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c86cf644-abc0-4e8f-a576-e5a07d83b3e3</guid><dc:creator>Carey</dc:creator><description>&lt;p&gt;i use&amp;nbsp; the BLE uart example to test.&amp;nbsp; I want to change the connected interval to 250ms, How to set is right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/164201?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 10:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e800aa49-e06c-4227-b557-f9c41b57531b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What kind of BLE device are you connecting to?&lt;/p&gt;
&lt;p&gt;It is up to the central whether or not to heed the values stored in the PPCP. In the end the central can set the connection parameters to whatever it likes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/162917?ContentTypeID=1</link><pubDate>Sun, 23 Dec 2018 14:09:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a42e43d-e8db-4817-8b5c-ce4ac37b16d9</guid><dc:creator>Carey</dc:creator><description>&lt;p&gt;static void on_ble_evt(ble_evt_t * p_ble_evt)&lt;br /&gt;{&lt;br /&gt; uint32_t err_code;&lt;br /&gt; &lt;br /&gt; switch (p_ble_evt-&amp;gt;header.evt_id)&lt;br /&gt; {&lt;br /&gt; case BLE_GAP_EVT_CONNECTED:&lt;/p&gt;
&lt;p&gt;m_conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;min_interval=p_ble_evt-&amp;gt;evt.gap_evt.params.connected.conn_params.min_conn_interval;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; max_interval=p_ble_evt-&amp;gt;evt.gap_evt.params.connected.conn_params.max_conn_interval;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;HI, I have read the connected interval data like this, both of the&amp;nbsp;&lt;strong&gt;min_interval&amp;nbsp;and max_interval is 39 (0x27),&amp;nbsp; despite i set the&amp;nbsp;MIN_CONN_INTERVAL is 350ms,&amp;nbsp;MAX_CONN_INTERVAL is&amp;nbsp;450ms&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/160263?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 17:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f65dc2b-8a5c-4794-9b16-cdbe35de506c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You can check the connection parameters you are given in the connected or conn params update events, and print them to the log:&lt;/p&gt;
&lt;p&gt;case BLE_GAP_EVT_CONNECTED:&lt;br /&gt;&amp;nbsp; .&lt;br /&gt;&amp;nbsp; .&lt;br /&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp; NRF_LOG_INFO(&amp;quot;Con params: %i, %i&amp;quot;, p_ble_evt-&amp;gt;evt.gap_evt.params.connected.conn_params.min_conn_interval, p_ble_evt-&amp;gt;evt.gap_evt.params.connected.conn_params.max_conn_interval);&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&amp;nbsp; break;&lt;/p&gt;
&lt;p&gt;case BLE_GAP_EVT_CONN_PARAM_UPDATE:&lt;br /&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp; NRF_LOG_INFO(&amp;quot;Con params: %i, %i&amp;quot;, p_ble_evt-&amp;gt;evt.gap_evt.params.conn_param_update.conn_params.min_conn_interval, p_ble_evt-&amp;gt;evt.gap_evt.params.conn_param_update.conn_params.max_conn_interval);&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&amp;nbsp; break;&lt;/p&gt;
&lt;p&gt;Just multiply the reported number by 1.25 to get the interval in milliseconds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you should at least know if the values you see in the log are related to the connection interval.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/160022?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 15:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee15e129-427c-4a5b-bc52-f73d881b3f41</guid><dc:creator>natersoz</dc:creator><description>&lt;p&gt;I misread your post - sorry. Although the central can ignore your connection parameter request I don&amp;#39;t think this is happening in your case. It usually happens when the connection interval request is too small. In your case, I don&amp;#39;t know why you&amp;#39;re getting 50 msec burst in power. Are you sure it is related to radio on time?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/159851?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 01:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ff21fcc-0fc8-4295-bacc-1e82da22c5fb</guid><dc:creator>Carey</dc:creator><description>&lt;p&gt;you mean that in my broad the real connect time is 50ms? despite I set the MIN_CONN_INTERVAL and&amp;nbsp;MAX_CONN_INTERVAL is 250ms to 350ms, the central can reject that parameter and set it freely?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect inteval time</title><link>https://devzone.nordicsemi.com/thread/159809?ContentTypeID=1</link><pubDate>Sat, 01 Dec 2018 19:47:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ea2dbc4-12f8-495f-acd4-a24785cffc4b</guid><dc:creator>natersoz</dc:creator><description>&lt;p&gt;The connection parameters when set by a peripheral merely set the PPCP Preferred Peripheral Connection Parameters characteristic (I am assuming that you are discussing the performance observed on the peripheral side of the UART).&lt;/p&gt;
&lt;p&gt;The host, i.e. central, can read the PPCP characteristic and accept or reject the parameters. It is completely optional. If rejected, the peripheral cannot stray outside the negotiated connection parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>