<?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>advertising using threshold value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44242/advertising-using-threshold-value</link><description>hi..... 
 i am using nrf52832 and peripheral device , i need to advertise only when it reaches the certain value (threshold )so that i can save some power how to do this 
 suggest an idea</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Mar 2019 10:23:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44242/advertising-using-threshold-value" /><item><title>RE: advertising using threshold value</title><link>https://devzone.nordicsemi.com/thread/173670?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 10:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27871c11-7051-4430-bf88-31566faa35f3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So which part are you stuck on?&lt;/p&gt;
&lt;p&gt;Again, the sending of data is no different to any of the SDK examples.&lt;/p&gt;
&lt;p&gt;The only difference here is the condition on when you start the advertising - which has been covered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising using threshold value</title><link>https://devzone.nordicsemi.com/thread/173645?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 09:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95e7c4ee-4388-49ca-a7a3-1155c5e82f99</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;am sorry for above question ,&lt;/p&gt;
&lt;p&gt;yes i want to do like this&lt;/p&gt;
&lt;p&gt;sleep ---&amp;gt; wake up ----&amp;gt;&amp;nbsp; check the threshold----&amp;gt; if it above the threshold---&amp;gt; then it should start advertise and send the data over ble ---&amp;gt; and then want to sleep again ... these loops to be run continuously&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;how to do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising using threshold value</title><link>https://devzone.nordicsemi.com/thread/173634?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 08:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac45f43b-bbd5-4908-acee-a649c6f20dad</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;If you know how to do that, why did you ask?&lt;/p&gt;
&lt;p&gt;Transferring the data over BLE is an entirely different question from &amp;quot;how to start advertising&amp;quot; !&lt;/p&gt;
&lt;p&gt;But, surely, you have already done that ?&lt;/p&gt;
&lt;p&gt;Please clarify the question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising using threshold value</title><link>https://devzone.nordicsemi.com/thread/173598?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 05:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8295130-aa9e-4093-ac5b-e6b0cf976ff1</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;hi ... awneil , seeing you after long back .....above the code&amp;nbsp; , i know upto this , after advertising _start() , how to send the data over ble app?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;where should i do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: advertising using threshold value</title><link>https://devzone.nordicsemi.com/thread/173480?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 12:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a597aaee-8014-408d-81dd-612ba85feaa8</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;:
:

   if( it &amp;gt; threshold )
   {
      advertising_start();
   }

:
:&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/18277/proper-way-to-start-stop-advertising"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/18277/proper-way-to-start-stop-advertising&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>