<?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>Increasing the MTU Android fails to write characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56304/increasing-the-mtu-android-fails-to-write-characteristic</link><description>I have a device based on the Nordic nRF52832. I am using softdevice s132. I am using Nordic nRF5_SDK_15.3.0_59ac345. My Android device I am testing with is running Android 9.1 and has a 4.2 BLE hardware in it. It is a samsung Galaxy Tab tablet. 
 My firmware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jan 2020 09:39:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56304/increasing-the-mtu-android-fails-to-write-characteristic" /><item><title>RE: Increasing the MTU Android fails to write characteristic</title><link>https://devzone.nordicsemi.com/thread/228064?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 09:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:051f9535-26d1-4d64-9638-4d180fddf268</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I believe that the Android device won&amp;#39;t accept higher MTU values than 255 in this case, which is why you see this error I believe. It is indeed not recommended to set the MTU size higher than 255, seeing as that&amp;#39;s how big the DLE (Data Length Extention) feature allows the payload of each packet&amp;nbsp;to be. You can see more on how to achieve maximum throughput in &lt;a href="https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/"&gt;this blog post&lt;/a&gt;&amp;nbsp;(keep in mind that this is for Bluetooth 5, so some features won&amp;#39;t be available in a BLE 4.2 connection).&lt;/p&gt;
&lt;p&gt;So, while 255 is not a hard limit, it&amp;#39;s just the highest supported MTU size at the time being, and trying to send more data in each packet will lead to errors and eventual packet loss between devices I believe.&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>