<?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>Unable to receive UART-BLE from peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17003/unable-to-receive-uart-ble-from-peripheral</link><description>Hi there! I&amp;#39;m using the nRF Toolbox&amp;#39;s UART to test the receiving of my data stream. I&amp;#39;m trying to send a data array collected (from spi) in my main loop and send it via UART-BLE to my mobile phone. However, on the Toolbox app, I&amp;#39;m not receiving any string</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Oct 2016 06:25:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17003/unable-to-receive-uart-ble-from-peripheral" /><item><title>RE: Unable to receive UART-BLE from peripheral</title><link>https://devzone.nordicsemi.com/thread/65248?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 06:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d4e523d-455d-4e15-a3a5-01bc5e101057</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Both nRF Connect and nRF Toolbox --&amp;gt; UART should work for testing the UART example ble_app_uart. Both of them can write to the CCCD of the UART service and enable notifications.&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;em&gt;Am I right to say I don&amp;#39;t have to change anything in the code here, but just have the client write to the CCCD of BLE-NUS before I use ble_nus_string_send?&lt;/em&gt;&amp;quot; Yes, that&amp;#39;s correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UART-BLE from peripheral</title><link>https://devzone.nordicsemi.com/thread/65247?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2016 23:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adc1b42e-05b6-4439-a95e-c76bdb360f6a</guid><dc:creator>leehong</dc:creator><description>&lt;p&gt;Used the nRF Connect app to turn on the CCCD of BLE-NUS then switched to nRF Toolbox to see the datastream.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UART-BLE from peripheral</title><link>https://devzone.nordicsemi.com/thread/65246?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2016 23:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e6f67ad-5196-4b70-807c-6629ab8395ef</guid><dc:creator>leehong</dc:creator><description>&lt;p&gt;Hi Kristin, thanks for the resp.
I get the basic idea that (i) the client(smartphone) establishes the connection with the server(nRF), then (ii) the client(smartphone) writes to the CCCD register of the server(nRF). Am I able to test it out using the nRF Toolbox&amp;#39;s UART-BLE? Or am I suppose to use the nRF Connect to write to the CCCD and then switch to nRF Toolbox&amp;#39;s UART-BLE?&lt;/p&gt;
&lt;p&gt;Also, once my new SPI data is read to the nRF, I plan to use UART-BLE to send it over to the client. Am I able to use the ble_nus_string_send function to do so after enabling the CCCD?&lt;/p&gt;
&lt;p&gt;Sorry, I&amp;#39;m getting a little lost here. Am I right to say I don&amp;#39;t have to change anything in the code here, but just have the client write to the CCCD of BLE-NUS before I use ble_nus_string_send?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UART-BLE from peripheral</title><link>https://devzone.nordicsemi.com/thread/65245?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2016 07:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8278b1d3-8143-4164-bc06-cd6fdfa2deed</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;To be able to transmit data from your device (server) to the phone (client), the phone will first have to enable notifications on the server side. A server is not allowed to transmit notifications unless the client has enabled it. Enabling of notifications happens after a connection has been established.&lt;/p&gt;
&lt;p&gt;To enable notifications, the client has to write to the CCCD of the characteristic in question. Part 1 of &lt;a href="https://devzone.nordicsemi.com/tutorials/37/"&gt;this&lt;/a&gt; video tutorial introduces CCCDs at approximately 17:00, and continues to talk about data transfer/notifications from 19:30 to 22:40. In part 2 of the tutorial, the code walk through goes through how notifications are enabled at the server time, that part starts at approximately 14:50.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>