<?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>Softdevice Controller does not send HCI event &amp;quot;LE Data Length Change&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117903/softdevice-controller-does-not-send-hci-event-le-data-length-change</link><description>I&amp;#39;ve built a firmware based on the hci_uart sample with the softdevice controller. The board is custom made and has a nrf52840 on it. Over USB-CDC HCI commands are sent to the device. 
 Most things seem to work fine, but I&amp;#39;ve found out, that the softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2025 13:03:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117903/softdevice-controller-does-not-send-hci-event-le-data-length-change" /><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517716?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 13:03:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d00a2009-0bf4-41b6-9e6c-3f883237e5eb</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Hi Hung&lt;br /&gt;&lt;br /&gt;Thanks for the feedback. With that info I think I can set the best configuration for my project.&lt;br /&gt;Issue can be closed here.&lt;/p&gt;
&lt;p&gt;Regards Adrian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517715?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 11:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1bff214-7b77-4064-bd62-f06fad4e49ff</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Adrian,&amp;nbsp;&lt;br /&gt;The info I got from the team is that when BT_ISO is enabled we automatically assume that ACL (normal BLE communication) shouldn&amp;#39;t have the highest priority hence we give it the minimum event time to give more air time for BT_ISO.&amp;nbsp;&lt;br /&gt;If you want to have longer data length with ACL, the configurations I showed should be used.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517714?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 16:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e488d2d-7eb9-485e-8997-3372044626ca</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Hi Hung&lt;br /&gt;I can reproduce your findings. If I add the configuration you mention it works as expected. Anyhow it would be great to know why the limitation was set in first place to know if the override has some downsides. Looking forward to hear the input from your team.&lt;br /&gt;Regards Adrian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517713?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 13:30:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49d5b880-7c1c-4d97-ae20-514b79e98ae3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Adrian,&amp;nbsp;&lt;br /&gt;I did a quick test here and got a result that when I enable ISO related configuration, the maximum data length is set to 27.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I still can request the data length request and can see that with the sniffer but it&amp;#39;s limited to 27 bytes. This could be the reason you don&amp;#39;t see that in your test because the length is already 27 (?).&lt;br /&gt;&lt;br /&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/pastedimage1736343000379v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When i enabled the following configuration:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT_OVERRIDE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT&lt;/span&gt;&lt;span&gt;=5000&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I was able to request the data length as I want:&amp;nbsp;&lt;br /&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/pastedimage1736342380431v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;You can see some dependency here between BT_ISO and event length (which affect data length)&amp;nbsp;&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/controller/Kconfig#L156C8-L156C46"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/controller/Kconfig#L156C8-L156C46&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br /&gt;I will check with the team internally to see why BT_ISO would cause that effect. I believe it must be something in the spec mandate this.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br /&gt;I attached here the code I tested (I used hci_uart instead of hci_lpuart but that shouldn&amp;#39;t change the behavior).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The host is peripheral_uart .&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4073.hci_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../4073.hci_5F00_uart.zip&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5140.peripheral_5F00_uart_5F00_hci.zip"&gt;devzone.nordicsemi.com/.../5140.peripheral_5F00_uart_5F00_hci.zip&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517712?ContentTypeID=1</link><pubDate>Sat, 04 Jan 2025 08:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73aad989-094a-4046-a56c-e5de248064b6</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created a sample to reproduce the issue. It is basically the hci_lpuart example with configuration for the softdevice controller. The project is attached with built files for a nrf52840DK. There are two builds included. One build without ISO features and one with the ISO features. The HCI is configured to the VCOM of the nRF52840DK and uses 115200Baud.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hci_5F00_lpuart.zip"&gt;devzone.nordicsemi.com/.../hci_5F00_lpuart.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To build the example the following command lines have been used with NCS 2.9.0:&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;DLE WORKS (without ISO support)&lt;/span&gt;&lt;br /&gt;west build -b nrf52840dk/nrf52840 --pristine --build-dir &amp;quot;build_nrf52840dk_dle-works_cli&amp;quot; -- -DCONF_FILE=prj.conf -DEXTRA_CONF_FILE=&amp;quot;dle-works.conf&amp;quot; -DCMAKE_BUILD_TYPE=Release -DBOARD_ROOT=&amp;quot;.&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;DLE DOESN&amp;#39;T WORK (with ISO support)&lt;/span&gt;&lt;br /&gt;west build -b nrf52840dk/nrf52840 --pristine --build-dir &amp;quot;build_nrf52840dk_dle-not-working_cli&amp;quot; -- -DCONF_FILE=prj.conf -DEXTRA_CONF_FILE=&amp;quot;dle-not-working.conf&amp;quot; -DCMAKE_BUILD_TYPE=Release -DBOARD_ROOT=&amp;quot;.&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps to reproduce the issue.&lt;br /&gt;&lt;br /&gt;Regards Adrian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517711?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 17:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9aac9da-4651-49b9-b94f-a0a2360cfc02</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;The controller does respond to the DLE command with a „Command complete“ as expected.&lt;br /&gt;I‘ll create a simple sample for reproduction. I get back to you in a few days when it‘s ready.&lt;/p&gt;
&lt;p&gt;Regards Adrian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517710?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 16:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ba07388-b84b-4535-a93d-61d9be0c2779</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Adrian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Do you get any return from the controller when you try to trigger DLE (with ISO features enabled) ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We will try to reproduce the issue here to see if we have the same problem. If you can provide a sample that we can try it would be much appreciated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517709?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 22:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4735ff33-3b6d-4cf7-8d11-09b17ffb4eea</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;No. it‘s not resolved. As we need all ISO Features we would need a softdevice that behaves properly.&amp;nbsp;&lt;br /&gt;Thanks for the hint on the host side. In this project we don’t need nRF Connect as host.&lt;/p&gt;
&lt;p&gt;Regards Adrian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517708?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 14:30:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:595c3e58-4314-4e59-84df-cb8431121ef7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Adrian,&amp;nbsp;&lt;br /&gt;I assume the issue is now resolved and you don&amp;#39;t have further question ?&amp;nbsp;&lt;br /&gt;I am not sure if this is needed in your case but if you want the application to control the data length update you would need to enable&amp;nbsp;CONFIG_BT_USER_DATA_LEN_UPDATE=y on the host&amp;#39;s side.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller does not send HCI event "LE Data Length Change"</title><link>https://devzone.nordicsemi.com/thread/517707?ContentTypeID=1</link><pubDate>Sat, 28 Dec 2024 10:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f8b5ae0-de51-4a72-8c84-41d4668ae858</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;I&amp;#39;ve made some more observations. If the DLE event is not triggered the data length is not increased at all. It seems as the request is ignored.&lt;/p&gt;
&lt;p&gt;Another thing that came up is that the configuration has an impact. In the setup where DLE is not working all ISO features are enabled (this is required). When I comment out all ISO features from the configuration file it works as expected.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve added the working and the not working configuration here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dle_2D00_works.conf"&gt;devzone.nordicsemi.com/.../dle_2D00_works.conf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dle_2D00_not_2D00_working.conf"&gt;devzone.nordicsemi.com/.../dle_2D00_not_2D00_working.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>