<?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>How do I achieve maximum data length?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42229/how-do-i-achieve-maximum-data-length</link><description>Is achieving a data length of 251 possible in SDK 14.0.0, SoftDevicve S132 5.0.0 ? I tried updating my GATT table to 6000 bytes and my NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 251, but I get the following errors:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Jan 2019 09:41:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42229/how-do-i-achieve-maximum-data-length" /><item><title>RE: How do I achieve maximum data length?</title><link>https://devzone.nordicsemi.com/thread/164655?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 09:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6ad38ce-ce3a-4aff-b9ac-6b7b29ad5949</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;In the request of&amp;nbsp;sd_ble_gap_data_length_update it seems that something is wrong with the parameters as 0x7 is&amp;nbsp;NRF_ERROR_INVALID_PARAM. Also&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;error&amp;gt; ble_gatt: sd_ble_gap_data_length_update() (reply) returned unexpected value 0x13.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is explained in the documentation of the API&lt;/p&gt;
&lt;p&gt;* @retval ::NRF_ERROR_RESOURCES The connection event length configured for this link is not sufficient for the requested parameters.Use @ref sd_ble_cfg_set with @ref BLE_CONN_CFG_GAP to increase the connection event length.&amp;nbsp;Inspect p_dl_limitation to see where the limitation is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>