<?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>Sending string data over NUS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40866/sending-string-data-over-nus</link><description>Hello, 
 I am trying to modify the ble_app_uart code so that my peripheral can send data automatically to the central, which in turn can print it on a computer through UART. What I mean is that instead of the ble_nus_string_send() command being called</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 01 Dec 2018 02:06:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40866/sending-string-data-over-nus" /><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159784?ContentTypeID=1</link><pubDate>Sat, 01 Dec 2018 02:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:544d1b26-c2ae-4bc9-aa38-d339c09fd486</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;A few hints you might consider:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;sizeof(SomeString)&lt;/em&gt; for ascii data transmission is bad, use instead &lt;em&gt;strlen(SomeString)&lt;/em&gt;. The former includes all the crap on the stack after useful data when used with printf etc and might work but is not reliable. The second attempts to transmit only the ascii data you put in the string&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;sprintf()&lt;/em&gt; is unsafe, use instead &lt;em&gt;snprintf()&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;\r&amp;quot;&lt;/em&gt; may not be the same as &lt;em&gt;&amp;#39;\r&amp;quot;&lt;/em&gt; or &lt;em&gt;snprintf( ... &amp;quot;..\r&amp;quot;)&lt;/em&gt;; be safe, use &lt;em&gt;snprintf()&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here is an example which might be useful; Central is showing additional information and it works with the Nordic Uart service you are using&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void ReportVersion(void)
{
    char     InfoPacket[120];
    const uint16_t sdMajor  =  SD_VERSION / 1000000;
    const uint16_t sdMinor  = (SD_VERSION - (sdMajor*1000000)) / 1000;
    const uint16_t sdBugfix = (SD_VERSION - ((sdMajor*1000000) + (sdMinor*1000)));
    ble_version_t sdVersion = {0,0,0};
    ble_version_t *p_version = &amp;amp;sdVersion;
    // Get actual installed SoftDevice version (may be different from header file)
    sd_ble_version_get(p_version);

    // Sign on
    // &amp;quot;Central (66906325295D586C) SD Ver. [5.1.0] [59 A5 9]&amp;quot;
    snprintf(InfoPacket, sizeof(InfoPacket), &amp;quot;Central (%08X%08X) SD Ver. [%u.%u.%u] [%X %X %X]\r&amp;quot;,
                         NRF_FICR-&amp;gt;DEVICEID[1], NRF_FICR-&amp;gt;DEVICEID[0], sdMajor, sdMinor, sdBugfix,
                         p_version-&amp;gt;company_id, p_version-&amp;gt;subversion_number, p_version-&amp;gt;version_number);
    SendViaHardwareUart(InfoPacket);
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here is a typical uart function expected by the code above&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void SendViaHardwareUart(char * InfoPacket)
{
   uint32_t err_code;
   uint32_t txIndex;

   txIndex = strlen(InfoPacket);
   for (uint32_t i = 0; i &amp;lt; txIndex; i++)
   {
      do
      {
         err_code = app_uart_put(InfoPacket[i]);
      } while (err_code == NRF_ERROR_BUSY) ;
   }
   if (InfoPacket[txIndex-1] == &amp;#39;\r&amp;#39;)
   {
      while (app_uart_put(&amp;#39;\n&amp;#39;) == NRF_ERROR_BUSY) ;
   }
}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159782?ContentTypeID=1</link><pubDate>Sat, 01 Dec 2018 00:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d06443a-1943-4e2f-aa55-e7d612503fb9</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;Can you contact me at my hginfla@gmail.com address please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159410?ContentTypeID=1</link><pubDate>Wed, 28 Nov 2018 12:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ceea7a5-ea61-430b-bdc7-a34c3c694937</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;After moving around some things I found this:&lt;/p&gt;
&lt;p&gt;1. Sending the string with a &amp;quot;\n&amp;quot; at the end is the thing preventing the central from printing anything and causing the ERROR 7 in the peripheral&amp;#39;s log.&lt;/p&gt;
&lt;p&gt;2. Sending &amp;quot;01234567891123456789\r&amp;quot; the central receives the data but only prints a blank space.&lt;/p&gt;
&lt;p&gt;3. Seding simply &amp;quot;01234567891123456789&amp;quot; prints &amp;quot;01234&amp;quot; when I try the printing function in the central (posted on the original question) and it prints &amp;quot;01234▒&amp;quot; when I simply printf(p_data)&lt;/p&gt;
&lt;p&gt;4. Sending a longer string also results in the central receiving the tx notification but not printing anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159114?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 20:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8871dda4-872e-4a6b-8233-b6cf2d3fbf4b</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;Can you find the call that&amp;#39;s throwing the NRF_ERROR_INVALID_PARAM fault? Is it the call to ble_nus_data_send?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159111?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 18:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d7aa13a-c058-401a-9c49-9a67a78cd7aa</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;I am getting an error message. This is what the log is showing me: &lt;/p&gt;
&lt;p&gt;0&amp;gt; &amp;lt;info&amp;gt; app: Connected&lt;br /&gt;0&amp;gt; &amp;lt;info&amp;gt; app: Data len is set to 0x3D(61)&lt;br /&gt;0&amp;gt; &amp;lt;error&amp;gt; app: ERROR 7 [NRF_ERROR_INVALID_PARAM]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159109?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 18:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56be3fd4-492e-43d5-93dd-5f59cf178f79</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;Now that &lt;em&gt;is &lt;/em&gt;odd. Over on the peripheral side, is the return value to ble_nus_data_send() zero (NRF_SUCCESS) or are you getting an error message?&lt;/p&gt;
&lt;p&gt;Instrumenting is just a fancy description for logging around suspect bits of code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159108?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 18:15:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c5ef6cb-5b09-4ef7-a9a9-f099f51e108a</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;When I change the dummy to what you said it doesn&amp;#39;t print anything... that is odd.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what you mean by instrumenting the ble_nus_c_evt_handler(). Sorry, I&amp;#39;m rather new to programming in C.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159107?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 17:55:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9949660-3a96-4cf5-9fe9-8892edd2055c</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome!&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Doesn&amp;#39;t it seem like the CR/LF characters are acting as backspaces?&amp;nbsp; What happens if you stretch dummy out to&lt;/p&gt;
&lt;p&gt;dummy[] = &amp;quot;012345678911234567892123456789\r\n&amp;quot;; for a 42character long message,&lt;/p&gt;
&lt;p&gt;does that truncate the last two characters also or do you only get &amp;quot;01234567&amp;quot; ?&lt;/p&gt;
&lt;p&gt;(It may help to instrument ble_nus_c_evt_handler() at the ...TX_EVT, perhaps log the string and its length or set a breakpoint and check out the event fields. Does that make sense?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159103?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 17:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b45d5aa3-04a7-4cb3-b594-7e421bffc5bb</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;That fixed it!&lt;/p&gt;
&lt;p&gt;However, even when trying to send a small string like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    char dummy[] = &amp;quot;dummy data\r\n&amp;quot;; 

    // Enter main loop.
    for (;;)
    {
        uint32_t       err_code;
        printf(dummy);

        do
        {
          err_code = ble_nus_string_send(&amp;amp;m_nus, &amp;amp;dummy, sizeof(dummy));
          if ( (err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp; (err_code != NRF_ERROR_BUSY) )
          {
            APP_ERROR_CHECK(err_code);
          }
        } while (err_code == NRF_ERROR_BUSY);
    }
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The central only prints &amp;quot;dummy da&amp;quot; repeatedly. I thought that changing the MTU size would solve that. Could you help me?&lt;/p&gt;
&lt;p&gt;Thank you for all your time and patience&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159093?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 16:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e08ed04-6fcd-4053-826a-9aaff7dd56a5</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;Maybe BLE_GATT_ATT_MTU_DEFAULT in ble_gatt.h is it? I left it at the default 23 and use 247 byte packets. Please also check to see if you&amp;#39;re throwing any error messages to the log&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159090?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 16:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cc6f7a0-f712-4627-979f-a1e0a9b057d8</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;I changed NRF_SDH_BLE_GATT_MAX_MTU_SIZE in the sdk_config.h and BLE_GATT_ATT_MTU_DEFAULT in the ble_gatt.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159089?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 16:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2da869ac-9e04-4147-ae97-90629b616003</guid><dc:creator>howard n2wx</dc:creator><description>[quote userid="74182" url="~/f/nordic-q-a/40866/sending-string-data-over-nus/159085"]I fixed it! To be honest I&amp;#39;m not sure what I did to make it work. [/quote]
&lt;p&gt;Congratulations! I knew you were close&lt;/p&gt;
[quote userid="74182" url="~/f/nordic-q-a/40866/sending-string-data-over-nus/159085"] just have one more question regarding this: when I try to change the default GATT MTU length higher than 64 bytes the boards stop working completely. Does this mean my boards don&amp;#39;t support large MTU negotiation?[/quote]
&lt;p&gt;No, it doesn&amp;#39;t mean that, your 52832s and s132 v6.x (maybe older ones too) absolutely support large MTU negotiation and it works perfectly.&amp;nbsp; Did you change NRF_SDH_BLE_GATT_MAX_MTU_SIZE in sdk_config.h?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/159085?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 16:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad740423-149a-4c77-8b01-7c1a1ae040d6</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;I fixed it! To be honest I&amp;#39;m not sure what I did to make it work. &lt;/p&gt;
&lt;p&gt;I just have one more question regarding this: when I try to change the default GATT MTU length higher than 64 bytes the boards stop working completely. Does this mean my boards don&amp;#39;t support large MTU negotiation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158936?ContentTypeID=1</link><pubDate>Sun, 25 Nov 2018 23:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51edc350-eb98-4404-9b90-db2deec7eb66</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;Thank you kindly for all your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158935?ContentTypeID=1</link><pubDate>Sun, 25 Nov 2018 22:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2030756-3cbf-422e-8523-aace5235a521</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;I&amp;#39;m stumped and would need your code to figure out what&amp;#39;s wrong, and that&amp;#39;s not appropriate (we hardly know each other! :-)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hopefully others with better ideas than I have will chime in. FWIW it sounds like you&amp;#39;re very close. Final tips would be to make sure there&amp;#39;s nothing untoward in the peripheral side&amp;#39;s logs (but you have good results with nrf connect......)&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158932?ContentTypeID=1</link><pubDate>Sun, 25 Nov 2018 15:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:165da866-c5cd-4d81-8d92-d20a76b9b943</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;Data packets are indeed being received by nrf connect. I can see them when I click notify.&lt;/p&gt;
&lt;p&gt;The boards automatically connect when I turn on the peripheral and stay connected. I increased the MTU in both to 100. Baudrate in both is 57600.&lt;/p&gt;
&lt;p&gt;I am using the examples/ble_central/ble_app_uart_c.&lt;/p&gt;
&lt;p&gt;When they connect it is turning on the tx_notifs, it prints &amp;quot;connected&amp;quot; and &amp;quot;disconnected&amp;quot; no problem but &amp;quot;data recieved&amp;quot; is never printed and no data is being printed either. Here is my ble_nus_c_evt_handler in case it helps:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;switch (p_ble_nus_evt-&amp;gt;evt_type)
    {
        case BLE_NUS_C_EVT_DISCOVERY_COMPLETE:
            NRF_LOG_INFO(&amp;quot;Discovery complete.&amp;quot;);
            err_code = ble_nus_c_handles_assign(p_ble_nus_c, p_ble_nus_evt-&amp;gt;conn_handle, &amp;amp;p_ble_nus_evt-&amp;gt;handles);
            APP_ERROR_CHECK(err_code);

            err_code = ble_nus_c_tx_notif_enable(p_ble_nus_c);
            APP_ERROR_CHECK(err_code);
            NRF_LOG_INFO(&amp;quot;Connected to device with Nordic UART Service.&amp;quot;);
            printf(&amp;quot;Connected\r\n&amp;quot;);
            break;

        case BLE_NUS_C_EVT_NUS_TX_EVT:
            printf(&amp;quot;Data received\r\n&amp;quot;);
            ble_nus_chars_received_uart_print(p_ble_nus_evt-&amp;gt;p_data, p_ble_nus_evt-&amp;gt;data_len);
            break;

        case BLE_NUS_C_EVT_DISCONNECTED:
            NRF_LOG_INFO(&amp;quot;Disconnected.&amp;quot;);
            printf(&amp;quot;Disconnected\r\n&amp;quot;);
            scan_start();
            break;
    }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158921?ContentTypeID=1</link><pubDate>Sat, 24 Nov 2018 23:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bbad85e-ddaf-444c-93b6-21291750f82d</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;I understand. The point of the nrf connection is to get the sensor side working&amp;nbsp; Is it working? With nrfconnect are you seeing the data from your sensor-connected peripheral after clicking notify?&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re not seeing your sensor&amp;#39;s data with the nrf connect PC app then I think you need to start at the peripheral.&amp;nbsp; Log what&amp;#39;s going on between the sensor&amp;#39;s uart and the example/ble_peripheral/ble_app_uart main.c&amp;#39;s call to ble_nus_data_send().&lt;/p&gt;
&lt;p&gt;If you are seeing your sensor data then your central running something like examples/ble_central/ble_app_uart_c can almost drop-in and replace the PC.&amp;nbsp; You could set up the central to scan for and autoconnect to your peripheral. Then you&amp;#39;ll turn tx_notifs on from the central, enlarge the MTU (see this thread&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40868/uart-service-data-length/158918#158918)"&gt;devzone.nordicsemi.com/.../158918&lt;/a&gt;, and the example&amp;#39;s ble_nus_chars_received_uart_print() will emit the sensor data on the pin defined for SER_APP_TX_PIN&amp;nbsp; .&lt;/p&gt;
&lt;p&gt;3500 bytes every second is very do-able.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158920?ContentTypeID=1</link><pubDate>Sat, 24 Nov 2018 22:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7144853-7178-4631-918b-b6532525e514</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;Thanks! Its quite clear now. Sadly, what I&amp;#39;m trying to transmit over BLE is sensor data, and I need a continuous stream of data that I can accumulate. For example, if I send the data over UART to PuTTY I can copy all the data I send over long periods of time for processing. I&amp;#39;m afraid I can&amp;#39;t do that with the method you showed me, that&amp;#39;s why I&amp;#39;m trying to send it on BLE NUS packets to another board that are then sent over UART to PuTTY in order to accumulate all that data. I need to send about 70 bytes every 20 ms.&lt;br /&gt;Could you help me solve my initial question or could you propose another method?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158917?ContentTypeID=1</link><pubDate>Sat, 24 Nov 2018 22:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33dbced3-560a-4463-8e04-5bc484106a1e</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;I&amp;#39;ll try.&amp;nbsp; My project uses different UUIDs but mostly unmolested NUS inside. &lt;/p&gt;
&lt;p&gt;This screencap shows the button on you need to select to turn notifications on:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4718.Capture.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;The periph won&amp;#39;t send anything until you turn notifications on that way.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If successful you&amp;#39;ll be rewarded with soemthing like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/42618.Capture1.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;And the data will refresh as often as received until you toggle notifications off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158916?ContentTypeID=1</link><pubDate>Sat, 24 Nov 2018 22:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0a8260-f549-411d-a495-7f1902362e1d</guid><dc:creator>Catytu</dc:creator><description>&lt;p&gt;I tried, and they do make a connection. Could you help me and give me a hint as to how I can view the continuous stream of data arriving over BLE on the nrf connect on pc?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending string data over NUS</title><link>https://devzone.nordicsemi.com/thread/158914?ContentTypeID=1</link><pubDate>Sat, 24 Nov 2018 22:10:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2be6556-488d-4079-869c-e1ffe227c877</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;Have you tried replacing one end of the link (the central would be easiest) with the nrf connect android app or the nrf go PC application? Divide and conquer...&lt;/p&gt;
[quote userid="74182" url="~/f/nordic-q-a/40866/sending-string-data-over-nus"] From what I know, the central enters ble_nus_c_evt_handler to establish connection but the NUS_TX_EVT is not being called.[/quote]
&lt;p&gt;The examples do a good job of logging.&amp;nbsp; It&amp;#39;ll help reduce uncertainty and forum members will have more to go on in the way of assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>