<?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>Getting a &amp;quot;GATT CONN TIMEOUT&amp;quot; message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11278/getting-a-gatt-conn-timeout-message-when-trying-to-upload-a-new-firmware-via-ble-dfu</link><description>Thank you very much in advance for any help. 
 I am attempting to upload an example firmware on a nRF52832 with the s132 softdevice BLE stack and the example DFU bootloader. When I use the DFU toolbox provided with the nordic toolbox running on my nexus</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Jun 2016 14:00:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11278/getting-a-gatt-conn-timeout-message-when-trying-to-upload-a-new-firmware-via-ble-dfu" /><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42428?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2016 14:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a05f0023-2800-4bbc-8761-05ab23abc7bd</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;We are developing a product which is supposed to work with all cell phones, so an issue with one model is to be considered serious. we will be doing our own tests as soon as we can on this model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42427?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2016 01:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:054d8a61-c7d3-470f-99ee-8dbde4384f6a</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Yesterday I used the Samsung S7 test DFU app function.
Today I use IPhone6 Plus test the DFU and The timing setting like below:
#define MIN_CONN_INTERVAL (uint16_t)(MSEC_TO_UNITS(15,  UNIT_1_25_MS))&lt;br /&gt;
#define MAX_CONN_INTERVAL (uint16_t)(MSEC_TO_UNITS(100, UNIT_1_25_MS))
Other conditions is same with yesterday.&lt;/p&gt;
&lt;p&gt;The result is very much better then my Samsung S7. Timout error occur frequently just 1~2 in 10 time.
So I think the problem maybe is the Cell phone and Sorry to waste your time.
and the DFU funs is good.
yo... check it out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42426?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 13:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78833a4-6836-49cb-aa42-ca2e506acb79</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Ok,thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42425?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 13:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:633a3eb5-cb1f-452b-81d5-d687d6a364ef</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;Let me see if I can`t reproduce your bug with a similar phone. We have not had any issues with the above settings for nexus 5 or several models of iphones.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42424?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 12:52:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88aa9b81-e06f-4431-a526-d42317457c0b</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Sorry the SD is s132_nrf52_2.0.0_softdevice.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42423?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 12:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace1b568-01d7-4c84-b65e-887551dde3b3</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;I use Android OS. If I set the timing like below the update speed is good but 6~7 in 10 time the app will show the gatt conn timeout error message.
#define MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS))
#define MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(100, UNIT_1_25_MS))&lt;/p&gt;
&lt;p&gt;If I set the timing like below. The update speed is slow but 2~3 in 10 time app show the gatt conn timeout
#define MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS))
#define MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(500, UNIT_1_25_MS))&lt;/p&gt;
&lt;p&gt;I use the example code hrs ble will error every time.
If I use the example code csc ble just few time will show the timeout error
MCU: nRF52832
SDK: 11
Project: ble_peripheral ble_app_cscs and ble_app_hrs
Cell Phone: samsung s7
OS: Android
App: nRFToolbox
FW: I did nRFutil to make application to zip file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42422?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 12:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64cb9d94-f840-43a1-9e4c-f8af0174a0db</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;Could you elaborate on what you mean by &amp;quot;not stable&amp;quot;? Also what is your central device and what OS is it running (in the case it is a smartphone)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42429?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 03:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:196a40f8-9664-4cdd-ad87-e20a5d343ca7</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;I use nRF52832 SD132 and I set the time like this #define MAX_CONN_INTERVAL (uint16_t)(MSEC_TO_UNITS(100, UNIT_1_25_MS)) which is not stable.
If I set the time is #define MAX_CONN_INTERVAL (uint16_t)(MSEC_TO_UNITS(500, UNIT_1_25_MS)) which is too slow.
Does there has any better way to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42421?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2016 08:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceae7a29-7db4-45fe-9570-3d917e68cd61</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you mark the answer as correct @seanbites?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42419?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 16:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29806dab-a26d-4c14-a978-11c223b75cd2</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;MAX_CONN_INTERVAL (uint16_t)(MSEC_TO_UNITS(100, UNIT_1_25_MS)) works well and the uploading of the code is not excessively slow.
cheers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42420?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 16:34:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f17137e-c2f5-440c-b634-454cdd1e05a7</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;Haleluia! Thanks a lot for your help! I changed the parameters in &lt;code&gt;dfu_transport_ble.c&lt;/code&gt; to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS)) 
#define MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(500, UNIT_1_25_MS))
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;which is brute force and I&amp;#39;m going to have to figure out the optimal values for them so that the uploading is not so slow.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The following connection interval parameters works well&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS)) 
#define MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(100, UNIT_1_25_MS))
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42417?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 14:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:803f011f-8444-4bd2-ae78-90aa4cd93ab5</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;I&amp;#39;ll do so and come back with the results!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42418?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 10:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be98228-5dc0-4e0d-b834-366c4be29125</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Try setting the &amp;quot;Packet Receipt Notification&amp;quot; in the nRF Toolbox app to 1 instead of 10. If that does not solve the issue you can try to increase the connection interval in &lt;code&gt;dfu_transport_ble.c&lt;/code&gt; from&lt;/p&gt;
&lt;pre&gt;&lt;code&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;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(30, UNIT_1_25_MS)) 
#define MAX_CONN_INTERVAL                    (uint16_t)(MSEC_TO_UNITS(50, UNIT_1_25_MS))
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a "GATT CONN TIMEOUT" message when trying to upload a new firmware via BLE DFU</title><link>https://devzone.nordicsemi.com/thread/42416?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2016 19:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf03f421-155c-4f76-99a8-0b1b060f57db</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;I have used an Iphone 6 to upload a code, and it worked without a hitch. I believe that the nexus 5 phones have a known issue. If anybody has a list of devices with known issues, I would be grateful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>