<?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>Mtu Data  Length Extension</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74804/mtu-data-length-extension</link><description>Hi , I have also tried to user android device as a peripheral to communicate with remote nrf52 device, but due to rx and tx octet mismatching of data symmetric issue , after mtu exchange communication not able to continue like for notification enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 May 2021 08:03:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74804/mtu-data-length-extension" /><item><title>RE: Mtu Data  Length Extension</title><link>https://devzone.nordicsemi.com/thread/310633?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 08:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07dab37f-9015-4336-a4c3-5582e3797ed7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Shemin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using the ble library for android you can look at this example&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox/blob/acd2193c1a3763a1644a7ec8fb9a1045bc9b6ccc/app/src/main/java/no/nordicsemi/android/nrftoolbox/uart/UARTManager.java#L80"&gt;https://github.com/NordicSemiconductor/Android-nRF-Toolbox/blob/acd2193c1a3763a1644a7ec8fb9a1045bc9b6ccc/app/src/main/java/no/nordicsemi/android/nrftoolbox/uart/UARTManager.java#L80&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the MTU request on the image transfer app&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/Android-Image-Transfer-Demo/blob/a4e99507daae8388f1dfa79722a4c8c5c0b9a858/src/com/nordicsemi/ImageTransferDemo/ImageTransferService.java#L290"&gt;https://github.com/NordicPlayground/Android-Image-Transfer-Demo/blob/a4e99507daae8388f1dfa79722a4c8c5c0b9a858/src/com/nordicsemi/ImageTransferDemo/ImageTransferService.java#L290&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mtu Data  Length Extension</title><link>https://devzone.nordicsemi.com/thread/309960?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 10:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6875c05a-ae47-4bab-923e-9f0f4575c71e</guid><dc:creator>Shemin Nizar</dc:creator><description>&lt;p&gt;Hi Amanda ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cleared the above said issues , the issue relies in data transfer between remote device and peripheral android app. We have connected to remote device ,discovered services , exhanged mtu negotiations , then after that data transfer is not able to done as soft devices only support symmetric data transfer , Here in my attached log image link&amp;nbsp; , in center part , after data length updation to 251,&lt;/p&gt;
&lt;p&gt;max_rx_octetes&amp;nbsp; in remote device -&amp;nbsp; 27 , &lt;span&gt;max_tx_octetes in peripheral android app - 251&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;max_rx_time&amp;nbsp; in remote device -&amp;nbsp; 328,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;max_tx_octetes in peripheral android app -&amp;nbsp;2120 .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After communicated with our embedded team , max_rx_octet should match with max_tx_octet should be 27 ,&amp;nbsp;max_rx_time should&amp;nbsp;match with&amp;nbsp;max_tx_time should be&amp;nbsp;328 , then symmetric occur and data transfer will occur from soft devices.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As per Nrf Image Transfer Android App. Libraries , we cannot see anywhere matching these values or cannot change values in android sdk .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So Kindly check whether this&amp;nbsp; issue can be fixed from nrf52 ble device embedded c library , will be able make symmetric data transfer&amp;nbsp; with changes in c code .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As we are get stucked here , it will be very helpful for us if u can provide&amp;nbsp; a workaround to fix this issue , also attaching here latest debugg logger from device here&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Device Logger Link :&amp;nbsp;&amp;nbsp;&lt;a href="https://ibb.co/JjRdSw4"&gt;https://ibb.co/JjRdSw4&lt;/a&gt;&amp;nbsp;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope u are clear about the issue .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&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: Mtu Data  Length Extension</title><link>https://devzone.nordicsemi.com/thread/308949?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 11:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:724810d8-b463-4e90-9a68-c3509a3d249a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Shemin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the debug log, I see &lt;span&gt;the mtu exchange is completed and the data length is set to 244. Service UUID 0x1 not found. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regarding the error &amp;quot;Service UUID 0x1 Not found&amp;quot;, please make sure that you also use the same UUID BASE on both central and&amp;nbsp;peripheral. I.e. the&amp;nbsp;&lt;strong&gt;CUSTOM_SERVICE_UUID_BASE&lt;/strong&gt;&amp;nbsp;that is used on the&amp;nbsp;peripheral, is also the same as the UUID base used on the central side(originally named&amp;nbsp;&lt;strong&gt;LBS_UUID_BASE&lt;/strong&gt;&amp;nbsp;on the&amp;nbsp;multilink central example).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mtu Data  Length Extension</title><link>https://devzone.nordicsemi.com/thread/308906?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 09:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85fc8a77-fa20-4740-a81e-f203539af99a</guid><dc:creator>Shemin Nizar</dc:creator><description>&lt;div class="author"&gt;
&lt;div class="avatar"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/shemin-nizar"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;div class="author"&gt;
&lt;div class="avatar"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/shemin-nizar"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="avatar"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Sdk v 15 is using for ble nrf 52 series remote device , iam creating an android peripheral app for communicating with remote device.&lt;/p&gt;
&lt;p&gt;I had created services&amp;nbsp; and added it , then mtu accepting and negotiation ,then sending notifcations for enabling to remote device , then sending image data and image size, and display this image in remote device .&lt;/p&gt;
&lt;p&gt;But here its till mtu negotiation is occuring, then tx octet and rx octet from peripheral and remote sides are different , and data packet length also different , as ble soft devices supports only data symmetric communication transfer , is this&amp;nbsp; issue needs to be fixed from android app code of peripheral or c embedded code for remote ble soft device .&lt;/p&gt;
&lt;p&gt;I am also attaching debug log response while communicating peripheral android app with remote ble device .&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Response link :&amp;nbsp;&lt;a href="https://ibb.co/YbnpYD1"&gt;https://ibb.co/YbnpYD1&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mtu Data  Length Extension</title><link>https://devzone.nordicsemi.com/thread/308558?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 13:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b462088-7965-4e6d-8268-6e493f773cc3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Shemin,&lt;/p&gt;
&lt;p&gt;What SDK are you using?&lt;/p&gt;
&lt;p&gt;Could you provide the debug and &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;sniffer &lt;/a&gt;log?&lt;/p&gt;
[quote user=""]but using nrf connect app it s working .[/quote]
&lt;p&gt;What cannot work on your&amp;nbsp;&lt;span&gt;android device? Is your app? Please elaborate more on the detail.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>