<?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>Gatt client leaks in Android BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45969/gatt-client-leaks-in-android-ble</link><description>I&amp;#39;m developing an application for Android that connects to my nRF52832-based product. I&amp;#39;m using the Nordic Android-BLE-Library. I don&amp;#39;t believe this issue has as much to do with the Nordic chip specifically as Android BLE in general. 
 Has anyone else</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 14:30:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45969/gatt-client-leaks-in-android-ble" /><item><title>RE: Gatt client leaks in Android BLE</title><link>https://devzone.nordicsemi.com/thread/181668?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d93121c-f665-4dab-ac2a-48c7e0167bae</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have seen at least one report of something similar, where Android would complain if you disconnected 32 times without explicitly calling disconnect() in the Android app (like if the peripheral device disconnects, or there is a link loss).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to use the log output and count the number of calls to gattConnect() ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the difference between calls to gattConnect() and calls to disconnect() is 32, and the issue occurs, it is most likely the same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>