<?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 UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84487/ble-uart-nus-altering-mtu-and-faster-interval</link><description>Hi, 
 On the nRF5340-DK, i&amp;#39;m succesfuly using the example code: 
 https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html 
 I would like to speed up the transfer rate of the TX-characteristic. (im</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Feb 2022 16:34:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84487/ble-uart-nus-altering-mtu-and-faster-interval" /><item><title>RE: BLE UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/thread/352422?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 16:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b79f90c7-39dc-4fc9-bef5-bbe1c2194ff2</guid><dc:creator>TF mulder</dc:creator><description>&lt;p&gt;Ok thanks Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/thread/352404?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 15:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4edf23cf-f8e4-405b-b83a-ecab5d9ab024</guid><dc:creator>Simon</dc:creator><description>[quote user="TF mulder"]==&amp;gt; so how can i&amp;nbsp; (request)/change the interval time ??[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Check out the Bluetooth throughput sample:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v1.9.0-rc1/samples/bluetooth/throughput"&gt;https://github.com/nrfconnect/sdk-nrf/tree/v1.9.0-rc1/samples/bluetooth/throughput&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Follow the instructions &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/throughput/README.html#building-and-running"&gt;Throughput--&amp;gt;Building and running&lt;/a&gt;&amp;nbsp;(you need two boards) to run the samples and then study the code, then you will understand how to set the connection interval.&lt;/p&gt;
&lt;p&gt;Be aware that&amp;nbsp;a faster connection interval doesn&amp;#39;t necessarily mean a higher throughput, see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69999/what-is-the-relation-between-connection-interval-and-the-throughput"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/69999/what-is-the-relation-between-connection-interval-and-the-throughput&lt;/a&gt;&lt;/p&gt;
[quote user="TF mulder"]&lt;p&gt;&lt;span&gt;by the way.., im using an nRF5340 on the peripheral.&amp;nbsp; Now i would like to use a Dongle on the PC-side, what device can you recommend?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nRF52840 Dongle ?&amp;nbsp; &amp;nbsp;Or is there an other dongle that matches with the nRF5340-peripheral ?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;We don&amp;#39;t have any nRF5340 Dongle, so I think the nRF52840 Dongle is the way to go.&lt;/p&gt;
&lt;p&gt;If you have more questions regarding the dongle, could you open a new case, since it is not related to the initial questions (MTU and conn. interval)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/thread/352318?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 12:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e44cb61-4867-46ad-abc2-a657ab5f01ad</guid><dc:creator>TF mulder</dc:creator><description>&lt;p&gt;Ok Simon, thanks, that worked i have an MTU=247 now.&lt;/p&gt;
&lt;p&gt;Now the&amp;nbsp; second question of my post :&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) What should i do to get a&amp;nbsp; faster Interval time ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;==&amp;gt; so how can i&amp;nbsp; (request)/change the interval time ??&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;--------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;by the way.., im using an nRF5340 on the peripheral.&amp;nbsp; Now i would like to use a Dongle on the PC-side, what device can you recommend?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nRF52840 Dongle ?&amp;nbsp; &amp;nbsp;Or is there an other dongle that matches with the nRF5340-peripheral ? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And is there a dongle with a housing?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Theo&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/thread/352026?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bad0cc8-ee9d-42b3-b2e0-b3bb63c725da</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Try this sample with&lt;span&gt;&amp;nbsp;NCS v1.8.0:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_uart_5F00_high_5F00_mtu.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_uart_5F00_high_5F00_mtu.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It is&amp;nbsp;the peripheral_uart sample with higher MTU support as described in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83562/file-transfer-large-data-transfer-example-nrf-connect-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/83562/file-transfer-large-data-transfer-example-nrf-connect-sdk&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/thread/351908?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 17:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b9d7310-bb03-4d67-8eaa-e4e47fd06e03</guid><dc:creator>TF mulder</dc:creator><description>&lt;p&gt;&lt;span&gt;extention to the message below :-)&amp;nbsp; &amp;nbsp; oeff&amp;nbsp; there was an extra X&amp;nbsp; &amp;nbsp;in&amp;nbsp;CONFIG_BT_CTLR_DATXA_LENGTH_MAX&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i now used&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;CONFIG_BT_CTLR_DATA_LENGTH_MAX&amp;nbsp; &amp;nbsp; &amp;nbsp; now it gives a remark:&amp;nbsp; this could not be set: missing dependencies ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/thread/351904?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 16:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30996dae-2a95-4a79-9076-bc7fc89d18c1</guid><dc:creator>TF mulder</dc:creator><description>&lt;p&gt;Sorry, this does not help.&lt;/p&gt;
&lt;p&gt;for example i filled in the conf you used in the,&amp;nbsp;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83562/file-transfer-large-data-transfer-example-nrf-connect-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/83562/file-transfer-large-data-transfer-example-nrf-connect-sdk&lt;/a&gt;&lt;span&gt;, where I show how to increase the MTU for the peripheral_uart sample&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_BT_BUF_ACL_RX_SIZE=251&lt;br /&gt;CONFIG_BT_ATT_PREPARE_COUNT=2&lt;br /&gt;CONFIG_BT_L2CAP_TX_BUF_COUNT=10&lt;br /&gt;CONFIG_BT_L2CAP_TX_MTU=247&lt;br /&gt;CONFIG_BT_CTLR_RX_BUFFERS=2&lt;br /&gt;CONFIG_BT_BUF_ACL_TX_COUNT=10&lt;br /&gt;CONFIG_BT_BUF_ACL_TX_SIZE=251&lt;br /&gt;CONFIG_BT_CTLR_DATA_LENGTH_MAX=251&lt;/p&gt;
&lt;p&gt;i added the above CONFIG_ items in the prj.conf..&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But&amp;nbsp; &amp;nbsp;now it does not build correctly&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BT_CTLR_RX_BUFFERS&lt;/span&gt;&lt;span&gt;=2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shows &amp;#39;missing depependencies: BT_CTLR&amp;#39;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_DATXA_LENGTH_MAX&lt;/span&gt;&lt;span&gt;=251&amp;nbsp; &amp;nbsp; this seems not to exist..?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Please have second look, thanks. You help is apriciated&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Theo&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART (NUS), altering MTU and faster interval</title><link>https://devzone.nordicsemi.com/thread/351777?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 12:05:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2e25ce2-ca23-42d5-b953-ef142190e430</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;This ticket may help:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83562/file-transfer-large-data-transfer-example-nrf-connect-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/83562/file-transfer-large-data-transfer-example-nrf-connect-sdk&lt;/a&gt;, where I show how to increase the MTU for the peripheral_uart sample&lt;/p&gt;
&lt;p&gt;Also, take a look at the Bluetooth Throughput example:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/samples/bluetooth/throughput/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/samples/bluetooth/throughput/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>