<?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>MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37379/min_conn_interval</link><description>I need to set the connection interval to 7.5 ms. The main.c has the corresponding macro: MIN_CONN_INTERVAL but it seems to me that it supports only integer values... 
 
 Please let me know how to handle that. 
 Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Sep 2025 11:36:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37379/min_conn_interval" /><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/549546?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 11:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:577de9d5-3027-4afa-9bfd-1afee5cdf2c3</guid><dc:creator>sh4k3jkeee</dc:creator><description>&lt;p&gt;&lt;span&gt;The actual subject is how to represent the required interval&amp;nbsp;&lt;a class="in-cell-link" href="http://enterprisesalesco.net" rel="noopener noreferrer" target="_blank"&gt;enterprisesalesco&lt;/a&gt;&amp;nbsp;using the macros given by Nordic in their examples to keep the integrity and compatibility of the code&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/544814?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2025 14:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ece56876-f7c5-4b83-88c1-566dc2234a18</guid><dc:creator>Tydehodge</dc:creator><description>&lt;p&gt;fascinating how such a small unit shift like 1.25 ms can impact connection intervals so precisely. reminds me of &lt;a href="https://mapsdirectionsdriving.com/"&gt;MapQuest&lt;/a&gt;&amp;nbsp;where every turn matters. just like tweaking those values, choosing the right route or resolution can be the difference between a smooth experience and unexpected detours. great insight&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/518040?ContentTypeID=1</link><pubDate>Sat, 11 Jan 2025 05:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f18e3bbd-b18d-4f5f-a4df-bab576e624dc</guid><dc:creator>Anthony Sanchez</dc:creator><description>&lt;p&gt;&lt;span data-sheets-root="1"&gt;Tabchilli&amp;rsquo;s sauerkraut seems like a fantastic side for grilled dishes. Has anyone tried it with Middle Eastern kebabs or shawarma?&lt;/span&gt;&lt;span data-sheets-root="1"&gt;&lt;a class="in-cell-link" href="https://tabchilli.com/" rel="noopener noreferrer" target="_blank"&gt;https://tabchilli.com/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/514256?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 13:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2d3979-9fad-4633-9a01-230b8165584e</guid><dc:creator>Dustin Rhoades</dc:creator><description>&lt;p&gt;To set the connection interval to 7.5 ms, use the value &lt;strong&gt;6&lt;/strong&gt; for &lt;code&gt;MIN_CONN_INTERVAL&lt;/code&gt;, as &lt;a href="https://scaryteacheronline.com"&gt;scary teacher 3D&lt;/a&gt;&amp;nbsp;BLE intervals are in 1.25 ms units. Ensure your maximum interval (&lt;code&gt;MAX_CONN_INTERVAL&lt;/code&gt;) is also correctly configured relative to your requirements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/444852?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2023 07:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:571cdc1d-1397-4802-90b4-f0ac198905d0</guid><dc:creator>curlinggeologist</dc:creator><description>&lt;p&gt;Im using SDK 15 ble pheripheral and central uart example on my custom nrf52832 board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to know how to set&amp;nbsp;&amp;nbsp;MIN_CONN_INTERVAL and MAX_CONN_INTERVAL for connection when im sending 20bytes&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in frame every 8ms using timer for 60 seconds continously. How to calculate it? &lt;span style="background-color:#ffffff;color:#ffffff;"&gt;&lt;a style="background-color:#ffffff;color:#ffffff;" href="https://dinosaur-game.io"&gt;dinosaur game&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/437199?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 09:57:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae73cd2a-fc84-467b-a268-4487c6c2aa22</guid><dc:creator>victorpatrick</dc:creator><description>&lt;p&gt;Please note that the actual connection interval used may not exactly match the desired value, as it also depends on the capabilities of the Bluetooth radio and the negotiated parameters during the connection setup process. However, setting the minimum connection interval as shown above should ensure that the connection interval is close to 7.5 ms.&lt;a href="https://bitlife2.com/"&gt; Bitlife&lt;/a&gt; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/437048?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 13:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89fa6020-a938-4689-9cad-e1bb11f792a4</guid><dc:creator>pretzelrhetorical</dc:creator><description>&lt;p&gt;&lt;span&gt;The MIN_CONN_INTERVAL macro typically supports&amp;nbsp;&lt;/span&gt;integer values&lt;span&gt;&amp;nbsp;only, as you mentioned. However, some Bluetooth modules may support more precise connection intervals. You can refer to the documentation for your specific module or consult with the manufacturer to determine if more precise connection intervals are possible.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ffffff;font-size:75%;"&gt;&lt;a style="color:#ffffff;" href="https://dumbwaystodie.io"&gt;dumb ways to die&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/435774?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 14:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f08ca0a5-d0b0-4b09-b7e5-17d57105c061</guid><dc:creator>xonoy18882</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/397046?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 04:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d4281d9-049a-4f2d-a231-93230bd67f11</guid><dc:creator>davidlorker</dc:creator><description>&lt;p&gt;Thank you for giving this insightful knowledge. Your webpage is very good. It&amp;#39;s amazing how much information there on your website.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://snakeio.co"&gt;snake io&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/144969?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 14:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbab9dd2-ca62-4f1c-a8aa-c639142e858d</guid><dc:creator>Baruch</dc:creator><description>&lt;p&gt;I have. It seems to be fine but yet it is not obvious and compiler/preprocessor dependant which is wrong especially for example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/144968?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 14:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2466e674-619c-4680-8419-a120e702937a</guid><dc:creator>Bartek</dc:creator><description>&lt;p&gt;Why do you think it only supports integer?&lt;/p&gt;
&lt;p&gt;It works fine for me as long as time can be converted to units that are encoded as integer. Give a try passing 7.5 to macro and see that it will work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/144966?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 13:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98e85895-94be-4385-92cf-54ca7b7d7d0c</guid><dc:creator>Baruch</dc:creator><description>&lt;p&gt;I&amp;#39;d prefer to have a macro which indeed takes everything. I do agree that 1.25 isn&amp;#39;t going to change then using units of ms in the given macro doesn&amp;#39;t make much sense and that is the whole reason for my complaint.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/144960?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 13:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53baaf5e-959f-4175-beb2-a1b3d501fb7d</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;I think it&amp;#39;s a good catch because the 1.25mS unit defined in the spec is not likely to change. OTOH there is the issue of the units being obscured by the preproc macro. Would you prefer to pass a floating (or fixed point) interval to a wrapper?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/144816?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 01:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:720b0940-d20d-4f4b-87c8-259d77a86170</guid><dc:creator>Baruch</dc:creator><description>&lt;p&gt;Howard, why do you think it is a good catch? I&amp;#39;m not following.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/143978?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 13:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ae4e8f-6851-428d-b466-7c751e359379</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;Interesting.&amp;nbsp; I suppose it&amp;#39;s unlikely the units will change then, absent a core spec update. Good catch.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/143966?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 12:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf904ddb-6c9d-4a6b-8e73-68a2d2199992</guid><dc:creator>Baruch</dc:creator><description>&lt;p&gt;Thank you, but this is well-known information. The actual subject is how to represent the required interval using the macros given by Nordic in their examples to keep the integrity and compatibility of the code. It isn&amp;#39;t the question of a value but about proper representation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/143948?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 12:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c14cbfd5-83d4-412b-b897-eab43bf0572b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The format here follow the BT core spec:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-12107b2d3b1045ecb8a72d5449bc862b/pastedimage1534163045448v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/143768?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 19:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab898a2e-2e60-4ede-9f6b-5177c1590102</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;The units could change in the next release.&amp;nbsp; I agree with you.&lt;/p&gt;
&lt;p&gt;EDIT&amp;nbsp; Units unlikely to change though, per Kenneth below&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/143767?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 19:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b70536e7-9b4c-4732-99da-14faa2894971</guid><dc:creator>Baruch</dc:creator><description>&lt;p&gt;main.c&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(20, UNIT_1_25_MS) /**&amp;lt; Minimum acceptable connection interval (20 ms), Connection interval uses 1.25 ms units. */&lt;/p&gt;
&lt;p&gt;app_util.h&lt;/p&gt;
&lt;p&gt;/**@brief Macro for converting milliseconds to ticks.&lt;br /&gt; *&lt;br /&gt; * @param[in] TIME Number of milliseconds to convert.&lt;br /&gt; * @param[in] RESOLUTION Unit to be converted to in [us/ticks].&lt;br /&gt; */&lt;br /&gt;#define MSEC_TO_UNITS(TIME, RESOLUTION) (((TIME) * 1000) / (RESOLUTION))&lt;/p&gt;
&lt;p&gt;enum&lt;br /&gt;{&lt;br /&gt; UNIT_0_625_MS = 625, /**&amp;lt; Number of microseconds in 0.625 milliseconds. */&lt;br /&gt; UNIT_1_25_MS = 1250, /**&amp;lt; Number of microseconds in 1.25 milliseconds. */&lt;br /&gt; UNIT_10_MS = 10000 /**&amp;lt; Number of microseconds in 10 milliseconds. */&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;So, even though that value 6 does work substituting breaks the integrity of the code. That is the major reason for my question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MIN_CONN_INTERVAL</title><link>https://devzone.nordicsemi.com/thread/143764?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 18:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f49167e-d184-4b50-a180-2f09609b7a23</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;Hi Baruch,&lt;/p&gt;
&lt;p&gt;Fortunately MIN_CONN_INTERVAL is specified in 1.25ms units, at least for SDK15, and the integer 6 will yield the desired 7.5ms.&amp;nbsp; See ble_gap.h&lt;/p&gt;
&lt;p&gt;Best Regards, Howard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>