<?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>immediately disconnect and stop advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48668/immediately-disconnect-and-stop-advertising</link><description>Hello! 
 I want the device to immediately stop any data transfer when it receives an external event, stop sending advertising and go to sleep. 
 How to do it right? After exiting the sleep mode, the functionality of advertising should be fully restored</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jun 2019 15:22:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48668/immediately-disconnect-and-stop-advertising" /><item><title>RE: immediately disconnect and stop advertising</title><link>https://devzone.nordicsemi.com/thread/193480?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 15:22:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50689f31-82c6-4710-866a-cb9288ed2e65</guid><dc:creator>Turnaev</dc:creator><description>&lt;p&gt;Good! Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: immediately disconnect and stop advertising</title><link>https://devzone.nordicsemi.com/thread/193456?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 13:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f94d5948-93a9-4123-bdfa-745675fa3713</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Use&amp;nbsp;&lt;a title="sd_ble_gap_disconnect" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v6.1.1/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=3_4_0_1_2_1_2_15#ga4031d0e4034c6f5900ad6d35b763fb0d"&gt;sd_ble_gap_disconnect&lt;/a&gt;&amp;nbsp;to disconnect a link.&amp;nbsp;&lt;br /&gt;Use&amp;nbsp;&lt;a title="sd_ble_gap_adv_stop" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v6.1.1/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=3_4_0_1_2_1_2_5#ga732faeeb8489dcb34873d78e773957bc"&gt;sd_ble_gap_adv_stop&lt;/a&gt;&amp;nbsp;to stop advertisements.&lt;br /&gt;&lt;br /&gt;Entering sleep is demonstrated in many ble examples.&lt;br /&gt;&lt;br /&gt;Use &lt;a title="ble_advertising_start" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__ble__advertising.html?cp=5_1_6_2_0_18#gae2beedbcde9e995276a685a329e5b46b"&gt;ble_advertising_start&lt;/a&gt;&amp;nbsp;to start advertisements.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>