<?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>Basic UART over BLE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7263/basic-uart-over-ble</link><description>I&amp;#39;m trying to enable basic commands with my device. Ideally I have a terminal open on a mac running nodejs or use the UART subapp in the nRF Toolbox App, type a special command character then press transfer. 
 There are a handful of apps in the examples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 13 Jun 2015 17:04:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7263/basic-uart-over-ble" /><item><title>RE: Basic UART over BLE?</title><link>https://devzone.nordicsemi.com/thread/25679?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2015 17:04:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b2217a1-029f-4c4d-8c3e-46d0cbe205d4</guid><dc:creator>la-ble</dc:creator><description>&lt;p&gt;@Aryan, the example is not working for me using PCA10028, SDK v8.0.0, S110 v8.0.0.  The APP shows RX logs but NOT TX logs no matter the size of the message I send or hardcode, with or without a newline character.  If I skip over uart and fifo (directly echo back what comes in on &lt;code&gt;nus_data_handler&lt;/code&gt; out to &lt;code&gt;ble_nus_string_send&lt;/code&gt;) then I can get TX logs.  &lt;code&gt;app_uart&lt;/code&gt; and &lt;code&gt;app_fifo&lt;/code&gt; seem to break the example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Basic UART over BLE?</title><link>https://devzone.nordicsemi.com/thread/25678?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 10:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23cee785-3070-471b-ba93-54e700c1c426</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If the memory settings are incorrect, you are probably using the incompatible SDK and SoftDevice.&lt;/p&gt;
&lt;p&gt;It sounds like ble_app_uart is a very good starting point for your application&lt;/p&gt;
&lt;p&gt;in ble_uart you send a string from the terminal on the PC over UART to the nRF51, then the string is relayed over BLE to peer APP with ble_nus_string_send().&lt;/p&gt;
&lt;p&gt;You send a string from the APP over BLE to the nRF51, then the string is relay to the terminal on the PC over UART with nus_data_handler().&lt;/p&gt;
&lt;p&gt;To send data to your phone from nRFchip:
just call ble_nus_string_send&lt;/p&gt;
&lt;p&gt;When you receive data over BLE from your phone
nus_data_handler  will be called, so you have handle your incoming character&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Basic UART over BLE?</title><link>https://devzone.nordicsemi.com/thread/25677?ContentTypeID=1</link><pubDate>Sun, 07 Jun 2015 01:41:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06d2cb75-aca7-42dc-82ba-b676d5234d72</guid><dc:creator>la-ble</dc:creator><description>&lt;p&gt;@Aryan, I do NOT care about the UART hardware peripheral.  I only care about sending/receiving debug data over BLE to/from an iOS device.  &amp;#39;Emulated&amp;#39; UART might be a better description I could have put down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Basic UART over BLE?</title><link>https://devzone.nordicsemi.com/thread/25676?ContentTypeID=1</link><pubDate>Wed, 27 May 2015 10:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6369cbec-8cb7-466f-a9ca-33e9414636d5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi la-ble,&lt;/p&gt;
&lt;p&gt;I am not sure if I understand what you mean by abstract put_char and on_char_received.
Are you saying that you do not need to forward BLE traffic to/from UART? Or are you asking if you can use NUS service &lt;strong&gt;and also&lt;/strong&gt; abstract put_char and on_char_received functions in addition to NUS?&lt;/p&gt;
&lt;p&gt;I will help you and edit my answer after I understand what you are really looking for&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>