<?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>Problem with system off mode and stopping advertisement</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24273/problem-with-system-off-mode-and-stopping-advertisement</link><description>Hi, 
 Most of the sections of my application are functioning as I want it to, except these two (step 3 and step 4). 
 Application: 
 
 Connect device (with Auto connect enabled) 
 Transfer data using nus service from peripheral to central device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Aug 2017 05:58:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24273/problem-with-system-off-mode-and-stopping-advertisement" /><item><title>RE: Problem with system off mode and stopping advertisement</title><link>https://devzone.nordicsemi.com/thread/95551?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2017 05:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5539cf25-3d80-4743-ba08-1dff3d815ac2</guid><dc:creator>RohanKadam</dc:creator><description>&lt;p&gt;Including a small delay before System Off command,solved the problem. Now everything stops on System Off. (even advertising stops without using sd_ble_gap_adv_stop();)&lt;/p&gt;
&lt;p&gt;nrf_delay_ms(4000);&lt;/p&gt;
&lt;p&gt;sd_power_system_off();&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>