<?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>Bypass device reset after BLE timeout when in debug mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54197/bypass-device-reset-after-ble-timeout-when-in-debug-mode</link><description>Is there a way to bypass the device reset happening when BLE times out if the device is in debug mode (or RTT terminal)? I&amp;#39;m referring to the reset talked about in this thread . 
 I&amp;#39;m using SDK v15.3.0 to program an nRF52832.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2019 14:18:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54197/bypass-device-reset-after-ble-timeout-when-in-debug-mode" /><item><title>RE: Bypass device reset after BLE timeout when in debug mode</title><link>https://devzone.nordicsemi.com/thread/219705?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 14:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ebe2b70-33e9-4c4d-82ec-f48562fdf76d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;OK, I see. Do you have the same timeout at around 180 seconds as the thread you linked to? If so, what is your &lt;em&gt;APP_ADV_DURATION&lt;/em&gt; set to? If the advertisement times out, it will go to system off.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;You could configure the &lt;em&gt;APP_ADV_DURATION&lt;/em&gt; to 0, then in the function where &lt;em&gt;APP_ADV_DURATION&lt;/em&gt; is used e.g. &lt;em&gt;advertising_start()&lt;/em&gt;, set the adv_flag to&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;em&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;Let me know how that works for you!&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bypass device reset after BLE timeout when in debug mode</title><link>https://devzone.nordicsemi.com/thread/219672?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 13:19:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:278ff20a-c752-46a3-b0bc-8ef24490e2ef</guid><dc:creator>Kenan</dc:creator><description>&lt;p&gt;In my code. One use cases of our device requires viewing sensor readings on a PC (reported using RTT) and at the same time being connected to a tablet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bypass device reset after BLE timeout when in debug mode</title><link>https://devzone.nordicsemi.com/thread/219656?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 12:34:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5a93665-8aa4-4816-9392-115250e1a84c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My apologies for the late reply. Are you&amp;nbsp;seeing this issue in your code or are you just asking beforehand?&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>