<?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>s110 connection parameters negotiation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3181/s110-connection-parameters-negotiation</link><description>My peripheral device connects with central one very rarely. I decided that I don&amp;#39;t want peripheral to negotiate connection parameters with central, just use settings imposed by central.
I&amp;#39;ve used function from some example: 
 static void conn_params_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Nov 2016 13:53:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3181/s110-connection-parameters-negotiation" /><item><title>RE: s110 connection parameters negotiation</title><link>https://devzone.nordicsemi.com/thread/11720?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2016 13:53:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db61a220-24a3-486f-9069-01fcdcc60919</guid><dc:creator>Martin Roa Villescas</dc:creator><description>&lt;p&gt;This is the criteria that is used in &lt;code&gt;ble_conn_params.c&lt;/code&gt; to decide if a &lt;strong&gt;connection parameter update request&lt;/strong&gt; is started or not:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    // Check if interval is within the acceptable range.
    // NOTE: Using max_conn_interval in the received event data because this contains
    //       the client&amp;#39;s connection interval.
    if (
        (p_conn_params-&amp;gt;max_conn_interval &amp;gt;= m_preferred_conn_params.min_conn_interval)
        &amp;amp;&amp;amp;
        (p_conn_params-&amp;gt;max_conn_interval &amp;lt;= m_preferred_conn_params.max_conn_interval)
       )
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Therefore, the best way to avoid starting a &lt;strong&gt;connection parameter update request&lt;/strong&gt; is to define the minimum &lt;code&gt;m_preferred_conn_params.min_conn_interval&lt;/code&gt; and maximum &lt;code&gt;m_preferred_conn_params.max_conn_interval&lt;/code&gt; allowed by the BLE standard for your peripheral device, i.e.:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(7.5, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(4000, UNIT_1_25_MS)
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: s110 connection parameters negotiation</title><link>https://devzone.nordicsemi.com/thread/11719?ContentTypeID=1</link><pubDate>Fri, 08 Aug 2014 11:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e632570-f895-4da7-9be3-95d912deaa67</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;It turned out that was not good idea to replace the code as you said.&lt;/p&gt;
&lt;p&gt;My application uses other timers and while receiving events such as  gap disconnect, the m_conn_params_timer_id code that wasn&amp;#39;t removed messed up with my timer (actually it stopped it). So i just set min/max connection parameters same on central and peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: s110 connection parameters negotiation</title><link>https://devzone.nordicsemi.com/thread/11718?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2014 11:26:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2f3c3c-2b20-437a-b42b-1c64b8249bb2</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;To not send any connection parameter update request to the central, simply don&amp;#39;t create the timer that triggers the connection parameter update request. Do that by replacing&lt;/p&gt;
&lt;p&gt;return app_timer_create(&amp;amp;m_conn_params_timer_id,
APP_TIMER_MODE_SINGLE_SHOT,
update_timeout_handler);&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;return NRF_SUCCESS;&lt;/p&gt;
&lt;p&gt;in ble_conn_params_init function in the ble_conn_params.c file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>