<?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>Do not reconnect to the application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21398/do-not-reconnect-to-the-application</link><description>hello,
Please let me know why the BLE_GAP_EVT_DISCONNECTED event does not occur even when I exit the application.
It does not always occur when BT smart setting is enabled.
However, if disabled, the BLE_GAP_EVT_DISCONNECTED event will fire.
This is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Apr 2017 07:00:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21398/do-not-reconnect-to-the-application" /><item><title>RE: Do not reconnect to the application</title><link>https://devzone.nordicsemi.com/thread/83856?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 07:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6322865d-c197-49d8-89f2-780a02713131</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You didn&amp;#39;t answer the first question:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;What, exactly, do you mean by &amp;quot;exit the application&amp;quot; ?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Have you examined the Android HCI &amp;quot;snoop&amp;quot; log to see what&amp;#39;s happening?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://www.fte.com/WebHelp/BPA600/Content/Documentation/WhitePapers/BPA600/Encryption/GettingAndroidLinkKey/RetrievingHCIlog.htm"&gt;www.fte.com/.../RetrievingHCIlog.htm&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="https://blog.bluetooth.com/debugging-bluetooth-with-an-android-app"&gt;blog.bluetooth.com/debugging-bluetooth-with-an-android-app&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://www.argenox.com/bluetooth-low-energy-ble-v4-0-development/library/ultimate-guide-to-debugging-bluetooth-smart-ble-products/"&gt;www.argenox.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do not reconnect to the application</title><link>https://devzone.nordicsemi.com/thread/83855?ContentTypeID=1</link><pubDate>Tue, 18 Apr 2017 23:34:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f0117a5-81d1-4857-919c-18836cd59059</guid><dc:creator>sfujimoto</dc:creator><description>&lt;p&gt;Yes, the BLE_GAP_EVT_DISCONNECTED event will not be issued.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do not reconnect to the application</title><link>https://devzone.nordicsemi.com/thread/83854?ContentTypeID=1</link><pubDate>Tue, 18 Apr 2017 15:52:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:582a1991-b775-4b9b-beca-75042596de5f</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Do you mean BLE_GAP_EVT_&lt;strong&gt;DIS&lt;/strong&gt;CONNECTED?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do not reconnect to the application</title><link>https://devzone.nordicsemi.com/thread/83858?ContentTypeID=1</link><pubDate>Sun, 16 Apr 2017 23:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a08b748c-629d-411f-80ce-0afe34703cd1</guid><dc:creator>sfujimoto</dc:creator><description>&lt;p&gt;Excuse me.
The application is made by another company. However, there is a track record at nrf 51.
There was no problem with nrf 51.
It seems to be caused by porting to nrf 52.
thank you,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Do not reconnect to the application</title><link>https://devzone.nordicsemi.com/thread/83857?ContentTypeID=1</link><pubDate>Sun, 16 Apr 2017 13:46:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd35789-d25d-47b8-90e3-5e5e6eabe26e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;What app?&lt;/p&gt;
&lt;p&gt;What, exactly, do you mean by &amp;quot;exit the application&amp;quot; ?
You realise that just swiping an Android app off the screen does not necessarily &amp;quot;close&amp;quot; it?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.android.com/guide/components/activities/process-lifecycle.html"&gt;developer.android.com/.../process-lifecycle.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In particular, note:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;An unusual and fundamental feature of Android is that an application process&amp;#39;s lifetime is not directly controlled by the application itself. Instead, it is determined by the system through a combination of the parts of the application that the system knows are running, how important these things are to the user, and how much overall memory is available in the system&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>