<?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>BLE is not advertising after goes to sleep mode?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50499/ble-is-not-advertising-after-goes-to-sleep-mode</link><description>Hi, 
 I am using nRF5_SDK_15.3.0 with ble_app_uart example.When I flashed the ble_app_uart example into my nRF52840 DK it starts to advertising. If there is no connection occurs it goes to sleep mode after 3 minute. So advertising also stopped. I want</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Aug 2019 10:12:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50499/ble-is-not-advertising-after-goes-to-sleep-mode" /><item><title>RE: BLE is not advertising after goes to sleep mode?</title><link>https://devzone.nordicsemi.com/thread/201803?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 10:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1e74cc4-4120-4c44-ad80-50f5fa60b8b5</guid><dc:creator>Eisenheim</dc:creator><description>&lt;p&gt;Oh Sorry it&amp;#39;s my mistake I mean 3 minute. Thanks for your suggestions.. By pressing&amp;nbsp;Button 1,2, 3 or 4&amp;nbsp; it starts to advertise again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE is not advertising after goes to sleep mode?</title><link>https://devzone.nordicsemi.com/thread/201793?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 09:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b41597af-80a7-4c83-8d1c-c2d497f0ce16</guid><dc:creator>awneil</dc:creator><description>[quote userid="81553" url="~/f/nordic-q-a/50499/ble-is-not-advertising-after-goes-to-sleep-mode"]it goes to sleep mode after 3 seconds[/quote]
&lt;p&gt;You mean 3 minutes.&lt;/p&gt;
&lt;p&gt;That is the documented behaviour!&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;11.&amp;nbsp;If no peer connects to the application within 180 seconds (APP_ADV_TIMEOUT_IN_SECONDS), the application will put the chip into system-off mode&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_nus_eval.html?cp=5_1_4_2_2_24_2#project_uart_nus_eval_test"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_nus_eval.html?cp=5_1_4_2_2_24_2#project_uart_nus_eval_test&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;180 seconds = 3 minutes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you look at the code, you will see that an advertising timeout is specified and, when the timeout event occurs, the device is put to sleep.&lt;/p&gt;
&lt;p&gt;So you have 2 choices:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Don&amp;#39;t have a timeout&lt;/li&gt;
&lt;li&gt;Don&amp;#39;t go sleep when the timeout happens - restart the advertising.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>