<?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>UART Peripheral example stop advertising using sd_ble_gap_adv_stop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41698/uart-peripheral-example-stop-advertising-using-sd_ble_gap_adv_stop</link><description>Hi. I am trying to stop advertising after a delay in the UART example using; 
 sd_ble_gap_adv_stop(???) 
 What do I put in the brackets? It is asking for a uint8_t called adv_handle. I can&amp;#39;t find this in the UART peripheral example, or don&amp;#39;t know under</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Dec 2018 12:18:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41698/uart-peripheral-example-stop-advertising-using-sd_ble_gap_adv_stop" /><item><title>RE: UART Peripheral example stop advertising using sd_ble_gap_adv_stop</title><link>https://devzone.nordicsemi.com/thread/162271?ContentTypeID=1</link><pubDate>Tue, 18 Dec 2018 12:18:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2101656-9d81-4676-a19a-df930a75fe20</guid><dc:creator>Philip</dc:creator><description>&lt;p&gt;Thanks Andreas! It worked when I removed the &amp;quot;&amp;amp;&amp;quot; as you suggested.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Phil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Peripheral example stop advertising using sd_ble_gap_adv_stop</title><link>https://devzone.nordicsemi.com/thread/162257?ContentTypeID=1</link><pubDate>Tue, 18 Dec 2018 11:23:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db06347-d421-4e16-8842-1ebd531d0217</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Try to use:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;sd_ble_gap_adv_stop(m_advertising.adv_handle);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note that LED 1 will continue blinking, since the LED is not updated with this API call.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Peripheral example stop advertising using sd_ble_gap_adv_stop</title><link>https://devzone.nordicsemi.com/thread/162236?ContentTypeID=1</link><pubDate>Tue, 18 Dec 2018 09:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:211bdd4a-88c8-400c-a9ec-9f8c67c73554</guid><dc:creator>Philip</dc:creator><description>&lt;p&gt;I tried this but it doesn&amp;#39;t stop;&lt;/p&gt;
&lt;p&gt;sd_ble_gap_adv_stop(&amp;amp;m_advertising.adv_handle);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>