<?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_GAP_EVT_DATA_LENGTH, BLE_GATT_EVT_DATA_LENGTH, and ATT MTU size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52446/ble_gap_evt_data_length-ble_gatt_evt_data_length-and-att-mtu-size</link><description>Recently I check back again into att_mtu_throughput example in SDK 15.2. there seems to have some updates than in previous SDK, and I see this BLE_GATT_EVT_DATA_LENGTH is introduced in more recently version. 
 
 I am bit confused what exactly is a &amp;#39;GATT_EVT_DATA_LENGTH</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Sep 2019 09:25:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52446/ble_gap_evt_data_length-ble_gatt_evt_data_length-and-att-mtu-size" /><item><title>RE: BLE_GAP_EVT_DATA_LENGTH, BLE_GATT_EVT_DATA_LENGTH, and ATT MTU size</title><link>https://devzone.nordicsemi.com/thread/211480?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 09:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2101b51a-b767-46aa-83cc-bb9183ba196e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I wasn&amp;#39;t able to locate the example you are speaking of. SDK12.0.0 doesn&amp;#39;t contain the throughput example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only thing I notice that has changed from the earlier examples til the latest one is that you have data length extension which could only be turned on and off before, which you can now set the length of. Is that what you are asking?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_GAP_EVT_DATA_LENGTH, BLE_GATT_EVT_DATA_LENGTH, and ATT MTU size</title><link>https://devzone.nordicsemi.com/thread/211348?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 15:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ac3a75-19a1-468e-944a-19445f3b6add</guid><dc:creator>rolandash</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/edvin-holmseth"&gt;Edvin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You are correct. I looked into source code of&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrf_ble_gatt_data_length_set, and it actually increased options and&amp;nbsp;&lt;span&gt;BLE_GAP_EVT_DATA_LENGTH_UPDATE&amp;nbsp;still available.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am not sure which version of SDK exactly I was compared, probably v12.0 I think. If you look into the implementation of data_len_cmd and you should find the difference.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think my question still focus on what is the difference between&amp;nbsp;BLE_GATT_EVT_DATA_LENGTH and&amp;nbsp;BLE_GAP_EVT_DATA_LENGTH. Are they intended to replace each other?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;many&amp;nbsp;occurrence in Nordic document now just use the phrase &amp;quot;data&amp;nbsp;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;length&amp;quot;, and one does not know which &amp;quot;data length&amp;quot; it is talking about.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE_GAP_EVT_DATA_LENGTH, BLE_GATT_EVT_DATA_LENGTH, and ATT MTU size</title><link>https://devzone.nordicsemi.com/thread/211240?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 12:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90b4acd2-da5a-421e-8c49-194d9d5e11aa</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;From what SDK do you compare the SDK15.2.0 with?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Well. The point of drivers and libraries is that the user shouldn&amp;#39;t have to work down on the bare metal. That being said, I don&amp;#39;t think any possibilities has been removed in the throughput example. I actually think that some more options are added.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>