<?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>S132 v3 Exchange MTU (LE Data Packet Length Extension does&amp;#39;t work)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16498/s132-v3-exchange-mtu-le-data-packet-length-extension-does-t-work</link><description>Hi, I encountered some problem using the S132v3. 
 With the s132 v3 and sdk12, I want to extend the ble transfer size. 
 Now I can change the att_mtu to 100, and iphone can write more than 20bytes to the characteristic. 
 But!!! I found that the LL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Sep 2016 09:49:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16498/s132-v3-exchange-mtu-le-data-packet-length-extension-does-t-work" /><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63143?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 09:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4abf6cf0-63e5-49e9-ba03-ac2f4229ae49</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If Keton answered your question, please accept his answer by clicking the check mark next to it. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63142?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 00:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dec0d0ea-a68d-4503-9cb8-7b03a57e108f</guid><dc:creator>eyeye</dc:creator><description>&lt;p&gt;Very appreciate for your reply and patient. now I understand where is my problem, i thought LL_LENGTH_REQ was sent by S132, it&amp;#39;s a big mistake. It&amp;#39;s really iPhone haven&amp;#39;t support DLE, just mtu exchanging. Thank you for all your replies above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63133?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2016 10:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5e21f79-ea19-4e42-8922-ebcaa46e0243</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;From what I recall from the Apple Bluetooth list when someone asked about DLE, they said it&amp;#39;s not supported, so not a bug at Apple, and not, as expected, a bug in S132. It&amp;#39;s going to be interesting when more products do start supporting long MTU and DLE to work out what the most efficient length to request is, it&amp;#39;s not always the longest possible, that can cause connection events to terminate more quickly because there&amp;#39;s not time for full-length DLE-extended packet, so sometimes a smaller link-layer packet and a bit of fragmentation does better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63141?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2016 07:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d4c0238-9635-49d8-9f04-f70d2c23f45a</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;@eyeye sniffer traces you&amp;#39;ve posted show that iPhone 6 doesn&amp;#39;t support DLE as it responds LL_UNKNOWN_RSP to nordic&amp;#39;s LL_LENGTH_REQ. Note that GATT server/client is a different concept from central/peripheral denoted on sniffer traces master/slave. Most notably GATT server - the nRF is a slave device on sniffer.&lt;/p&gt;
&lt;p&gt;So not a bug in S132, maybe a bug in iPhone if Apple intended to support DLE. Also I&amp;#39;ve done some reading around and as far as user testimonials go Nexus 5x is the only device I could find confirmation of DLE.&lt;/p&gt;
&lt;p&gt;I also found this article: &lt;a href="http://www.argenox.com/blog/does-your-iphone-support-bluetooth-v4-2/"&gt;www.argenox.com/.../&lt;/a&gt; denying iPhone support for DLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63140?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2016 06:06:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f442a82-66e0-4882-b52b-8a54847c8112</guid><dc:creator>Elias</dc:creator><description>&lt;p&gt;Agreed. I see no reason to assume that the iPhone supports DLE, or even that it has its own equivalent of a BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63139?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2016 00:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c32e6db-f167-4c5f-b0c5-dda4ce12197c</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Any many things it may be, a bug in s132 is the least likely. Unless you are connecting two nrf52 boards the other side most likely doesn&amp;#39;t support data packet extensions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63131?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 23:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcae5b09-be3a-4b58-8176-71e6470331a4</guid><dc:creator>eyeye</dc:creator><description>&lt;p&gt;I think the key point is
&lt;code&gt;I found that nRF52 response the LL_LENGTH_REQ cmd with LL_UNKNOWN_RSP. It should be LL_LENGTH_RSP with a BLE_EVT_DATA_LENGTH_CHANGED event to the app layer.&lt;/code&gt;
It make me giving up to solve it by myself, maybe a bug in the s132.&lt;/p&gt;
&lt;p&gt;Use iPhone connect to S132, the nordic sniffer doesn&amp;#39;t parse the LL_LENGTH_REQ packet, you can reference to Bluetooth Core.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63132?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 23:50:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6af67460-8883-46dd-9191-5f70f5079658</guid><dc:creator>eyeye</dc:creator><description>&lt;p&gt;@RK Thanks for your reply!&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Yes, Data Packet Extension is what i want to do indeed;&lt;/li&gt;
&lt;li&gt;Change the MTU is achieved.;&lt;/li&gt;
&lt;li&gt;Data Packet Extension is Failed (according to the sniffer, long ATT packet fragmented into short LL packet in l2cap layer);&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63130?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 22:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33895de2-f08e-4e29-ad5e-e46a309a777a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;@eyeeye you seem to be confusing the ability to change the max MTU with the Data Packet Extension, they are not the same thing. MTU is at the ATT level, Data Packet Extension is at the link level. They are not related to each other directly. You&amp;#39;re changing the MTU only, the underlying link level packet will stay the same length, hence you will see exactly the fragmentation and reassembly you are seeing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63138?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 17:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ae42ba-1e32-4875-99ad-f86cdc856730</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;I&amp;#39;ve assumed that we are talking about ATT MTU because of diagram you&amp;#39;ve attached.&lt;/p&gt;
&lt;p&gt;Setting BLE_GAP_OPT_EXT_LEN doesn&amp;#39;t seem to work but I haven&amp;#39;t seen a consumer device with Link Layer packet extension implemented.&lt;/p&gt;
&lt;p&gt;I also checked what setting both BLE_GAP_OPT_EXT_LEN and increasing ATT_MTU will do but only thing I&amp;#39;ve noticed was additional packet fragmentation if BLE_GAP_OPT_EXT_LEN &amp;lt; ATT_MTU+5. It would be interesting to check how nRF52 central + nrf52 peripheral behaves in such configuration but I have only one nRF52 board at home.&lt;/p&gt;
&lt;p&gt;If you look at the packet timings you are able to send up to ATT_MTU-3 bytes in single connection interval using write request. Compare this to queued writes where it&amp;#39;s only possible to send 1 chunk of data per interval because peer ack is needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63137?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 15:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:012e85c0-9ea5-490c-9c2d-52d38e22931e</guid><dc:creator>eyeye</dc:creator><description>&lt;p&gt;@Keton, Thanks for your reply!
I have successful exchanged the mtu, and the att size is extended.&lt;/p&gt;
&lt;p&gt;Only the PDU Length in Link layer didn&amp;#39;t extended.&lt;/p&gt;
&lt;p&gt;In l2cap layer, the long ATT pdu was fragmented into short Link layer pdu.&lt;/p&gt;
&lt;p&gt;That was not the LE Data Packet Length Extension behavior in BLE4.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63136?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 14:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceb7b21f-0d1f-49a0-a1af-304231a75965</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;If your Nordic device is a peripheral you have to ask central for MTU extension via &lt;code&gt;sd_ble_gattc_exchange_mtu_request&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Be aware that the central device is in complete control of MTU size so it can decline increasing the mtu or can reply with other MTU value.&lt;/p&gt;
&lt;p&gt;So maybe iPhone declines mtu extension request? In case of Android not many phones are compatible and it depends both on hardware and ROM version. That&amp;#39;s why you need to implement at least barebones MTU exchange as described in S132v3 migration guidelines.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d suggest using nRF52-DK with nRFConnect software as a test central device as it supports this feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63135?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 11:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa2e510-ffa0-434f-bed2-34cf5a3e804b</guid><dc:creator>eyeye</dc:creator><description>&lt;p&gt;In other word, the LE Data Packet Length Extension does&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 v3 Exchange MTU (LE Data Packet Length Extension does't work)</title><link>https://devzone.nordicsemi.com/thread/63134?ContentTypeID=1</link><pubDate>Sun, 18 Sep 2016 11:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db780fe8-ee3a-4f69-9478-4a512f0e27f0</guid><dc:creator>eyeye</dc:creator><description>&lt;p&gt;s132v3 sdk12 with iPhone 6 iOS10&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>