<?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>Maximum NUS data length</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84151/maximum-nus-data-length</link><description>Hello, a newcomer here. 
 I&amp;#39;ve just went through your wonderful BLE service and characteristics tutorials and now I&amp;#39;m experimenting with the BLE UART, i.e. proprietary NUS. I&amp;#39;m using nRF52-DK and SDK 17.1.0. 
 I have some issues figuring maximum allowed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jan 2022 11:59:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84151/maximum-nus-data-length" /><item><title>RE: Maximum NUS data length</title><link>https://devzone.nordicsemi.com/thread/350189?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 11:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f33f88f-f668-42ed-bfa0-c68518d0d081</guid><dc:creator>Pero Krivic</dc:creator><description>&lt;p&gt;Hi, thanks for the answer. Do you mind pointing me to where to find out what MTU is (in the Nordic SDK sense) and how to use this negotiation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum NUS data length</title><link>https://devzone.nordicsemi.com/thread/350180?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 11:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:206f9c63-32f3-40c6-b100-6759cfa2d1dd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]maximum data length is 20 bytes per single TX/RX action. Is that true?[/quote]
&lt;p&gt;Yes, that is the default, as defined in the Bluetooth spec. It can be negotiated higher(if both central and peripheral supports higher MTU) with a&amp;nbsp;MTU Request/Response&amp;nbsp;procedure.&lt;/p&gt;
[quote user=""]Now, if I wanted to send a longer string of data, what would be better approach, to use the NUS or move on to some other service?[/quote]
&lt;p&gt;NUS is perfect for sending strings.&lt;/p&gt;
[quote user=""]my smartphone refuses to send more than 20 characters[/quote]
&lt;p&gt;If you have a old phone, it might not support long MTU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>