<?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>nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23477/nrf52832-connection-problem-with-some-android-device</link><description>Hi,
I&amp;#39;m using nRF52832 with sdk 13.0.0(softdevice 4.0.2).
I had trouble to connect nRF52 and some android 7.0(or upper version) smart device.
I tested samsung galaxy tap 10.1 A6 (android 7.0) and LG V20(android 7.0).
When I connect by nRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jul 2017 07:50:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23477/nrf52832-connection-problem-with-some-android-device" /><item><title>RE: nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/thread/92218?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 07:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2808747-47eb-40e5-8b9e-4903f6e25098</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Youngjun,&lt;/p&gt;
&lt;p&gt;gatt_init() is a new function we included in SDK v13 to enable Bluetooth 4.2 features (long MTU). Some phone doesn&amp;#39;t support this and disconnect when receive the request. There is no problem remove gatt_init().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/thread/92214?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 00:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e39dcac7-00d0-4cb4-9319-e41a38023623</guid><dc:creator>Youngjun</dc:creator><description>&lt;p&gt;When i comment gatt_init() in main, LG V20 android device can discover service.
Sometimes, I got Error 133 and disconnected.
But, gallaxy tap A 10.1 was same as above problem.
Is there any problem commenting gatt_init() function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/thread/92219?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 07:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d0d8a8-440d-4bb2-8422-03324840987a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Are you sure it&amp;#39;s reason 42 = 0x2A = BLE_HCI_DIFFERENT_TRANSACTION_COLLISION ?
It&amp;#39;s a pretty strange disconnection reason, I haven&amp;#39;t seen it before. Maybe you want to add a break point in BLE_GAP_EVT_DISCONNECTED event  and check ?&lt;/p&gt;
&lt;p&gt;You also may want to have a look at this &lt;a href="https://devzone.nordicsemi.com/question/136600/can-not-connect-to-devices-with-sdk-13-from-android-444/?answer=137571#post-id-137571"&gt;case&lt;/a&gt; and this similar &lt;a href="https://devzone.nordicsemi.com/question/158479/unable-to-connect-to-nrf52832-with-old-phones/"&gt;case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Not sure if it&amp;#39;s the same issue, if you can capture a sniffer trace, it would be clearer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/thread/92215?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 03:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef6408d6-c10e-46ec-a4b1-180244b34fea</guid><dc:creator>Youngjun</dc:creator><description>&lt;p&gt;I checked that the brakepoint is working at BLE_GAP_EVT_CONNETED and  BLE_GAP_EVT_DISCONNECTED.
And, nRF52 connected with V20 in nRF52 debugging mode.
But, a few seconds after, nRF52 disconnected automatically.
the log was &amp;quot;Disconnected, reason 42&amp;quot;.
Thanks.Thanks, Regards Youngjun.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/thread/92216?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 10:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:886bd317-972e-4299-a2be-aaf12c39fccb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It would be useful to have &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;a sniffer trace&lt;/a&gt; to see what happens over the air.&lt;/p&gt;
&lt;p&gt;Could you check if there is any assertion on the nRF52?&lt;/p&gt;
&lt;p&gt;Could you check in on_ble_evt() if the BLE_GAP_EVT_CONNECTED event occurred ? and then BLE_GAP_EVT_DISCONNECTED event happens after that ? If there is BLE_GAP_EVT_DISCONNECTED, which disconnected reason (check the p_ble_evt) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/thread/92217?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 00:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0208dbd2-f4e5-4ee4-a9af-039d1f9cd1ab</guid><dc:creator>Youngjun</dc:creator><description>&lt;p&gt;Hi Hung Bui.
Thank you for your reply.
I received error message when i pressed connect button.
My log is like below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Connected to FF:51:1C:9B:90:68&lt;/li&gt;
&lt;li&gt;Error 8 (0x8): GATT CONN TIMEOUT&lt;/li&gt;
&lt;li&gt;Disconnected
　
I use ble_app_hrs example and sdk13.0.0 s132.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks,
Regards
Youngjun.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 connection problem with some android device</title><link>https://devzone.nordicsemi.com/thread/92220?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 13:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd45c39-a783-4896-8b12-15da5a8bb69e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Yongjun,&lt;/p&gt;
&lt;p&gt;When you receive &amp;quot;Error (0x8) GATT CONN TIMEOUT&amp;quot;  it&amp;#39;s right after you clicked &amp;quot;Connect&amp;quot; button ? Meaning the connection actually wasn&amp;#39;t established ? Or that error arrived after you connect for a while ?&lt;/p&gt;
&lt;p&gt;Which firmware did you use ? Could you try with ble_app_hrs for example  ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>