<?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>DLE Update in nRF5340 by using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107061/dle-update-in-nrf5340-by-using-nrf-connect-sdk</link><description>Hi, 
 I am utilizing nRF5340 DK along with nRF Connect SDK Version 2.5.0. 
 I aim to modify the Data Length Extension (DLE) settings independently for transmission and reception. 
 For instance, 
 For transmission: 
 
 Maximum length (tx_max_len): 117</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jan 2024 09:41:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107061/dle-update-in-nrf5340-by-using-nrf-connect-sdk" /><item><title>RE: DLE Update in nRF5340 by using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/463083?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 09:41:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68d5c1ec-075a-449c-8bbd-fd86a653ba4b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="AKV"]We&amp;#39;ve observed that setting a large Data Length Extension (DLE) and sending shorter packets leads to extended radio time, consequently diminishing the overall range.[/quote]
&lt;p&gt;Do you have a sniffer trace with and without it? It would be interesting to see the actual difference. In what way does the packet get larger. Is it for instance that you have long GATT writes and want these to be fragmented on the GAP layer, and that does not happen?&lt;/p&gt;
[quote user="AKV"]We are using write without response.&amp;nbsp;And each transmission is sent as a separate&amp;nbsp;packet.[/quote]
&lt;p&gt;If you are sending data from a GATT server to a client, I would consider using notifications (write wihtout response is normally used the other way). But the key is to ensure you send less in each transaction if the reason you are seeing a change is that you get your desierrable shorter packets due to fragmentation (but this is just an assumption for now).&lt;/p&gt;
[quote user="AKV"]Is there any benefit&amp;nbsp;if we use notification to send the packets?[/quote]
&lt;p&gt;For transfering data from a client to a server that is the simplest and most common way way to trensfer large amounts of data or data when a specific event happens or simpilar and it can give you higher&amp;nbsp;throughput, but that may not be not relevant in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DLE Update in nRF5340 by using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/463052?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 05:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f513ba8-8e6d-4c40-801f-39e83e9dd005</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We&amp;#39;ve observed that setting a large Data Length Extension (DLE) and sending shorter packets leads to extended radio time, consequently diminishing the overall range. Therefore, we are working to minimize the DLE time for shorter packets.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We are using write without response.&amp;nbsp;And each transmission is sent as a separate&amp;nbsp;packet.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;int&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bt_gatt_write_without_response_cb&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bt_conn&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;conn&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;uint16_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;handle&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;data&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;uint16_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;length&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;bool&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;sign&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;bt_gatt_complete_func_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;func&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;user_data&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Is there any benefit&amp;nbsp;if we use notification to send the packets?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DLE Update in nRF5340 by using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/462857?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 11:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3296f942-eb15-4e47-92ef-c0191990a5d3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right that there is a higher probability for packet loss the longer the packet is. But there is no obligation to send long packets just because it is allowed on the link. I assume you send the data as notifications? And each notification is sent as a separate packet (and sometimes fragmented into several), so if you send shorter notifications, you will have shorter packets. Is that something you have considered?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DLE Update in nRF5340 by using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/462837?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 09:22:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6f5f688-a178-4a73-b356-fbb7cc75ff3a</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Our application aims to facilitate music streaming over a mesh network with voice capabilities.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;In our mesh configuration, each device can connect with up to three other devices.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;We&amp;#39;ve noticed that configuring a large Data Length Extension (DLE) results in increased radio time, subsequently reducing the overall range.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;As a result, our objective is to transmit large data packets for combined music and voice transmission, while receiving fewer bytes exclusively for voice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;For a clearer understanding, I have included application diagrams below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;a href="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/RideGrid_5F00_Dev_5F00_V2_2D00_Page_2D00_7.drawio.png"&gt;/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/RideGrid_5F00_Dev_5F00_V2_2D00_Page_2D00_7.drawio.png&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;a href="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/RideGrid_5F00_Dev_5F00_V2_2D00_Page_2D00_8.drawio.png"&gt;/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/RideGrid_5F00_Dev_5F00_V2_2D00_Page_2D00_8.drawio.png&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;a href="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/RideGrid_5F00_Dev_5F00_V2_2D00_Page_2D00_7-_2800_1_2900_.jpg"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DLE Update in nRF5340 by using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/462502?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2024 13:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a42de9d-a3b2-4dff-b065-2c637420e0aa</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is not supported. The event lengths are independent of direction, and is also negotiated between the peers.&lt;/p&gt;
&lt;p&gt;May I ask why you want to do this? What is the higher level goal you want to achieve?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>