<?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>UART Application Problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33622/uart-application-problem</link><description>Hello, 
 
 For my experience, I am using two nRF52 DK. The first is programmed with the &amp;quot;ble_peripheral/ble_app_uart&amp;quot; application and the second is programmed with the &amp;quot;ble_central/ble_app_uart_c&amp;quot; application. 
 I am sending 32 bytes each second on the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 May 2018 10:44:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33622/uart-application-problem" /><item><title>RE: UART Application Problem</title><link>https://devzone.nordicsemi.com/thread/130506?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 10:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3a77997-8225-45cb-928d-7fd9095e72c1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am terribly sorry for the late reply.&lt;/p&gt;
&lt;p&gt;So you are sending 32 bytes on the physical (!) uart every second, is that correct?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First, what SDK are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is your&amp;nbsp;m_ble_nus_max_data_len value?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you look inside the function:&amp;nbsp;uart_event_handle() in main.c (may be called something else, depending on your SDK version), you will see that the uart handler checks if either the last byte was a &amp;#39;\n&amp;#39;, or if the number of elements in the buffer is larger or equal to&amp;nbsp;m_ble_nus_max_data_len. Have you tried to add &amp;#39;\n&amp;#39; to the end of the string that you send over uart every second?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>