<?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>Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27068/reconnecting-problem-in-android</link><description>I am trying to connect my android mobile with nRF52DK. At the first moment it gets connected and then I am able to access service and characteristics but once it gets disconnected it is not getting connected. I need to restart my moblie phone and then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Dec 2017 00:50:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27068/reconnecting-problem-in-android" /><item><title>RE: Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/thread/106405?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 00:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a92dd03-6945-4127-b6af-25de8987d2e3</guid><dc:creator>nar0909</dc:creator><description>&lt;p&gt;Hi Swapnil,
I have had the same experience while I was developing my BLE-Android App.
Im sure some of the below things will help you fix it.&lt;/p&gt;
&lt;p&gt;1.After connecting your Android App to BLE device, and when you disconnect your device and try to reconnect back to it immediately, the android is not that quick to figure out you have previously disconnected and attempting to reconnect back to it. So make sure atlas wait for 10-20sec to discover your device again.&lt;/p&gt;
&lt;p&gt;2.Clear the app cache in your settings and also clear any data if needed.&lt;/p&gt;
&lt;p&gt;3.I have tested on Samsung S5,Nexux,Huawei,Alcatel. Each device has a different connection issue, The most stable was the Huawei with Android version 5.0!. The devices above 5.0 still connects but has a few complications.&lt;/p&gt;
&lt;p&gt;Let me know if any of these work?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/thread/106400?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2017 13:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd94a49b-080d-4f4c-8270-dd24f4922336</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;I would guess that there&amp;#39;s some flaw(s) in your app that are not correctly handling the &amp;quot;unexpected&amp;quot; disconnect, and leave the mobile&amp;#39;s BT in some &amp;quot;unhappy&amp;quot; state - which needs a restart to sort out.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s also possible that there are issue(s) in your embedded device causing the unexpected disconnects.&lt;/p&gt;
&lt;p&gt;For debugging Bluetooth issues, see&lt;/p&gt;
&lt;ul&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;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.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;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/thread/106399?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2017 09:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:740384e9-bb7e-4828-82e6-1f3ae8a28c04</guid><dc:creator>Swapnil</dc:creator><description>&lt;p&gt;Now currently I am not facing that problem with connecting with my mobile, its connecting now.
Previously when I was connecting and performing configuration via bluetooth using android app, I was having problem when I was sending long hex values for configuration and it used to get disconnect and then was never able to connect untill I restart my moblile. But this was not happening when I was using 16 bit hex values.
But now this is not the problem, somehow currently I am not facing it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/thread/106404?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 13:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c2d2363-11f1-485c-87df-ba6d3bb9ed13</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Swapnil,&lt;/p&gt;
&lt;p&gt;Which firmware are you running on the nRF52 ? Do you do bonding ?
If you test with an example in the SDK, such as ble_app_hrs do you have the same problem ? Which softdevice are you using ?&lt;/p&gt;
&lt;p&gt;When you saw &amp;quot;it is not getting connected&amp;quot; what happened on the screen ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/thread/106403?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 12:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:410f97ef-d2ea-4dd5-9580-a4144f3aea10</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;and from a  &lt;strong&gt;&lt;em&gt;different&lt;/em&gt;&lt;/strong&gt; Android device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/thread/106402?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 12:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b50483c5-5459-4fca-8551-92f5307cc355</guid><dc:creator>Swapnil</dc:creator><description>&lt;p&gt;I am using nRF Connect app.
Yes after disconnecting from android I am able to connect with iOS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting problem in Android</title><link>https://devzone.nordicsemi.com/thread/106401?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 09:28:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae5f1c6e-42c7-4666-8b7e-b471b7b93064</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;What app are you using on Android ?&lt;/p&gt;
&lt;p&gt;What happens if you use one of the Nordic Apps?&lt;/p&gt;
&lt;p&gt;If you&amp;#39;ve connected once using Android, then disconnected, can your iOS then connect? Or a &lt;strong&gt;&lt;em&gt;different&lt;/em&gt;&lt;/strong&gt; Android device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>