<?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 Data Length Extension Usage and Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87296/ble-data-length-extension-usage-and-example</link><description>Hello, 
 I&amp;#39;m just learning the nRF stack and development environment, hopefully this question is not too basic. Our product requires the usage of the extended data length packet in order to achieve the throughput performance we require. 
 I was wondering</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Apr 2022 08:23:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87296/ble-data-length-extension-usage-and-example" /><item><title>RE: BLE Data Length Extension Usage and Example</title><link>https://devzone.nordicsemi.com/thread/365330?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 08:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d89cf6ca-545e-45c8-a58a-5d150816c01f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Pam,&lt;/p&gt;
[quote user="AHaug"]2)&amp;nbsp;I will look closer into this tomorrow and come back with a reply then.[/quote]
&lt;p&gt;The short answer is: Yes, the proj.conf file overrides the configurations from the Kconfig.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The longer answer that might go a bit out of the scope is: Yes they do as long as they are defined in the Kconfig. Most of our samples has a proj.conf that enables/overwrites Kconfigs that are set elsewhere. If you inspect &amp;quot;CONFIG_BT_CENTRAL=y&amp;quot; in proj.conf for throughput, it takes you to the Kconfig located at &amp;quot;C:\peripheral_uart\zephyr\subsys\bluetooth\Kconfig&amp;quot; and this is what it enables and/or overwrites. If a configuration is not defined anywhere in the stacks/SDK/toolchain etc, you may not define a new custom configuration such as &amp;quot;CONFIG_NORDIC_EXAMPLE=y&amp;quot; here.&lt;/p&gt;
&lt;p&gt;But you may add your own custom Kconfig to the application located in your application folder where you may define such custom macros and values etc, in a similar manner such as what is done in the Kconfig for bluetooth at the path mentioned above. If you do so, then you may overwrite it in the proj.conf file for your application.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="pkeiles"]but I did locate a couple that should hopefully be enough to get me started:[/quote]
&lt;p&gt;After looking at these two I believe they should give a lot of help to getting started! They seem quite detailed in resources regarding the topic. The&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3252.peripheral_5F00_uart_5F00_high_5F00_mtu.zip"&gt;peripheral_uart_high_mtu.zip&lt;/a&gt;&amp;nbsp;added to&amp;nbsp;283808 looks like a data extended variation of the normal peripheral_uart, so unless you&amp;#39;ve already done so I believe this and the throughput sample should be what you&amp;#39;re looking for!&lt;/p&gt;
&lt;p&gt;As a supplement to Case ID: 282428, I can add that topic 7 and 8 from&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;this NCS course&lt;/a&gt;&amp;nbsp;is a great, more detailed introduction to threads and work queues to Simons &amp;quot;&lt;span&gt;Try using&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/reference/kernel/threads/workqueue.html"&gt;work queues&lt;/a&gt;&amp;quot; if you&amp;#39;re new to the topic or need some refreshing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope this helps you, and let me know if you have more questions!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Data Length Extension Usage and Example</title><link>https://devzone.nordicsemi.com/thread/365263?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 17:34:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24df6f42-d2bd-459b-939c-53ed050be4ac</guid><dc:creator>Pamela Keiles</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find the exact case that I referenced before, but I did locate a couple that should hopefully be enough to get me started:&lt;/p&gt;
&lt;ul&gt;
&lt;li class="attribute-item close"&gt;Case ID: 283808&lt;/li&gt;
&lt;li class="attribute-item close"&gt;Case ID: 282428&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It is confusing exactly how many of the config definitions need to be updated for using the extended data packet length. It would be nice if they were all connected, or there was at least a list to reference to use this stack feature. By the way I am using the latest of the nRF Connect SDK (v1.9.1) and Visual Code tools.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Data Length Extension Usage and Example</title><link>https://devzone.nordicsemi.com/thread/364993?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 14:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3317fbde-6335-44be-95e7-51c034fa1bbc</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Pam,&lt;/p&gt;
[quote user=""] In &lt;span style="background-color:rgba(255, 255, 255, 1);"&gt;looking&lt;/span&gt; through the developer zone I found reference to someone using extended data length packets[/quote]
&lt;p&gt;Could you supply a link to this ticket and I&amp;#39;ll take a look on the details there for comparison? Also, which version of NCS (if you&amp;#39;re using NCS) are you using?&lt;/p&gt;
[quote user=""]&lt;strong&gt;I was wondering if a specific example exists that uses the extended data packet&amp;nbsp;feature?&lt;/strong&gt; [/quote]
&lt;p&gt;I believe the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/throughput/README.html"&gt;ble/throughput-sample&lt;/a&gt;&amp;nbsp;should allow you to get started on a BLE sample that uses data extension!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;1) It could be that all the CONFIGS in the sample you mention is more than what is required or that the throughput-sample contains less than what you need, so I suggest you compare them up against each other.&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;I will look closer into this tomorrow and come back with a reply then.&lt;br /&gt;&lt;br /&gt;Let me know if this is enough to get you started and feel free to follow up with more questions!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>