<?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>Disconnection problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112522/disconnection-problem</link><description>After the power failure of the host, the master and slave are disconnected. 
 What is the slave still doing at this time?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jun 2024 05:10:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112522/disconnection-problem" /><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491210?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 05:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca23d029-763a-49b4-aeb7-2dcad71de992</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The BLE_ADV_EVT_IDLE even is raised on advertising timeout. Do you want the device to power off after a certain period of inactivity (i.e. no connections attempts), or do you want the device to keep advertising forever?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491195?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 00:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b1da7b9-8d06-4d08-ae97-519e7ff3d240</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I only called it at this location.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1719534003535v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491042?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b7cbe18-b208-4cbc-85a7-ee2789b6eba9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The error is returned because you are trying to enter System OFF mode while in debug interface mode (see&amp;nbsp;&lt;a id="miniTOC-ariaid-title11" class="link  css-17jwxa8" href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/power.html#ariaid-title11"&gt;Emulated System OFF mode&lt;/a&gt;). Do you want the chip to power down after a disconnect? If not, you need to check where sleep_mode_enter() is being called in your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491037?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7f5feeb-dde6-44b1-9246-6f40420ea56c</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It shows that I have a problem here.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1719478104984v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1719478219665v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Why did my piece of code have that effect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491032?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:838d8900-6efa-428b-89e0-698890fad6b1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I assumed you were using Segger embedded studio. For Keil, you can add the DEBUG flag to the list of pre-processor symbols.&lt;/p&gt;
&lt;p&gt;&lt;img alt="My device is freezing and restarting - Nordic Q&amp;amp;A - Nordic DevZone - Nordic  DevZone" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/optimization0_2B00_debug.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491030?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6605404b-c5ca-4f05-a3f3-b4c3c95edd92</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;How to&amp;nbsp;&lt;span&gt;&amp;nbsp;build&amp;nbsp;my project with the &amp;quot;debug&amp;quot;&amp;nbsp;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have selected debug in the follwing image.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1719477455193v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491025?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f5d37e5-37be-4218-adf6-42528d423cbf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please try to build your project with the &amp;quot;debug&amp;quot; build configuration instead &amp;quot;release&amp;quot;. This will replace the &amp;quot;Fatal error&amp;quot; message with information about where the error raised.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491022?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:327964ac-c37f-4891-97d6-5838c439b5a1</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry.&amp;nbsp;Let me rephrase my question.&lt;/p&gt;
&lt;p&gt;When I add the following code and then disconnect the power supply from the central&amp;nbsp;and continue the power supply from the peripheral, a fatal error is reported.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void BTN_Init(void)
{
		nrf_gpio_cfg_input(BUTTON_1,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_2,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_3,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_4,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_5,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_6,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_7,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_8,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_9,NRF_GPIO_PIN_PULLUP);
		nrf_gpio_cfg_input(BUTTON_10,NRF_GPIO_PIN_PULLUP);	
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Disconnected, reason: 0x8
00&amp;gt; 
00&amp;gt; &amp;lt;info&amp;gt; app: Connection timeout.
00&amp;gt; 
00&amp;gt; &amp;lt;error&amp;gt; app: Fatal error&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you do not add this code, the result of the run will not be &amp;quot;Fatal error&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection problem</title><link>https://devzone.nordicsemi.com/thread/491006?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 07:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34f012f0-aa9f-4024-9028-f065e264929b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please describe your setup. What is the host, master, and slave in this context? Also, are you using Bluetooth?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>