<?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>Extended Connection Events while using Coded PHY as a central?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109797/extended-connection-events-while-using-coded-phy-as-a-central</link><description>Does the SoftDevice (using NCS v2.5.0) support Extended Connection Events while using the Coded PHY as a central? 
 I implemented the following in my main.c after calling bt_enable() on both the central and the peripheral (it&amp;#39;s a closed system). 
 
 However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 14 Apr 2024 19:35:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109797/extended-connection-events-while-using-coded-phy-as-a-central" /><item><title>RE: Extended Connection Events while using Coded PHY as a central?</title><link>https://devzone.nordicsemi.com/thread/478638?ContentTypeID=1</link><pubDate>Sun, 14 Apr 2024 19:35:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:691288d6-8017-42c5-9cb8-9ca52bffc480</guid><dc:creator>Starbuck</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/eith"&gt;Einar Thorsrud&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;The only other timing-event it could have been is the primary or secondary channel scanning.&amp;nbsp; So, I disabled scanning once connected just to rule that out and it happened again, but a lot less.&amp;nbsp; Then I expanded that frames Data Header (as shown below) and realized that these inconsistencies are due to retransmissions.&amp;nbsp; So, the previous inconsistencies were due to the scanning timing-event.&amp;nbsp; I will make the &lt;code&gt;scanningInterval&lt;/code&gt; match the &lt;code&gt;connectionInterval&lt;/code&gt; and adjust the &lt;code&gt;scanWindow&lt;/code&gt; according to the guidance provided in &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html"&gt;Scheduling&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713123278029v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Connection Events while using Coded PHY as a central?</title><link>https://devzone.nordicsemi.com/thread/478557?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 12:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b4e31c3-4f1e-4947-bea7-1904457fd006</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is good to hear you got more packets per connection event now.&lt;/p&gt;
&lt;p&gt;It is difficult to day why you don&amp;#39;t see a consistent number of packets per event. As the more data field is set, the stack has more data to send, but&amp;nbsp;could it be that there are other activities on the device causing this? See &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html"&gt;Scheduling&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Connection Events while using Coded PHY as a central?</title><link>https://devzone.nordicsemi.com/thread/478402?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 21:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b30738b-015b-4f16-a4f1-fe2c2f756130</guid><dc:creator>Starbuck</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/eith"&gt;Einar Thorsrud&lt;/a&gt;&amp;nbsp;I have confirmed that setting either of the following configurations successfully&amp;nbsp;extends the connection events (regardless whether &lt;code&gt;sdc_hci_cmd_vs_conn_event_extend()&lt;/code&gt; is called):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/kconfig/index.html#CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT"&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/kconfig/index.html#CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE"&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;However,&amp;nbsp;the number of connection event extensions is NOT&amp;nbsp;consistent.&amp;nbsp; See attached sniffer capture file and screenshot.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1712869077536v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Inconsistent-conn-event-len-ext_2C00_-coded_5F00_phy-sniffer-capture.pcapng"&gt;devzone.nordicsemi.com/.../Inconsistent-conn-event-len-ext_2C00_-coded_5F00_phy-sniffer-capture.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am passing the connection parameters into &lt;code&gt;bt_scan_init().&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;	struct bt_scan_init_param scan_init = {
		.connect_if_match = 0,
		.scan_param = &amp;amp;scan_param,
		.conn_param = BT_LE_CONN_PARAM_R2
	};

	bt_scan_init(&amp;amp;scan_init);&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Connection Events while using Coded PHY as a central?</title><link>https://devzone.nordicsemi.com/thread/476933?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 14:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d1aad38-b484-4166-b0c3-2aac05d043ec</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Can you try to extend the event length by setting&amp;nbsp;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT instead (upp to the connection inteval)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Connection Events while using Coded PHY as a central?</title><link>https://devzone.nordicsemi.com/thread/476876?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 12:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07f8fc1f-598a-41f5-8408-a48c20f6445f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems this is not supported, but I am checking with our BLE stack team and will get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>