<?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 multiple connection overlap</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116694/ble-multiple-connection-overlap</link><description>I am a student currently studying BLE. 
 At present, I am working on a multi-connection setup where both the master and the slaves are using the nRF52832. Specifically, I have 1 master connected to 2 slaves. 
 
 
 Both slaves are transmitting data using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jan 2025 21:14:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116694/ble-multiple-connection-overlap" /><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/517333?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 21:14:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9a49183-db2c-4e8d-bbc2-2ce09116c063</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Ah, set CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE=y to use a different&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=&amp;quot;to_what_you_want&amp;quot;. That make more sense, but make sure to also set&amp;nbsp;BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT=n, else it may ignore&amp;nbsp;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT if there are more data to send.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/517331?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 20:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c670f8b-b988-4eea-8fd3-30237edc0953</guid><dc:creator>MTB</dc:creator><description>&lt;p&gt;Hmm, I feel I am missing something. The variable&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE is configured as Boolean:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE
	bool &amp;quot;Override event length default&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So my understanding is, that it can only be set to &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot; and not &amp;quot;to_what_you_want&amp;quot;. So I am a bit confused what the &amp;quot;&lt;span&gt;_OVERRIDE&amp;quot;&amp;nbsp;&lt;/span&gt;variable is really doing and how I would assign a number to a boolean.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/517324?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 19:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b82392a-39c6-4634-9afd-e8ca50f8b9bd</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Maybe you only need to set&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT, but in case it&amp;#39;s already configured, you can use the _OVERRIDE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;(Edit: In below text it should say&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE=y and BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=&amp;quot;to_what_you_want&amp;quot;, not BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE=&amp;quot;to_what_you_want&amp;quot;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I guess this may change in future, but I would think if you want full control over this you want to set&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE=to_what_you_want and&amp;nbsp;&lt;/span&gt;BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT=n.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE
	bool &amp;quot;Override event length default&amp;quot;

config BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT
	int &amp;quot;Default max connection event length [us]&amp;quot;
	default 0 if BT_ISO &amp;amp;&amp;amp; !BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE
	default 7500 if !BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE
	range 0 4000000
	help
	  The time set aside for connections on every connection interval in
	  microseconds. The event length and the connection interval are the
	  primary parameters for setting the throughput of a connection.
	  When connection event extension is enabled, more time may be used.
	  The event length may be set to a value that is shorter than the time needed
	  for a single packet pair on a given PHY.
	  In that case the controller will reserve time for receiving 27 bytes and transmitting
	  the number of bytes configured with BT_CTLR_MIN_VAL_OF_MAX_ACL_TX_PAYLOAD_DEFAULT.

config BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT
	bool &amp;quot;Enable connection event extension by default&amp;quot;
	default y if !NRF_802154_RADIO_DRIVER
	help
	  When Extended Connection Events are disabled, the maximum connection event length is
	  configured with BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT.
	  When Extended Connection Events are enabled, the controller
	  will extend the connection event as much as possible, if
	  - Either of the peers has more data to send.
	    See also: Bluetooth Core Specification, Vol 6, Part B, Section 4.5.6.
	  - There are no conflicts with other roles of equal or higher priority.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/517306?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 16:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383ebc81-2343-405a-96ec-94fa63f8663f</guid><dc:creator>MTB</dc:creator><description>[quote userid="2111" url="~/f/nordic-q-a/116694/ble-multiple-connection-overlap/512520"]BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE[/quote]
&lt;p&gt;@Kenneth: Isn&amp;#39;t&amp;nbsp;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE a boolean variable? (&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/52a2d660278e242f6a61cb110ab7956a635fa9a7/subsys/bluetooth/controller/Kconfig#L153" href="https://devzone.nordicsemi.com/f/nordic-q-a/116694/ble-multiple-connection-overlap/Github"&gt;Github&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Can it be that in this discussion you mean&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/513086?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 00:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ae8152e-5ec2-4812-8ba4-d15f88a785fd</guid><dc:creator>Soonho</dc:creator><description>[quote userid="2111" url="~/f/nordic-q-a/116694/ble-multiple-connection-overlap/512520"] this may then override the con[/quote]
&lt;p&gt;Thank you for your kind reply.&lt;br /&gt;It was very helpful to me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/512520?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 08:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f57b931d-20f5-422b-81f0-96e546f91732</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you are not able to set BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE then the softdevice may extend the event length if there is more data, so this may then override the configured event length and cause the problem you see. I guess you can (as you already suggest) set a connection interval of 20ms then, and just set:&amp;nbsp;&lt;br /&gt;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE=8750.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/512484?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 03:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:522c6811-2d63-4215-a367-008a0d56b48f</guid><dc:creator>Soonho</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am developing using Adafruit&amp;#39;s nRF52832 board (&lt;a href="https://www.adafruit.com/product/3406" target="_new"&gt;&lt;span&gt;https&lt;/span&gt;&lt;span&gt;://www&lt;/span&gt;&lt;span&gt;.adafruit&lt;/span&gt;&lt;span&gt;.com&lt;/span&gt;&lt;span&gt;/product&lt;/span&gt;&lt;span&gt;/3406&lt;/span&gt;&lt;/a&gt;) in the Arduino environment, and I am using the following library:&lt;br /&gt;&lt;a href="https://github.com/adafruit/Adafruit_nRF52_Arduino?tab=readme-ov-file" target="_new"&gt;&lt;span&gt;https&lt;/span&gt;&lt;span&gt;://github&lt;/span&gt;&lt;span&gt;.com&lt;/span&gt;&lt;span&gt;/adafruit&lt;/span&gt;&lt;span&gt;/Adafruit_nRF52_Arduino&lt;/span&gt;&lt;span&gt;?tab&lt;/span&gt;&lt;span&gt;=readme&lt;/span&gt;&lt;span&gt;-ov&lt;/span&gt;&lt;span&gt;-file&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I could not find &lt;code&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE&lt;/code&gt; in this library. Did I perhaps overlook it?&lt;/p&gt;
&lt;p&gt;Or do I need to develop using the nRF Connect SDK to configure &lt;code&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE&lt;/code&gt;?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/512340?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 12:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bfe78d8-b9e6-4ab4-9824-243245b6f825</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;That may be yes, but can you try BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=3750 and/or BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=5000, instead of 2500? And also set&amp;nbsp;BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT=n. Also&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE=y.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edit: Fixed some confusion about the _OVERRIDE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/512260?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 06:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82e6df90-006e-4efe-90da-5969be222456</guid><dc:creator>Soonho</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you so much for your consistent responses.&lt;/p&gt;
&lt;p&gt;However, with the Adafruit nRF52832 I am using (product link: &lt;a id="" href="https://www.adafruit.com/product/3406"&gt;https://www.adafruit.com/product/3406&lt;/a&gt;), the transmission interval of Slave 1 &amp;amp; 2 is sometimes 10ms, as shown on the left, and sometimes 20ms, as shown on the right.&lt;br /&gt;&lt;img alt=" " height="210" src="https://devzone.nordicsemi.com/resized-image/__size/658x420/__key/communityserver-discussions-components-files/4/3716.pastedimage1732531367111v5.png" width="329" /&gt;&lt;br /&gt;&lt;br /&gt;Additionally, I found the following content from the link you provided (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html&lt;/a&gt;) and it seems to match my situation.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:189px;max-width:571px;" alt=" " height="189" src="https://devzone.nordicsemi.com/resized-image/__size/1142x378/__key/communityserver-discussions-components-files/4/pastedimage1732687969445v2.png" width="571" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, I understand that with two slaves, both having a connection interval of 10ms and a connection event length of 2.5ms, &lt;strong&gt;transmission occurs at 10ms intervals if the connection events do not overlap, but at 20ms intervals if they do overlap&lt;/strong&gt;. Did I misunderstand this?&lt;/p&gt;
&lt;p&gt;Looking forward to your reply.&lt;br /&gt;Thank you&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/512120?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 13:14:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38a865ef-d567-4c46-982c-2d600568c7fc</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Soonho"]What is the role of &lt;code&gt;BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT&lt;/code&gt; and &lt;code&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE&lt;/code&gt;?[/quote]
&lt;p&gt;You can control how much time the scheduler should allow for each connection event.&lt;/p&gt;
[quote user="Soonho"]&lt;strong&gt;Q2.&lt;/strong&gt; With two slaves, both having a connection interval of 10ms and a connection event length of 2.5ms, is it still possible to encounter a situation like mine?[/quote]
&lt;p&gt;No.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/512030?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 05:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28f0a3ba-faaf-41d4-a7fa-8a5e1fb4c206</guid><dc:creator>Soonho</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you for your response.&lt;br /&gt;I&amp;rsquo;ll make sure to read the article you linked!&lt;/p&gt;
&lt;p&gt;Here are some additional questions I have:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Q1.&lt;/strong&gt; What is the role of &lt;code&gt;BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT&lt;/code&gt; and &lt;code&gt;BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE&lt;/code&gt;?&lt;br /&gt;&lt;strong&gt;Q2.&lt;/strong&gt; With two slaves, both having a connection interval of 10ms and a connection event length of 2.5ms, is it still possible to encounter a situation like mine?&lt;/p&gt;
&lt;p&gt;Thank you in advance for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE multiple connection overlap</title><link>https://devzone.nordicsemi.com/thread/511894?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 12:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd8e3c9-9c79-4017-8268-b3a55b29d229</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can read more about how scheduling works here:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Normally I would say that if it&amp;#39;s the same central (master) for both links, and you are using for instance (on the central)&amp;nbsp;&lt;span&gt;BT_CTLR_SDC_CONN_EVENT_EXTEND_DEFAULT=n and BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=3750 (possible try with 5000=5ms also), and the central is not doing anything else (e.g. scanning), then the central should have enough time to handle both links. But you may experience what you say if not yes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>