<?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>Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1111/proximity-application-is-not-working-in-android-smart-phone</link><description>Hi,
How can i test the proximity application with the use of nexus4 smart phone and nrf51822 evaluation board?
We already tested the ios proximity application which are all working fine. When we try to test the android application we are facing lot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Mar 2014 15:50:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1111/proximity-application-is-not-working-in-android-smart-phone" /><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5225?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2014 15:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30b8b0ff-4c55-4471-a1ac-7846a2db4109</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Balaji: Did you make sure you didn&amp;#39;t have any other app running when testing ? An app with autoConnect flag set on will try to reconnect if the link is lost.&lt;/p&gt;
&lt;p&gt;My test on Nexus 7 Android 4.4.2 did not show the same behaviour. The device wasn&amp;#39;t not connected automatically even it&amp;#39;s in the paired list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5224?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2014 06:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6aed0c9-b391-4cd2-b794-b91818136afc</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;I tried to avoid pairing after modifying the device code by changing the security requirements (BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM to BLE_GAP_CONN_SEC_MODE_SET_OPEN)it was working fine(no pairing) and tested the proximity application . Then i paired the device manually from the Bluetooth settings, again tested the proximity application. Now even i unpair the device manually from the nexus 4, it  starts pairing automatically when the device comes in the range.
How to stop auto pairing, after i unpair the device manually?
cannot able understand what is happening. I just need to avoid pairing always.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5223?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 15:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a10cfb7-dba2-40e7-98fb-fbe50a87d0c2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Balaji,&lt;/p&gt;
&lt;p&gt;If you have a Nexus 4 or Nexus 7 device, it&amp;#39;s most likely the issue with the GATT Server. If the server exist , the phone will not be able to reconnect after link loss. We don&amp;#39;t know what caused the issue, it&amp;#39;s pretty much similar to the issue we got before with bonding/pairing. The phone didn&amp;#39;t send any connection request after link loss even when the device is advertising in range.&lt;/p&gt;
&lt;p&gt;Hopefully a new update on Android would help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5222?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 12:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4c29392-6885-418b-b40b-d892f6c35b30</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;@Hung Bui: After factory reset the device can able connect without any error, after disconnecting the device manually. But after linkloss it cannot able to connect automatically, when it tries to connect after linkloss it&amp;#39;s giving error on writing characteristics (133). So what is the issue now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5221?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2013 16:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e581d6e-1923-4049-bd91-86e20f974456</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Balaji: I managed to run your hex file (it was my hardware issue before) but still not able to reproduce the issue. You may consider doing a factory reset on the phone to see if it helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5220?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2013 15:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e95b7e12-0bc7-4492-be2b-067b65c7a118</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;I am using Evaluation kit with the latest softdevice (6.0.0-5).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5219?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2013 14:46:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4717bfd-c0df-4497-9dd3-bc8f43b17353</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Balaji: We have exactly the same ROM built, but haven&amp;#39;t got the same issue, especially when testing with Master Control Panel.
Currently there is an issue with nRFToolbox and proximity profile is that, the nrfToolbox implemented server on the phone, and it still cause error when reconnecting.&lt;/p&gt;
&lt;p&gt;Could you try other example ? such as the Heart rate measurement example?&lt;/p&gt;
&lt;p&gt;Also I tried to program your hex file on the development kit but it didn&amp;#39;t advertise anything, maybe there is some dependency ? Which softdevice you used ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5218?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2013 09:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfbed3e5-6f00-4c03-b27d-640cc9d1b321</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;@Hung Bui: After disabling wifi, the application works fine for the first time. Disconnecting and reconnecting the device gives the error as same as i mentioned above. Reset and unpair requires both the side to connect again.
I attached the screen shot of my nexus device information, and the firmware on my evaluation kit please check it and give your suggestion.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/NexusAboutDevice.png" alt="NexusAboutDevice.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_proximity.hex"&gt;ble_app_proximity.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5217?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2013 08:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9e988be-3526-4cd9-a340-1e7a663569b7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Balaji: It seems that the Nexus 4 had trouble when discovering the services. Have you tried disable wifi when connecting ? A reset on the phone is also worth to try.
Could you let me know your Baseband version, Kernel version and Buildnumber in the &amp;quot;About Device&amp;quot; list ?
Please send your firmware on the EV kit as well.&lt;/p&gt;
&lt;p&gt;@Paul: We had issues with Nexus 4 and Nexus 7 before, especially when bonding is performed. However, after the update recently to Android 4.4.2, we found that the problem of re-connect after bonding was disappeared and also was able to un-pair. We was able to test only with our Nexus device samples that we have in house here, this may not true with other Nexus devices that may have different ROM built.&lt;/p&gt;
&lt;p&gt;The Samsung devices that run Android 4.3 seems to be most stable and bug free at this moment.
However, there are some new features added in Android 4.4 these devices missing, such as HID over GATT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5216?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2013 18:36:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f485a36c-09ac-4053-aa42-0a47e86e0aab</guid><dc:creator>Paul Yip</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I get the following from the website you provided:&lt;/p&gt;
&lt;p&gt;[i]Note:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Supported on Android version 4.3 or later.&lt;/li&gt;
&lt;li&gt;Tested on Nexus 4, Nexus 7, Samsung S4 with Android 4.3 and on Nexus 4, Nexus 5, Nexus 7 with Android 4.4.&lt;/li&gt;
&lt;li&gt;Compatible with nRF51822 devices that have S110 v5.2.1 and the bootloader from nRF51 SDK v4.4.1+&lt;/li&gt;
&lt;li&gt;nRF51822 Development kits can be ordered from &lt;a href="http://www.nordicsemi.com/eng/Buy-Online"&gt;www.nordicsemi.com/.../Buy-Online&lt;/a&gt; .&lt;/li&gt;
&lt;li&gt;The nRF51 SDK and S110 SoftDevice are available online from &lt;a href="http://www.nordicsemi.com"&gt;http://www.nordicsemi.com&lt;/a&gt; for developers who have purchased an nRF51822 product.&lt;/li&gt;
&lt;li&gt;The source code of nRF Toolbox is available on &lt;a href="http://www.nordicsemi.com"&gt;http://www.nordicsemi.com&lt;/a&gt; and can be downloaded if you have purchased nRF 8001, nRF 51822 development kit or evaluation kit.
Known problems:&lt;/li&gt;
&lt;li&gt;Nexus 4 and Nexus 7 with Android 4.3 does not allow to unbound devices.&lt;/li&gt;
&lt;li&gt;Reconnection to bondable devices may not work on several tested phones.&lt;/li&gt;
&lt;li&gt;Nexus 4, 5 and 7 with Android 4.4 fails when reconnecting when Gatt Server is running.&lt;/li&gt;
&lt;li&gt;Reset of Bluetooth adapter may be required if other error appear.[/i]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It looks like there are many connection problem on nexus devices.  Does it mean Samsung S4 with Android 4.3 is the most stable device for nordic 51822 or 8100 chips for the proximity function at the moment?  Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5215?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2013 07:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7652e7f-8ec2-48e5-bf1c-5562d9d3beee</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Hung Bui,
Here, i attached the log file from the nRF master control panel, this app is not at all connecting with the device. And also i attached the log file taken with the use of eclipse IDE for nRF Toolbox application.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Log-2013_2D00_12_2D00_17-12_5F00_05.txt"&gt;Log 2013-12-17 12_05.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Eclipse_5F00_nRFToolbox.txt"&gt;Eclipse_nRFToolbox.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5214?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2013 16:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51243378-cead-4398-82ff-a03e8eb15dc8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Balaji: Could you test with the Master Control Panel Android app ? You can find it on Google play as well.
You can first start with the Heart Rate Measurement example and let me know at which part you have the error and upload the log file if possible:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Scan for device&lt;/li&gt;
&lt;li&gt;Select and connect to the heart rate measurement slave&lt;/li&gt;
&lt;li&gt;Read characteristics values&lt;/li&gt;
&lt;li&gt;Enable notification, on battery and HRM&lt;/li&gt;
&lt;li&gt;Disconnect and reconnect&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If it works with HRM example, you can move to Proximity example to test.&lt;/p&gt;
&lt;p&gt;On our device here the Master Control Panel works fine. There is some issue with the server on the phone with the Toolbox-Proximity app, but you should still be able to connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5213?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2013 15:31:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c85d23cd-bd3b-404d-9cc9-3dd5f89ed167</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;I installed the application from google play only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5212?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2013 14:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb138dc1-1079-4a29-bd75-dd503a4a8f44</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you try installing the app from Google Play?&lt;/p&gt;
&lt;p&gt;Can be found &lt;a href="https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrftoolbox&amp;amp;hl=no"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5211?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2013 15:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d13a37-ee0d-4013-9412-9139ffb0451f</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Thanks for the reply,
Now i updated my mobile to android 4.4.2, but still the same issue is there. It is not at all establishing the connection atleast for the first time. What can i do now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity application is not working in android smart phone</title><link>https://devzone.nordicsemi.com/thread/5210?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2013 11:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e07f6e-3371-4b3c-ae1c-2c1ff5e71439</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Balaji,&lt;/p&gt;
&lt;p&gt;Have you updated your Nexus 4 to Android 4.4.2? The update to 4.4.2 (or 4.4.1) from 4.4 will solve the issue with bonding and therefore helps the proximity profile work properly.&lt;/p&gt;
&lt;p&gt;You can wait for over the air update for your device, or can follow this instruction  to update it manually. Note that the official update might be different.&lt;/p&gt;
&lt;p&gt;You might have problem installing the driver for the Nexus 4 when in recovery mode, you can follow this instruction to add the driver manually:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Go to Device manager, select your device and select Update Driver Software -&amp;gt; Browse… -&amp;gt; Let me pick manually from a list… -&amp;gt; Select Android Device and Android Composite ADB Interface from Google&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>