<?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>NCS1.5.1 :   Which API  indicates that OTA starts? (use mcuboot)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97198/ncs1-5-1-which-api-indicates-that-ota-starts-use-mcuboot</link><description>I want to get the api to do some logic operation. 
 in SDK I know it will &amp;quot;enter_bootloader(p_dfu) &amp;quot; then &amp;quot; nrf_dfu_settings_write &amp;quot;, 
 But in NCS1.5.1, It&amp;#39;s hard for me to track the code which OTA &amp;#39;s process.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Mar 2023 20:12:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97198/ncs1-5-1-which-api-indicates-that-ota-starts-use-mcuboot" /><item><title>RE: NCS1.5.1 :   Which API  indicates that OTA starts? (use mcuboot)</title><link>https://devzone.nordicsemi.com/thread/413120?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 20:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e930e14d-2e6a-49d3-a745-1fcb29e9c521</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;I was able to install NCS v1.5.1 and can see that &lt;a href="https://github.com/zephyrproject-rtos/mcumgr/blob/43845e883ff3a6cdaae22e23f3e60b5fcf78c6ba/cmd/img_mgmt/include/img_mgmt/img_mgmt.h#L246"&gt;the same API is available&lt;/a&gt;. Could you please give it a try?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.5.1 :   Which API  indicates that OTA starts? (use mcuboot)</title><link>https://devzone.nordicsemi.com/thread/413116?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 19:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4724597a-b894-450c-9e94-2169b9fc8252</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi spring.liu,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. It&amp;#39;s quite an old SDK you are working on, and my knowledge with DFU is not applicable with it. Meanwhile, my attempts to install it&amp;nbsp;encountered some&amp;nbsp;issues.&lt;/p&gt;
&lt;p&gt;In more recent SDKs, DFU is&amp;nbsp;done through the img_mgmt module. In this module,&amp;nbsp;you can use&amp;nbsp;img_mgmt_register_callbacks()&amp;nbsp;and get information of when DFU starts using callback functions.&lt;/p&gt;
&lt;p&gt;Could you let me know how you are setting up DFU in your project? What modules are you using? Some starting points will help me look up the documentation faster.&lt;/p&gt;
&lt;p&gt;I will also try to install the SDK and research more into it.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>