<?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>App Uart Question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17499/app-uart-question</link><description>I&amp;#39;m using the Nordic as a BLE solution, and it is just passing along data through the UART to another chip through the UART. However, I&amp;#39;m not sure how to just pass the data along using the example UART application from the SDK. 
 I am basically using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Nov 2016 13:59:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17499/app-uart-question" /><item><title>RE: App Uart Question</title><link>https://devzone.nordicsemi.com/thread/67261?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2016 13:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e0f3a99-429a-46ae-be56-531dd10e3a65</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What is &amp;quot;it&amp;quot;? What was getting called? You were seeing it? Or are you seeing it?&lt;/p&gt;
&lt;p&gt;What is the other end? A terminal on the PC? Are you saying that the terminal doesn&amp;#39;t show anything even though calls to app_uart_put() are made?&lt;/p&gt;
&lt;p&gt;And again, please try to be more specific and clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Uart Question</title><link>https://devzone.nordicsemi.com/thread/67260?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 19:52:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f637dec9-2698-4c51-afbe-0755b8131396</guid><dc:creator>Definitely Confused</dc:creator><description>&lt;p&gt;That is the behavior I want, but I was seeing it getting called when data should not be getting provided. When I listen to the UART on the other end, I don&amp;#39;t see the data sent via the calls to &lt;code&gt;app_uart_put()&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Uart Question</title><link>https://devzone.nordicsemi.com/thread/67259?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 12:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b8bf8d-273a-4471-a651-3fc0f79ed5d9</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry, but I still don&amp;#39;t understand. The APP_UART_DATA_READY event is received in the uart_event_handle(), not nus_data_handler(). uart_event_handle() is triggered when data is sent over UART to the nRF51 peripheral, usually from a terminal on a PC, it will then call ble_nus_string_send() to send the data over BLE to the central device. nus_data_handler() is triggered when data is sent over BLE from the central to the nRF51 peripheral, it will call app_uart_put() to send the data over UART, usally to a terminal on a PC.&lt;/p&gt;
&lt;p&gt;You say you have removed the handling of the APP_UART_DATA_READY, which means that when data is sent over UART to the nRF51 peripheral, the data will not be sent over BLE to the central device.&lt;/p&gt;
&lt;p&gt;Is this the functionality you want? If not, what exactly do you want? Please try to be specific.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Uart Question</title><link>https://devzone.nordicsemi.com/thread/67255?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 10:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:966396db-df20-4942-88a3-fa056a981863</guid><dc:creator>Definitely Confused</dc:creator><description>&lt;p&gt;I removed the data handling because it was just grabbing the data received over the nus_data_handler (because it was adding it via app_uart_put). I want the nus_data_handler to just pass the data along, and have the uart_evt_callback only handle data sent to the UART from outside my app&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Uart Question</title><link>https://devzone.nordicsemi.com/thread/67257?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 10:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d30e60fa-2e32-4191-b0a0-38bf7bd2beb4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. But I was hoping you could explain a bit more clearly what you want. Why would you remove the handling of the APP_UART_DATA_READY event? Do you not want to send data received on UART over BLE to the central device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Uart Question</title><link>https://devzone.nordicsemi.com/thread/67256?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 09:50:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f77564a-0727-45a9-8ac3-1ff996bebe25</guid><dc:creator>Definitely Confused</dc:creator><description>&lt;p&gt;I&amp;#39;m using the ble_app_uart example from SDK 12.0.1 using SoftDevice S130&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: App Uart Question</title><link>https://devzone.nordicsemi.com/thread/67258?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 08:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d2886f-3f96-4818-81f3-0aa8b3ca2ceb</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m having trouble understanding you. What example are you using? (SDK and SoftDevice version is also nice to know).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>