<?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>Program will restart after reaching APP_ADV_TIMEOUT_IN_SECONDS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24670/program-will-restart-after-reaching-app_adv_timeout_in_seconds</link><description>Based on &amp;#39;ble_app_template&amp;#39; in nRF5_SDK_12.2.0 (S132), I develop a program with nRF52832. 
 The problem is that the program will restart after reaching APP_ADV_TIMEOUT_IN_SECONDS (instead of going to sleep). All the other fuctions work well. 
 Resources</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Aug 2017 11:53:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24670/program-will-restart-after-reaching-app_adv_timeout_in_seconds" /><item><title>RE: Program will restart after reaching APP_ADV_TIMEOUT_IN_SECONDS</title><link>https://devzone.nordicsemi.com/thread/97097?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 11:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b98a7979-c419-47cb-95b9-39aba9cb8b6c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Is this solved?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program will restart after reaching APP_ADV_TIMEOUT_IN_SECONDS</title><link>https://devzone.nordicsemi.com/thread/97098?ContentTypeID=1</link><pubDate>Sat, 26 Aug 2017 13:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f967d76-b491-425b-b36e-013b7a51b5e9</guid><dc:creator>littlebei</dc:creator><description>&lt;p&gt;Thanks a lot. It seems there is a fatal error before the system going to sleep.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program will restart after reaching APP_ADV_TIMEOUT_IN_SECONDS</title><link>https://devzone.nordicsemi.com/thread/97096?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 13:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72fea65-9792-49b7-a757-37b95b82a5d9</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Are you invoking the procedure sleep_mode_enter() in on_adv_evt()? The comment inside sleep_mode_enter() mentions something about system reset so you may not want to invoke this procedure; how about calling ble_advertising_start() again when the advertising times out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>