<?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>Setting MIN MAX CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14370/setting-min-max-conn_interval</link><description>Hi everybody! 
 I am working with ANCS (nrf51822 SDK 9.0) I am confusing on setting the connection parameters which are MIN an MAX connection interval. 
 Firstly, I set MIN_CONN_INTERVAL = MAX_CONN_INTERVAL = 1000ms the ANCS notifications come right</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jun 2016 15:24:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14370/setting-min-max-conn_interval" /><item><title>RE: Setting MIN MAX CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/54871?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2016 15:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a56504f-8707-4c33-922e-08f19341025b</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;The actual connection parameters would be decided by central in that case. In your &lt;code&gt;on_ble_evt()&lt;/code&gt; handler you can look for the &lt;code&gt;BLE_GAP_EVT_CONN_PARAM_UPDATE&lt;/code&gt; event. You can get the settings from the &lt;code&gt;ble_evt_t&lt;/code&gt; struct: &lt;code&gt;p_ble_evt-&amp;gt;evt.gap_evt.params.conn_param_update&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting MIN MAX CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/54870?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2016 04:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2443dd08-d981-42c9-a191-21daba62793b</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;Ah, I see. So do you what is real connection interval value if 3-rd condition is not satisfied ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting MIN MAX CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/54869?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2016 04:30:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a508790-0d64-448a-82e9-5ec9f2e0b468</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;I think that&amp;#39;s an typo, it should just be Interval Max, and slave latency should be a separate point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting MIN MAX CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/54868?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2016 01:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:140136a7-1a9d-49d1-9459-843b5620f9be</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;What is Interval Max Slave Latency ? is it same as Interval Max ? if yes, why do they call it Interval Max Slave Latency ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting MIN MAX CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/54867?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2016 20:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:402425f6-1a53-497d-9439-bd69cb7e780a</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;Take a look at Apple&amp;#39;s Bluetooth Design Guidelines:
&lt;a href="https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf"&gt;developer.apple.com/.../BluetoothDesignGuidelines.pdf&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;3.6 Connection Parameters
The accessory isresponsible for the connection parameters used for the Low Energy connection. The accessory
should request connection parameters appropriate for its use case by sending an L2CAP Connection Parameter
Update Request at the appropriate time. See the Bluetooth 4.0 specification, Volume 3, Part A, Section 4.20 for
details. The connection parameter request may be rejected if it does not comply with all of these rules:
● Interval Max * (Slave Latency + 1) ≤ 2 seconds
● Interval Min ≥ 20 ms
● Interval Min + 20 ms ≤ Interval Max Slave Latency ≤ 4
● connSupervisionTimeout ≤ 6 seconds
● Interval Max * (Slave Latency + 1) * 3 &amp;lt; connSupervisionTimeout
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So if MIN_CONN_INTERVAL = MAX_CONN_INTERVAL, it could be rejected since it doesn&amp;#39;t satisfy #3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting MIN MAX CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/54866?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2016 15:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3f8a6b4-067b-43e4-8590-3a25bbf696f0</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi. The connection interval is in reality decided by the central device (the phone). The peripheral device can request a certain interval, but the central does not have to accept it. Do you have an extra nRF51 you can set up as an &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy2/nRF-Sniffer"&gt;nRF sniffer&lt;/a&gt; and capture the connection event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>