<?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>Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16428/error-8-0x8-gatt-conn-timeout-on-android</link><description>NRF51422 Custom board 
 SD310 v3.0 
 Phone: LG K8 4G 
 Android 6.0 
 SDK 9.0.0 Boot-loader example 
 I am testing over the air DFU with our custom device. 
 a.) DFU using NRF Toolbox on IPhone works fine. 
 b.) DFU using MCP\NRF51 dongle works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Dec 2021 06:37:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16428/error-8-0x8-gatt-conn-timeout-on-android" /><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/342813?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 06:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6fd86a1-8576-4b81-8e09-fb2b4121211c</guid><dc:creator>daneilzhang</dc:creator><description>&lt;p&gt;先断开系统的蓝牙连接&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/200640?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 06:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21a4134a-13fe-405c-8a1c-325545316d11</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/20190726_5F00_145703.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/200638?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 05:59:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015a168c-6548-4ade-a720-2657420d8e4a</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;Hi I am currently working on the same TIMEOUT error during the same DFU progress. In the meantime, I posted a question on the Dev zone and found this post while waiting for a reply.&lt;br /&gt;As I mentioned above, I changed the interval as shown in the picture below, but still the TIMEOUT error occurred and DFU did not succeed.&lt;br /&gt;Could you help me with this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62857?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 10:14:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee953368-ac33-475e-821f-27c9a1188555</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, you can use PCA10028 and PCA10031.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62856?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 09:30:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a79b3a0-3c2f-4613-a299-e303e11b37e8</guid><dc:creator>why_do_i_need_a_user_name</dc:creator><description>&lt;p&gt;Is nrfSniffer compatible with either PCA10031 or PCA10028?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a nRF51822 Development kit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62855?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 09:24:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:492fef89-cf23-410e-a95d-a75497093262</guid><dc:creator>why_do_i_need_a_user_name</dc:creator><description>&lt;p&gt;I have now tested the example boot-loader from SK9 running on a PCA10028 against the LG Android phone.&lt;/p&gt;
&lt;p&gt;The DFU fails with &amp;quot;GATT ERROR&amp;quot; reported on the phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62858?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 07:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bea2b454-defc-4476-807c-df02ce9a6f74</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s normal that increasing the preferred connection parameter will make DFU process slower and this will affect all other master devices.&lt;/p&gt;
&lt;p&gt;I would need 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; recording (with the original connection parameter) to see what exactly caused the problem.&lt;/p&gt;
&lt;p&gt;I was suspecting that there is a buffer overflow here because the connection was too short, but normally it should be OK with 15ms interval.&lt;/p&gt;
&lt;p&gt;I assume you have the same problem when testing with the original bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62854?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 18:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05f96c8a-7b1c-469b-a35c-33e01dd80b2f</guid><dc:creator>why_do_i_need_a_user_name</dc:creator><description>&lt;p&gt;Do you suggest we keep the new settings?&lt;/p&gt;
&lt;p&gt;Could the new settings adversely effect Android phones that currently work ok with this bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62853?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 18:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3ad5dee-a9e8-426d-875f-280fce3040f6</guid><dc:creator>why_do_i_need_a_user_name</dc:creator><description>&lt;p&gt;I changed the bootloader from&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS))
#define MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(30, UNIT_1_25_MS))&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(30, UNIT_1_25_MS))
#define MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(60, UNIT_1_25_MS))&lt;/p&gt;
&lt;p&gt;at your suggestion.&lt;/p&gt;
&lt;p&gt;The DFU was then a success but very slow, compared to IPhone, at over 5 minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62852?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 11:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4709628b-c2e4-4365-8d84-a322c9c65cd4</guid><dc:creator>why_do_i_need_a_user_name</dc:creator><description>&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Could you clarify this: nRFConnect on Android can connect with our device but loses the connection
after about 6 seconds&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;We are testing our bootloader with Android.&lt;/p&gt;
&lt;p&gt;When I got the Android error message I thought if I used nRFConnect/nRFLogger I could collect detailed logs to help you diagnose the problem. The failed DFU is the problem we wish to resolve.&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Was your device running bootloader firmware or your application ?
Our device is running the dual bank bootloader example (with tiny modifications)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Did you start doing DFU before you get the GATT CONN TIMEOUT ?
Yes, we select our device, start the UPLOAD, the upload begins then we get GATT CONN TIMEOUT&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Have you tried to test with other Android phone ?
Our customers have had success with other Android phones.
I do not have access to other phone models at the moment.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;I will make the changes to the bootloader that you have suggested and report back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 8 (0x8) GATT CONN TIMEOUT On Android</title><link>https://devzone.nordicsemi.com/thread/62851?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 10:33:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33992a75-3b3a-4738-8572-cd98f09e6666</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you clarify this: &lt;em&gt;nRFConnect on Android can connect with our device but loses the connection after about 6 seconds&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Was your device running bootloader firmware or your application ? Did you start doing DFU before you get the GATT CONN TIMEOUT ? Or simply connecting and let it be for 6 seconds and the timeout happened ?&lt;/p&gt;
&lt;p&gt;Have you tried to test with other Android phone ?&lt;/p&gt;
&lt;p&gt;I would suggest to test changing the connection parameters setting in the bootloader to increase the connection interval, I would suggest min to 30ms and max to 60ms just to check.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>