<?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>in android BLE,i use mGatt.disconnect &amp;amp;mGatt.close() can&amp;#39;t disconnect with nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13590/in-android-ble-i-use-mgatt-disconnect-mgatt-close-can-t-disconnect-with-nrf51822</link><description>in my apk code ,I use 
 try {
 mGatt.disconnect(); 
 
 LogUtil.e(TAG, &amp;quot;+++++++ mGatt is disconnect suc&amp;quot;);
 } catch (Exception e) {

 LogUtil.e(TAG, &amp;quot;+++++++ mGatt is disconnect fail&amp;quot;);
 }
 
 mGatt.close();
 mGatt = null;
 
 sometimes my apk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 May 2016 08:17:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13590/in-android-ble-i-use-mgatt-disconnect-mgatt-close-can-t-disconnect-with-nrf51822" /><item><title>RE: in android BLE,i use mGatt.disconnect &amp;mGatt.close() can't disconnect with nrf51822</title><link>https://devzone.nordicsemi.com/thread/51838?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 08:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:892e130a-2caf-4899-8772-30a31e1fff13</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;So what does the exception say?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>