<?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>Enter on System on sleep mode on Ble timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71198/enter-on-system-on-sleep-mode-on-ble-timeout</link><description>how can I put nrf52832 in the system on sleep mode on advertising timeout? 
 Currently, on timeout, the device is going in system off mode and restarting on interrupt.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Feb 2021 14:22:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71198/enter-on-system-on-sleep-mode-on-ble-timeout" /><item><title>RE: Enter on System on sleep mode on Ble timeout</title><link>https://devzone.nordicsemi.com/thread/292366?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 14:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff5198e5-3338-481a-8dd9-f088961baec0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you comment out, or remove the&amp;nbsp;sleep_mode_enter() from&lt;/p&gt;
&lt;p&gt;on_adv_evt() -&amp;gt; case BLE_ADV_EVT_IDLE:&lt;/p&gt;
&lt;p&gt;the device will not enter system off mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By commenting out this line, the on_adv_evt() will finish without going to system_off, and the main() loop will resume, and idle_state_handle() / sd_app_evt_wait() will resume system on mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>