<?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>NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31983/nrf52-s132-peripheral-dev-180sec-interval-reboot-on-without-connection</link><description>hello, I check the standard example nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\pca10040\s132\arm5_no_packs device nrf52DK PCA10040 V1.1.1 ARM Compiler : V5.06 update 4 build 422 
 When peripheral device is not connected to the app it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Mar 2018 14:43:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31983/nrf52-s132-peripheral-dev-180sec-interval-reboot-on-without-connection" /><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123976?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 14:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5c105a1-21c5-4795-a652-4333fbe4dd39</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Great. But the problem is that the BLE device should be in sleep most of time, so we must understand why this error/restarts occurred &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;Let&amp;#39;s wait for the Nordic specialist :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123968?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 14:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e92eee6-072e-4b36-88d7-0f009e728117</guid><dc:creator>Oleksii</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void on_adv_evt(ble_adv_evt_t ble_adv_evt)
{
uint32_t err_code;

switch (ble_adv_evt)
{
case BLE_ADV_EVT_FAST:
err_code = bsp_indication_set(BSP_INDICATE_ADVERTISING);
APP_ERROR_CHECK(err_code);
break;
case BLE_ADV_EVT_IDLE:
// sleep_mode_enter();
{
int err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST);
APP_ERROR_CHECK(err_code);
}
break;
default:
break;
}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;
&lt;p&gt;code is correctly executed. no reboot&lt;br /&gt;on event&amp;nbsp; - I exe ble_advertising_start&lt;/p&gt;
&lt;p&gt;for understanding the problem of&lt;br /&gt;I need to better understand documentation. )&lt;/p&gt;
&lt;p&gt;&lt;span&gt;best regards,&amp;nbsp;&lt;/span&gt;&lt;span&gt;Oleksii&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123899?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 12:07:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84132c02-fb51-4dfe-b307-4fa58f3a2416</guid><dc:creator>Oleksii</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void on_adv_evt(ble_adv_evt_t ble_adv_evt)
{
uint32_t err_code;

switch (ble_adv_evt)
{
case BLE_ADV_EVT_FAST:
err_code = bsp_indication_set(BSP_INDICATE_ADVERTISING);
APP_ERROR_CHECK(err_code);
break;
case BLE_ADV_EVT_IDLE:
// sleep_mode_enter();
break;
default:
break;
}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;the idea is partially true. no&amp;nbsp;reboot now&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;but the device is not scanned after 30 seconds by the application&lt;/span&gt;&lt;br /&gt;&lt;span class=""&gt;at #define APP_ADV_TIMEOUT_IN_SECONDS 30&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class="g-unit" id="gt-res-c"&gt;
&lt;div id="gt-res-p"&gt;
&lt;div id="gt-res-data"&gt;
&lt;div id="gt-res-wrap"&gt;
&lt;div id="gt-res-content"&gt;
&lt;div class="trans-verified-button-small" dir="ltr"&gt;
&lt;p&gt;&lt;span&gt;best regards,&amp;nbsp;&lt;/span&gt;&lt;span&gt;Oleksii&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123896?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 11:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:917248be-9937-47a9-a514-98f966b0d49b</guid><dc:creator>Oleksii</dc:creator><description>&lt;p&gt;hello,&amp;nbsp;&lt;span style="font-family:inherit;"&gt;standart example without WDT,&amp;nbsp;I checked.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;span&gt;best regards &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;span&gt;Oleksii&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123895?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 11:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cc44cf1-e6e8-4115-89f2-aaf6c2d5dabf</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;I get the error in function sleep_mode_enter(), that placed in on_adv_evt event handler. But restarting I don&amp;#39;t see. Try to comment the function - let&amp;#39;s see what we get.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123891?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 11:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9e9069d-a0ef-4796-8f8c-e839c763059d</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Hi! Do you have a watchdog running?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123889?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 11:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5a24d15-5389-4e89-bbcf-3bcb696a7422</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Interesting... Let&amp;#39;s see what one of the Nordic specialists will answer...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123887?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 11:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37e9229a-fb78-4c30-8bc1-3114db280211</guid><dc:creator>Oleksii</dc:creator><description>&lt;p&gt;Hello Michael&lt;br /&gt;I think the problem is in configuring the SDK&lt;/p&gt;
&lt;p&gt;uart example nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\main.c`&lt;/p&gt;
&lt;p&gt;change&lt;/p&gt;
&lt;p&gt;#define APP_ADV_TIMEOUT_IN_SECONDS 30 /**&amp;lt; The advertising timeout (in units of seconds). */&lt;br /&gt; &lt;br /&gt; printf(&amp;quot;reset UART Start!\r\n&amp;quot;);&lt;/p&gt;
&lt;p&gt;err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;// Enter main loop.&lt;br /&gt; for (;;)&lt;br /&gt; {&lt;br /&gt; // UNUSED_RETURN_VALUE(NRF_LOG_PROCESS());&lt;br /&gt; // power_manage();&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;main problem - I can not disable this reboot&lt;br /&gt;log&lt;br /&gt;313056 13:12:41.488 30.261 COM9 reset UART Start!.&lt;br /&gt;313057 13:13:11.749 30.261 COM9 reset UART Start!.&lt;br /&gt;313058 13:13:42.010 30.261 COM9 reset UART Start!.&lt;br /&gt;313059 13:14:12.272 30.262 COM9 reset UART Start!.&lt;br /&gt;313060 13:14:42.533 30.261 COM9 reset UART Start!.&lt;br /&gt;313061 13:15:12.793 30.260 COM9 reset UART Start!.&lt;br /&gt;313062 13:15:43.057 30.264 COM9 reset UART Start!.&lt;br /&gt;313063 13:16:13.317 30.260 COM9 reset UART Start!.&lt;br /&gt;313064 13:16:43.578 30.261 COM9 reset UART Start!.&lt;br /&gt;313065 13:17:13.839 30.261 COM9 reset UART Start!.&lt;br /&gt;313066 13:17:44.101 30.262 COM9 reset UART Start!.&lt;br /&gt;313067 13:18:14.362 30.261 COM9 reset UART Start!.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52, S132, peripheral dev ~180sec interval reboot on without connection</title><link>https://devzone.nordicsemi.com/thread/123880?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 10:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:445397b2-7c77-4c23-a18c-1578ac172356</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Hello! Are you sure that the device is not entering into the deep sleep? In this case, on GPIO event it reboots and starts from the beginning :) Check all functions that called like &amp;quot;power_manager, __WFE, __WFI and etc.&amp;quot; :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>