<?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>BLE Connection interval limit on nRF52840 (Zephyr NCS 1.4.2)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75288/ble-connection-interval-limit-on-nrf52840-zephyr-ncs-1-4-2</link><description>Hi, 
 I am using nRF52840 as BLE peripheral, on a Zephyr application under NCS 1.4.2 
 I want to limit the connection interval to 7.5ms (min+max) 
 I can see that the only way to limit that AFTER the connection established - using bt_conn_le_param_update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 May 2021 12:37:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75288/ble-connection-interval-limit-on-nrf52840-zephyr-ncs-1-4-2" /><item><title>RE: BLE Connection interval limit on nRF52840 (Zephyr NCS 1.4.2)</title><link>https://devzone.nordicsemi.com/thread/310750?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 12:37:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7e770f7-aa7d-46e6-90e0-000c119fe030</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As long as the nRF is a peripheral, it can only &lt;em&gt;request&lt;/em&gt; a connection interval between a min and max, which you also do in Zephyr when you populate the&amp;nbsp;&lt;code&gt;bt_le_conn_param&lt;/code&gt; struct, for instance for use with&amp;nbsp;&lt;code&gt;bt_conn_le_param_update()&lt;/code&gt;. There is no way to enforce it, and that is the same regardless of SDK. What you can do however, is to disconnect if the connection parameters are unacceptable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connection interval limit on nRF52840 (Zephyr NCS 1.4.2)</title><link>https://devzone.nordicsemi.com/thread/310656?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 09:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8800e58b-2821-4559-adfa-bda61a5f324e</guid><dc:creator>eshaul</dc:creator><description>&lt;p&gt;I am aware of the negotiation process, even though there must be a way to limit the determine the Min &amp;amp; Max connection interval prior to the connection to be able to limit that negotiation. in another product i have, i am using older Nordic SDK (v11) on a bare-metal application, and i am doing exactly that using: sd_ble_gap_ppcp_set that is done prior to any connection... i am looking for something similar on Zephyr but it&amp;#39;s not to be found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connection interval limit on nRF52840 (Zephyr NCS 1.4.2)</title><link>https://devzone.nordicsemi.com/thread/310317?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 07:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10dbf464-874a-418c-9303-6ddbcc8b3ac2</guid><dc:creator>awneil</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/75288/ble-connection-interval-limit-on-nrf52840-zephyr-ncs-1-4-2/310305#310305"]most&amp;nbsp;BLE stack on phones and tables may not allow you to use a very low connection interval[/quote]
&lt;p&gt;Indeed.&lt;/p&gt;
&lt;p&gt;And, worse than that, they may not even be consistent in the interval that they &lt;em&gt;&lt;strong&gt;do&lt;/strong&gt; &lt;/em&gt;allow!&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;eg: you may connect and get one interval; then disconnect, reconnect - and get a &lt;em&gt;different&lt;/em&gt; interval!&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f62e.svg" title="Open mouth"&gt;&amp;#x1f62e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connection interval limit on nRF52840 (Zephyr NCS 1.4.2)</title><link>https://devzone.nordicsemi.com/thread/310305?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 07:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f33e43f-7979-470f-9afe-9ecf61de3d9d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The central decides the connection parameters initially when the connection is established and the peripheral has no say at that point. So if the phone is the central (which is most common), the only thing the nRF can do is request a connection parameter update, as you have found. However, most&amp;nbsp;BLE stack on phones and tables may not allow you to use a very low connection interval, as awneil stated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Connection interval limit on nRF52840 (Zephyr NCS 1.4.2)</title><link>https://devzone.nordicsemi.com/thread/310230?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 15:44:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65fbbfbd-b6e7-423b-bfae-c8ef0eac4c0a</guid><dc:creator>awneil</dc:creator><description>[quote userid="83877" url="~/f/nordic-q-a/75288/ble-connection-interval-limit-on-nrf52840-zephyr-ncs-1-4-2"]I want to limit the connection interval to 7.5ms (min+max)[/quote]
&lt;p&gt;It&amp;#39;s unlikely that a phone or tablet will give you that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>