<?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 confirm action</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44492/buttonless-dfu-confirm-action</link><description>Hi, 
 I would like to confirm whether bootloader should start from my application with BLE buttonless DFU. Once the request to enter the bootloader is received by my app I would like to be notified with that and depending on some conditions I would like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Aug 2019 07:56:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44492/buttonless-dfu-confirm-action" /><item><title>RE: Buttonless DFU confirm action</title><link>https://devzone.nordicsemi.com/thread/204221?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 07:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b49a2b0-6df2-4184-ad71-3bef970869d3</guid><dc:creator>mrono</dc:creator><description>&lt;p&gt;The feature that app_shutdown_handler() is called periodically is controlled by a configuration option in sdk_config (NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY).&lt;/p&gt;
&lt;p&gt;This option is checked by default in the buttonless DFU example, but it is NOT checked for instance in the ble_app_template example. At least in SDK 15.2&lt;/p&gt;
&lt;p&gt;Hope this saves others some time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU confirm action</title><link>https://devzone.nordicsemi.com/thread/175053?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 14:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d13b985c-0221-4031-b821-b8d4d25f81c5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The buttonless DFU service has an event for the application, notifying that DFU mode has been requested. The application can signal that it is ready to enter DFU mode or that it needs time to clean up. In that case, the event will occur again a second later. The application cannot permanently prevent entering DFU mode, but there is no limit to how many times it can delay it. I recommend you look at the&amp;nbsp;app_shutdown_handler() function in main.c of the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/ble_sdk_app_buttonless_dfu"&gt;Buttonless DFU Template Application&lt;/a&gt;, which has very good comments describing this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>