<?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>How don&amp;#39;t make Parameter Update Requests?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26403/how-don-t-make-parameter-update-requests</link><description>I run into this topic during seeking an answer to my problem and for me, as well as for the author of that question the answer doesn&amp;#39;t work properly. But wouldn&amp;#39;t it be easier to set max_conn_params_update_count to 0? As far as I understand peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Oct 2017 16:52:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26403/how-don-t-make-parameter-update-requests" /><item><title>RE: How don't make Parameter Update Requests?</title><link>https://devzone.nordicsemi.com/thread/103909?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 16:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fbe8981-dd3e-4da5-90d3-9406ee2c9580</guid><dc:creator>AndrzejB</dc:creator><description>&lt;p&gt;I get it, thanks again :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How don't make Parameter Update Requests?</title><link>https://devzone.nordicsemi.com/thread/103908?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 16:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6beea526-3997-4d42-b69e-4e5110703b24</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;No, even if you have set the &lt;code&gt;disconnect_on_fail&lt;/code&gt; flag to false or true, it&amp;#39;s still possible to disconnect the link in the event handler. This looks like this in some examples:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; * @param[in] p_evt  Event received from the Connection Parameters Module.
 */
static void on_conn_params_evt(ble_conn_params_evt_t * p_evt)
{
    ret_code_t err_code;

    if (p_evt-&amp;gt;evt_type == BLE_CONN_PARAMS_EVT_FAILED)
    {
        err_code = sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_CONN_INTERVAL_UNACCEPTABLE);
        APP_ERROR_CHECK(err_code);
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I think the best option is to just set the max/min interval on the peripheral very wide, e.g. min 7.5ms and max 2sec. Then there will be no negotiation and timers in the module will not be started.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How don't make Parameter Update Requests?</title><link>https://devzone.nordicsemi.com/thread/103907?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 16:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c9ffe32-719a-4e41-9ac1-32def055f9ac</guid><dc:creator>AndrzejB</dc:creator><description>&lt;p&gt;I have control over the peripheral and central application and just don&amp;#39;t need it. I suppose that it takes some time to execute this procedure so I want to avoid it.&lt;/p&gt;
&lt;p&gt;When you&amp;#39;re writing about disconnection of BLE link in some examples you mean that in these examples cp_init.disconnect_on_fail in conn_params_init is set as true?&lt;/p&gt;
&lt;p&gt;Thanks for link, it&amp;#39;s helpful :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How don't make Parameter Update Requests?</title><link>https://devzone.nordicsemi.com/thread/103906?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 15:43:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:654851b7-c6c6-4742-91cb-ac9258bdcd04</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you set &lt;code&gt;max_conn_params_update_count&lt;/code&gt; to 0, a &lt;code&gt;BLE_CONN_PARAMS_EVT_FAILED&lt;/code&gt; event will be trigged if the received connection parameters are not acceptable. It should not send any Connection Parameter Update Requests to the central, but in some BLE examples in the SDK, this event will &lt;strong&gt;disconnect the BLE link&lt;/strong&gt;. So please check the event handler for the connection parameters module ( on_conn_params_evt / cp_init.evt_handler) on how you are handling this event.&lt;/p&gt;
&lt;p&gt;Take a look at &lt;a href="https://devzone.nordicsemi.com/question/100187/how-to-use-the-default-connection-paramater-as-set-by-the-central/?answer=100379#post-id-100379"&gt;this post&lt;/a&gt; on how the negotiation logic is implemented.&lt;/p&gt;
&lt;p&gt;Is there any reason you don&amp;#39;t want to send a Connection Parameter Update Request ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>