<?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>Buttonless DFU Error: Enabling indications failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34165/buttonless-dfu-error-enabling-indications-failed</link><description>We have a couple of development units that are showing the above error in the nRF Toolbox app. Using the nRF Connect app, the DFU dialog just goes away and the screen reverts to the normal gatt services view. The device does not reboot and continues running</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 May 2018 13:56:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34165/buttonless-dfu-error-enabling-indications-failed" /><item><title>RE: Buttonless DFU Error: Enabling indications failed</title><link>https://devzone.nordicsemi.com/thread/133275?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 13:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0469c252-d820-47f7-93ac-cce96f17b0c8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jmag999"&gt;jmag999&lt;/a&gt;, do you have a sniffer trace showing the packet exchange when you press the DFU icon? That might give a clue as to what&amp;#39;s wrong.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error: Enabling indications failed</title><link>https://devzone.nordicsemi.com/thread/133272?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 13:51:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44431f45-d087-4b52-a383-9d7643b8443c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Andy, I suspect this is related to attribute caching as you mentioned, and not directly related to issue reported by OP. The central may have used an invalid attribute handle cached from a previous session to enable the indication.&amp;nbsp; Cache gets cleared if you reboot or toogle flight mode/ bluetooth enable, which could explain why the rebooting the phone helped in your case.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For devices that support DFU it is important to implement handling for the service changed characteristic in both&amp;nbsp;bootloader and application to ensure that the client performs rediscovery of the attribute table when it changes (e.g., when transitioning between app and bootloader dfu mode).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nRF connect on iOS doesn&amp;#39;t display this characteristic, but you can use the same app on Android if you&amp;#39;re unsure if you had it enabled or not.&lt;/p&gt;
&lt;p&gt;Service changed characteristic displayed in nRF connect on Android:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-79d46e8f1c36447d81cbd18f8411beeb/Screenshot_5F00_20180524_2D00_152222_5B00_1_5D00_.png" alt=" " /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;More information about attribute caching can be found in&amp;nbsp;BT Core spec v.5, vol. 3, Part G, section 2.5.2.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error: Enabling indications failed</title><link>https://devzone.nordicsemi.com/thread/133217?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 11:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5ef4da6-060d-4a20-846a-7b3ac5295ff0</guid><dc:creator>jmag999</dc:creator><description>&lt;p&gt;We noticed the same thing.&amp;nbsp; Rebooting the phone sometimes resolves the issue. We are on SDK 14 and are still seeing the issue occasionally.&amp;nbsp; The strange thing is that without rebooting the phone, some devices work and some don&amp;#39;t.&amp;nbsp; The ios app certainly has a number of bugs, I imagine this is another one.&amp;nbsp; I think it cropped up recently because we had no issues in the past.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error: Enabling indications failed</title><link>https://devzone.nordicsemi.com/thread/133212?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 11:42:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12fc5b83-9ad9-40a6-9c0d-cd2e94d95099</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Yes I just confirmed that. I turned off Bluetooth, restarted the phone, and tried again. Now I&amp;#39;m getting SD requirement not met, but I guess that&amp;#39;s better now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error: Enabling indications failed</title><link>https://devzone.nordicsemi.com/thread/133211?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 11:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:620b5ca2-df20-495c-bf77-1ae4881d161a</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Hello, I am having the same problem too. I&amp;#39;m using NRF Connect on iOS. I can see that the phone connects and I get the following events:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;BLE_GAP_EVT_DATA_LENGTH_UPDATE&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;BLE_GAP_EVT_DISCONNECTED&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Then the app reports &amp;quot;Enabling notifications failed&amp;quot;. I&amp;#39;m using a bootloader based on SDK 13.1, it&amp;#39;s weird because it was working before. I was working on a new bootloader based on SDK 15.0, all good, then I returned to test updating the BL+SD with NRF Connect on my old bootloader and it doesn&amp;#39;t want to connect anymore. Could it be that iOS has something cached from the newest bootloader that the old bootloader doesn&amp;#39;t support?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error: Enabling indications failed</title><link>https://devzone.nordicsemi.com/thread/131531?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 13:04:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94475018-c034-481b-a494-005bba23e32c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t seen reports of this behavior before, and it&amp;#39;s a bit strange that it fails on only 2 out of 300+ units. If possible I would suggest to attach a debugger to the failing units and place breakpoints in ble_dfu.c::on_ctrlpt_write to see if&amp;nbsp;is_ctrlpt_indication_enabled is true when receiving the DFU start command.&amp;nbsp;Which SDK version have you based this on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>