<?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>BLE App UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43548/ble-app-uart</link><description>Hi, 
 
 We are using Nrf51 with SDK nRF5_SDK_12.3.0_d7731ad 
 We based a UART bridge on the BLE_APP_UART example 
 The UART connectivity is Rx/ x only (RX_PIN_NUMBER 0; TX_PIN_NUMBER 2) - no CTS or RTS 
 Bound rate 57600 
 We need to send 20 bytes (binary</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Feb 2019 13:08:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43548/ble-app-uart" /><item><title>RE: BLE App UART</title><link>https://devzone.nordicsemi.com/thread/170361?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 13:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:572a519a-462b-4900-b31f-cc085fc2eb71</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The disconnect is likely caused by a reset it your application. Please compile your app with the &amp;quot;DEBUG&amp;quot; flag added to your list of pre-processor definitions, then add a breakpoint in app_error.c::app_error_save_and_stop() to read out the err code, line number, and file name to confirm where the error occurred.&lt;/p&gt;
&lt;p&gt;I guess it stems from the call to&amp;nbsp;&lt;span&gt;ble_nus_string_send().&amp;nbsp;&lt;/span&gt;&amp;nbsp;It will return BLE_ERROR_NO_TX_PACKETS if the notification buffer becomes full (&amp;nbsp;can hold 1-7 packets depending on Softdevice bandwidth configuration). In other words, you will probably have&amp;nbsp;to handle this error in your app. Either pause UART reception while the notification buffer is full, or create a RAM buffer to enable queuing of more notifications packets. However, the latter approach will only work if you are receiving a finite amount of data.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>