<?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>How to configure to stop system off after 3 minutes?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9987/how-to-configure-to-stop-system-off-after-3-minutes</link><description>On custom nRF51422 hardware with S110, I eventually found that after 3 minutes the advertising timeout turns off the system.
I reproduced it by using the nRF SDK v9 project ble_app_uart_s110_pca10028 
 These links mention the 3 minutes timeout 
 devzone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Nov 2019 04:21:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9987/how-to-configure-to-stop-system-off-after-3-minutes" /><item><title>RE: How to configure to stop system off after 3 minutes?</title><link>https://devzone.nordicsemi.com/thread/218396?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 04:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bef9cad-4dac-4da7-ae5d-793e18db2aea</guid><dc:creator>karelv</dc:creator><description>&lt;p&gt;Still works with SDK 16 on USB Dongle nRF52840 (pca10059).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure to stop system off after 3 minutes?</title><link>https://devzone.nordicsemi.com/thread/37039?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2015 09:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d7d7aef-e64a-4c48-acaa-a4058d6293d7</guid><dc:creator>GT Software</dc:creator><description>&lt;p&gt;Yes, the ble_app_uart_s110_pca10028 example uses BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE.
Thanks for the note about BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure to stop system off after 3 minutes?</title><link>https://devzone.nordicsemi.com/thread/37040?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2015 08:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6015dc59-d034-4f19-b352-56c1f793ac31</guid><dc:creator>MC</dc:creator><description>&lt;p&gt;Are you using directed advertising? If you have BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE flag added to advertising parameters, then you can&amp;#39;t set timeout any higher than 180. Higher advertising timeouts only work on general discovery mode i.e. BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE. In SDK 8.0 there is also a bug in the code, which prevents you to set infinite timeout, therefore, you have to either set the timeout to some high number or restart advertising after timeout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure to stop system off after 3 minutes?</title><link>https://devzone.nordicsemi.com/thread/37038?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2015 18:44:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ae5315-341c-4ca8-bca3-795ea8f8681b</guid><dc:creator>syntroniks</dc:creator><description>&lt;p&gt;I am able to use a timeout of 0 (infinite) on SDK9 with SD8. I used to restart adv on idle event until I was able to set the timeout to 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure to stop system off after 3 minutes?</title><link>https://devzone.nordicsemi.com/thread/37037?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2015 16:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e2221ce-1d43-4177-873f-01ace3e67c78</guid><dc:creator>GT Software</dc:creator><description>&lt;p&gt;I spent a while trying to get this working and only now that I&amp;#39;ve posted the question, other questions have been helpful&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/54502/change-the-advertise-interval/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Setting the define APP_ADV_TIMEOUT_IN_SECONDS to 0 or any number larger than 180 didn&amp;#39;t work for me - rejected by the library call.&lt;/p&gt;
&lt;p&gt;Instead restarting advertising on BLE_ADV_EVT_IDLE looks to be working
(by calling ble_advertising_start(BLE_ADV_MODE_FAST) )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>