<?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>DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22894/dfu-failed-after-gatt-connected</link><description>I met this issue on some Android devices.
GATT connection is disconnected before before service discovery finished.
The issue is reporeted in following link. 
 github.com/.../35 
 I&amp;#39;d like to know the workaround of this issue.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Jun 2017 08:21:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22894/dfu-failed-after-gatt-connected" /><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90030?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 08:21:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e45987c5-82fb-488e-9ade-ee83be05828e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kenta,
Sorry for late response.
Could you try this: &lt;a href="https://devzone.nordicsemi.com/question/82371/s130-peer-manager-dfu/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;  ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90029?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 10:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf18459-0d5c-44d7-bc7e-8e2f65336106</guid><dc:creator>Kenta Harada</dc:creator><description>&lt;p&gt;Thank you for your comment.
We don&amp;#39;t currently use bond sharing feature. if that is the cause of this issue, we want to use it !&lt;/p&gt;
&lt;p&gt;But Bjørn Spockeli  said that SDK v11 doesn&amp;#39;t support bond sharing which uses peer manager in following question.(We use peer manager, don&amp;#39;t use bond manager.)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/102913/why-it-not-sharing-bonding-information-from-application-to-bootloader-in-sdk1210/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Are there any workaround ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90037?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 11:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab4be58c-0ad9-46f5-8ea7-ca51f26fa5e7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Kenta: By default the ble_app_hrm buttonless example in SDK v11 does support bond forwarding. Do you follow what implemented there to call the SVC call to send bond information to the noinit data area ? If no bonding is forwarded, the phone will terminate the connection because it can&amp;#39;t re-encrypt with the device.&lt;/p&gt;
&lt;p&gt;If you want simply to keep bonding on the application, but OK to have non-bonding for DFU, then you can change the address of DFU bootloader to something else (suggest to be +1 of original address) so that no bonding will be used when doing DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90033?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 06:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077908d0-82eb-4c41-a870-6289e31fb02c</guid><dc:creator>Kenta Harada</dc:creator><description>&lt;p&gt;Thank you for your comment. I removed the pairing/bonding process from Android application an nRF52 FW. DFU finished successfully. But we need encryption, How should we do ? Use AES encryption without pairing, is that good idea ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90035?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 12:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:579b0ad3-2d13-48e6-ad54-54f0aeff2deb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;What do you mean by &amp;quot;nRF sniffer doesn&amp;#39;t work well after device turned to bootloader mode&amp;quot; ?
If you have trouble because the device change the address, you simply test with just the bootloader and no application, then the device will always be in bootloader.&lt;/p&gt;
&lt;p&gt;You do have issue doing DFU with nRFToolbox , but don&amp;#39;t with NRFConnect correct ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90031?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 10:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74eeb497-adcf-472a-99e9-c65a0c39621f</guid><dc:creator>Kenta Harada</dc:creator><description>&lt;p&gt;I tried to find the difference between nRF toolbox source code and ours. but I could not find the difference. nRF sniffer doesn&amp;#39;t work well after device turned to bootloader mode.
Do you have any other advice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90032?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 15:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5878b7a2-c8e4-4159-8782-663ce9b83134</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;They are very similar as they both use &lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library"&gt;the DFU library&lt;/a&gt; to do the task.&lt;/p&gt;
&lt;p&gt;Have you tried to repeat the test several times just to make sure nRFConnect always work ?&lt;/p&gt;
&lt;p&gt;A &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;sniffer trace&lt;/a&gt; would be useful to see why a disconnection happened.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90028?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 03:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc77aaa1-1c1a-4dd6-aaeb-da72f692a390</guid><dc:creator>Kenta Harada</dc:creator><description>&lt;p&gt;I tried with following conditions.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Android App&lt;/strong&gt;
nRF Connect for Mobile 4.11.1
nRF Toolbox for BLE 2.4.0&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Android Device&lt;/strong&gt;
F-02H(Fujitsu)  Android Version : 5.1.1&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BLE Device&lt;/strong&gt;
nRF52832, SDK 11.0.0, SoftDevice S132 v2.0.1&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Result&lt;/strong&gt;
nRF Connect : DFU Finished successfully&lt;/p&gt;
&lt;p&gt;nRF Toolbox : DFU Failed(Showed &amp;quot;DFU Process failed&amp;quot; in Notification message)&lt;/p&gt;
&lt;p&gt;DFU finished successfully on nRF Connect!
What&amp;#39;s the differences between Connect and Toolbox??&lt;/p&gt;
&lt;p&gt;I would like to check souce codes of nRF Connect. is that possible ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90036?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 13:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71f01ba8-52da-4a9c-bd25-e51ef3d3da35</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please let me know do you have the issue with nRFConnect, just do a connection and don&amp;#39;t do DFU.
We need to check if it&amp;#39;s the issue with DFU library or it&amp;#39;s the issue with Android OS.
How often do you see disconnection ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90034?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 01:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdaef071-08ca-4676-b392-7b0dbeaea24b</guid><dc:creator>Kenta Harada</dc:creator><description>&lt;p&gt;Thank you for your comment.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t use nRF Connect,  use our original Android application with Android DFU Library.
DFU Library waits some seconds before GATT connection but it&amp;#39;s not enough on some Android devices.
So I added a 1.5 sec delay before calling DfuServiceInitiator.start() (This is because we don&amp;#39;t want to customize DFU Library). But disconnection happens on some Android devices such as KYOCERA, SHARP and FUJITSU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU failed after GATT connected.</title><link>https://devzone.nordicsemi.com/thread/90027?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 17:30:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36781258-52e1-48fd-bfc2-90508f076cc5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kenta,&lt;/p&gt;
&lt;p&gt;How often do you have the issue ? Do you have disconnection when you test with just nRFConnect (no DFU ) ?&lt;/p&gt;
&lt;p&gt;Have you tried to do what Philips suggest by adding a delay ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>