<?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>How to recognize that the DFU process is running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26647/how-to-recognize-that-the-dfu-process-is-running</link><description>Hello, 
 I would like to signalize that the DFU process is running. I mean when I start to upload the application into the CPU, then a LED (for example) is ON, after uploading the LED is OFF. When the process is brokem the LED must be OFF. 
 Please</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2017 12:07:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26647/how-to-recognize-that-the-dfu-process-is-running" /><item><title>RE: How to recognize that the DFU process is running</title><link>https://devzone.nordicsemi.com/thread/104838?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 12:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:614fa070-a181-46ac-ae86-25d972b0d362</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jiri,&lt;/p&gt;
&lt;p&gt;Could you tell which SDK you used ?&lt;/p&gt;
&lt;p&gt;Following information applied for SDK v12 and up.&lt;/p&gt;
&lt;p&gt;Currently, after the DFU bootloader advertise and get connected. We will switch the LEDs when there is BLE_GAP_EVT_CONNECTED event. Please have a look at ble_evt_handler() inside nrf_ble_dfu.c&lt;/p&gt;
&lt;p&gt;If you want to have more indication, especially when the image is sent, not only when the bootloader is connected, I think you can add the code to turn on the LED after dfu_handle_prevalidate() success in dfu_handle_signed_command() inside dfu_req_handling.c&lt;/p&gt;
&lt;p&gt;This is the point when we validated the init packet is correct and wait for the actual image to be sent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>