<?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>issue in start and stop advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66205/issue-in-start-and-stop-advertising</link><description>Hi, 
 I am using nRF52832 , and sdk 15.2 version. I am trying the start the advertisement using timer , once it is connected it should send the data , and should disconnect. start and stop advertising is working with respect to the timer but my data is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Sep 2020 12:15:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66205/issue-in-start-and-stop-advertising" /><item><title>RE: issue in start and stop advertising</title><link>https://devzone.nordicsemi.com/thread/271084?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 12:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7619aea-6ae2-473d-999a-e8dd11b1e8af</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    static uint8_t test_array[] = {&amp;quot;hello&amp;quot;};
    static uint16_t lengde = sizeof(test_array);
    err_code = ble_nus_data_send(&amp;amp;m_nus, test_array, &amp;amp;lengde, m_conn_handle);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, initialize the data_buffer with the data that you would want to send before the function call.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue in start and stop advertising</title><link>https://devzone.nordicsemi.com/thread/270933?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 17:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c7b1242-fb87-4f62-9fdc-41c21658a719</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;jared&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[quote userid="73165" url="~/f/nordic-q-a/66205/issue-in-start-and-stop-advertising/270870"][/quote]&lt;/p&gt;
&lt;p&gt;You should check what is returned by&amp;nbsp;ble_nus_data_send(). There is an error in your application if it&amp;#39;s nonzero.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;how to check that ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue in start and stop advertising</title><link>https://devzone.nordicsemi.com/thread/270870?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 13:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f74cdf7b-c722-4194-a5bd-445e42c98cef</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]start and stop advertising is working with respect to the timer but my data is not receiving in the nRF toolbox app . why ?[/quote]
&lt;p&gt;&amp;nbsp;You should check what is returned by&amp;nbsp;ble_nus_data_send(). There is an error in your application if it&amp;#39;s nonzero.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>