<?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 extention Thingy 52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61488/ble-data-length-extention-thingy-52</link><description>Hi everyone. 
 
 I want to stream 12kB of ADC data from the thingy 52 via BLE. At the moment this takes around 4 seconds to do which is to slow so i would like to increase throughput by utilising DLE but unsure how to implement it. 
 Is it enough to increase</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2020 09:03:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61488/ble-data-length-extention-thingy-52" /><item><title>RE: BLE data length extention Thingy 52</title><link>https://devzone.nordicsemi.com/thread/250634?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 09:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dcc7533-a893-4c88-9cc3-977a6a48f644</guid><dc:creator>Rilleaa</dc:creator><description>&lt;p&gt;Okey yea mabey that part is out of my control then.&lt;/p&gt;
&lt;p&gt;Any way of knowing what MTU size the two devices? From the ble sniffer i see when i connect with my Iphone 6s that it uses MTU size 185 but with the raspberry pie i cant see any MTU size.&lt;/p&gt;
&lt;p&gt;I have tried to send bigger packages bigger than 20 bytes from thingy 52 to both iphone and Raspberry pi it works on the iphone but not on the raspberry pi i just recive the first 20 bytes in the array of data that was sent to&amp;nbsp;&lt;span&gt;&amp;nbsp;sd_ble_gatts_hvx().&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I attatched my sniffer logs i case you have time to have a look at them :).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;//Rilleaa&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/ThingyToIphone6s.pcapng"&gt;devzone.nordicsemi.com/.../ThingyToIphone6s.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ThingyToRBP.pcapng"&gt;devzone.nordicsemi.com/.../ThingyToRBP.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE data length extention Thingy 52</title><link>https://devzone.nordicsemi.com/thread/250591?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 07:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e73860-a7be-4f08-a173-9791c1a92481</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It is the master that control most of the parameters, so as a peripheral device you can only request for faster interval and longer length. So it could be limited by the rasperry pi yes.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE data length extention Thingy 52</title><link>https://devzone.nordicsemi.com/thread/250546?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 21:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e21c37a-d656-409d-83a6-8706411a347c</guid><dc:creator>Rilleaa</dc:creator><description>&lt;p&gt;The for the reply Kenneth.&lt;/p&gt;
&lt;p&gt;I have implemented something similar by following this thread&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/553/dealing-large-data-packet-s-through-ble/2839#2839"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/553/dealing-large-data-packet-s-through-ble/2839#2839&lt;/a&gt;&amp;nbsp;it works fine and i get around 3kB/s of throughput. Is there any way to increase this even further? I looked at this link:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s132%2FSDS%2Fs1xx%2Fble_data_throughput%2Fble_data_throughput.html&amp;amp;cp=3_4_2_0_16"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s132%2FSDS%2Fs1xx%2Fble_data_throughput%2Fble_data_throughput.html&amp;amp;cp=3_4_2_0_16&lt;/a&gt;&amp;nbsp;&lt;br /&gt;and it indicates that i would be possible to increase the speed more. Or is it limitations in the central device (in my case a raspberry pi 4) that i cant change thats is limmitning the thorughput speed?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;//Rilleaa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE data length extention Thingy 52</title><link>https://devzone.nordicsemi.com/thread/250509?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 15:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:273d2643-db6c-4a8a-9219-a9c24fa2cd04</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;First of all the connection interval should be as short as possible.&lt;/p&gt;
&lt;p&gt;Then you should call&amp;nbsp;&lt;span&gt;sd_ble_gatts_hvx() as fast as possible until NRF_ERROR_RESOURCES. Then you need to wait for&amp;nbsp;&lt;em&gt;BLE_GATTS_EVT_HVN_TX_COMPLETE&lt;/em&gt;&amp;nbsp;before you can repeat calling&amp;nbsp;sd_ble_gatts_hvx() as fast as possible.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you include gatt_init() in your application, then the callback provided in gatt_init() should provide you with the max length that is supported in the callback handler after the supported MTU exchange have completed. After that you can call&amp;nbsp;sd_ble_gatts_hvx() with a length that equal the max supported length in the callback handler.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>