<?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>Android does not use Data Length Extension for L2CAP Coc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87529/android-does-not-use-data-length-extension-for-l2cap-coc</link><description>Hello, 
 I&amp;#39;m trying to transfer data to an L2CAP CoC on a nRF52832 from iOS and Android devices. I&amp;#39;ve configured the MTU and MPS so that the SDU fits in a single packet with extended Data Length. 
 On iOS, it&amp;#39;s working as expected and I&amp;#39;m getting a good</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 May 2022 12:50:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87529/android-does-not-use-data-length-extension-for-l2cap-coc" /><item><title>RE: Android does not use Data Length Extension for L2CAP Coc</title><link>https://devzone.nordicsemi.com/thread/367183?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 12:50:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:247802c5-77ad-4e44-8cdd-9872cf100976</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Thank you Sigurd, I thought the effective values were on LL_LENGTH_RES, but now I understand each device puts its own in REQ/RES and the effective value is the minimum between the two.&lt;/p&gt;
&lt;p&gt;After more testing I discovered that the Android device only switches to a 251 bytes TX size if a big ATT MTU is requested. Weird.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ATT-MTU.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android does not use Data Length Extension for L2CAP Coc</title><link>https://devzone.nordicsemi.com/thread/366870?ContentTypeID=1</link><pubDate>Mon, 09 May 2022 09:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a37291-fc77-4e79-b664-997c9283a6a5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, seems to be the Pixel phone not supporting sending longer than 27 octets packets:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1652087554120v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;iPhone in comparison:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1652087636474v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android does not use Data Length Extension for L2CAP Coc</title><link>https://devzone.nordicsemi.com/thread/366863?ContentTypeID=1</link><pubDate>Mon, 09 May 2022 08:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f8c900-cc09-4d62-9f4d-cdc2af836c2e</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt; Any thoughts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android does not use Data Length Extension for L2CAP Coc</title><link>https://devzone.nordicsemi.com/thread/366196?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 11:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f29b03ab-d6c4-426a-820e-fa25f3b43fa4</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Hello Sigurd,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t currently have another device running Android 10 or higher (needed for L2CAP CoC APIs).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m attaching the logs.&lt;br /&gt;Unfortunately, nRF sniffer drops basically all packets on iOS with the optimised parameters (MTU=240). I&amp;#39;m attaching a second iOS log with lower MTU=220 which is logged mostly fine, so you can get a better idea. Android would have the same fragmentation issue on MTU=220.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Pixel-4-_2D00_-15ms_2C00_-MTU_3D00_240_2C00_-PHY_3D00_2M.pcapng"&gt;devzone.nordicsemi.com/.../Pixel-4-_2D00_-15ms_2C00_-MTU_3D00_240_2C00_-PHY_3D00_2M.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/iPhone-SE-2022-_2D00_-15ms_2C00_-MTU_3D00_240.pcapng"&gt;devzone.nordicsemi.com/.../iPhone-SE-2022-_2D00_-15ms_2C00_-MTU_3D00_240.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/iPhone-SE-2022-_2D00_-15ms_2C00_-MTU_3D00_220.pcapng"&gt;devzone.nordicsemi.com/.../iPhone-SE-2022-_2D00_-15ms_2C00_-MTU_3D00_220.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android does not use Data Length Extension for L2CAP Coc</title><link>https://devzone.nordicsemi.com/thread/366183?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 11:11:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ddf2af8-cbaa-4cb7-ae20-d0b5af197aa0</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you tested with other Android phones? Do you see the same behavior there?&lt;/p&gt;
&lt;p&gt;Could you upload a nRF sniffer log that shows the behavior, one for iOS and one for the Android?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>