<?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>Unwanted L2CAP fragmentation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76426/unwanted-l2cap-fragmentation</link><description>Hello I am in the process of developing a central BLE and I would like to be able to transmit 240 byte frames with a device. The problem I have during my tests is that I see that my packets are fragmented into small packets even though the MTU is 247</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jun 2021 10:07:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76426/unwanted-l2cap-fragmentation" /><item><title>RE: Unwanted L2CAP fragmentation</title><link>https://devzone.nordicsemi.com/thread/315815?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 10:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e22832c3-0bfd-4318-bf7b-d6d70f42689c</guid><dc:creator>QuentinD</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In fact, it was not in my gatt_init () that there was a problem: the problem came from my &amp;quot;#define NRF_SDH_BLE_GAP_DATA_LENGTH&amp;quot; which was at 27 instead of 251&lt;/p&gt;
&lt;p&gt;Now it works.&lt;br /&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unwanted L2CAP fragmentation</title><link>https://devzone.nordicsemi.com/thread/315796?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 09:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d53500d5-f1a9-45f0-b025-7011352d2042</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have increased ATT_MTU, but not DLE. So the on-air packet is still limited to 23bytes useful data.&lt;/p&gt;
&lt;p&gt;If you are using gatt_init() then this should be handled for you, though you can take a look at the ble_app_uart examples which I believe is doing this also. For more info also check out this blog post by third party:&lt;br /&gt;&lt;a href="https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/"&gt;https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>