<?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>Adding dfu service to an existing mesh application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100689/adding-dfu-service-to-an-existing-mesh-application</link><description>Hello everybody 
 I updated the firmware in a mesh network containing a number of nrf52932 devices using serial DFU. I proceed the instruction in &amp;quot; &amp;quot;&amp;gt;infocenter.nordicsemi.com/index.jsp and it was successful. However, the new mesh application does not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jun 2023 14:03:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100689/adding-dfu-service-to-an-existing-mesh-application" /><item><title>RE: Adding dfu service to an existing mesh application</title><link>https://devzone.nordicsemi.com/thread/431048?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 14:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90464e7a-536a-4c34-ba5e-27e0d22fac85</guid><dc:creator>Javad</dc:creator><description>&lt;p&gt;Dear Hung,&lt;/p&gt;
&lt;p&gt;Thank you for your advice. I could solve the problem.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Javad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding dfu service to an existing mesh application</title><link>https://devzone.nordicsemi.com/thread/430643?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2023 08:00:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11caca13-4de9-4287-baf4-4edde50e266c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;HI Javad,&lt;/p&gt;
&lt;p&gt;I agree that the guide is a little bit too much on how the&amp;nbsp;application and the DFU process work together.&amp;nbsp;&lt;br /&gt;However, if you look at the \examples\dfu you will find that it&amp;#39;s not so difficult.&lt;br /&gt;You can try compare it to a normal application (light switch for example) to see the difference.&amp;nbsp;&lt;br /&gt;From my understanding, you would need to:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Include the files and libraries needed for DFU. for example nrf_mesh_dfu.c&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- In main.c include the functions for DFU handling, for example&amp;nbsp;fw_updated_event_is_for_me(),&amp;nbsp;optimal_bank_address(), add DFU events to&amp;nbsp;mesh_evt_handler()&lt;br /&gt;&lt;br /&gt;That pretty much it. The main job of the application is to detect DFU packets and then forward it to the bootloader (call a bootloader function to process the package). Most of the actual storing data, reassembly is done inside the bootloader which you don&amp;#39;t have to worry about.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding dfu service to an existing mesh application</title><link>https://devzone.nordicsemi.com/thread/430611?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2023 06:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8294fd9-7c13-4b82-ba38-e819ce561ca8</guid><dc:creator>Javad</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;You are right. We are following a way to add DFU service to an existing application according to scenario #2. I&amp;#39;ve already checked the documentation in the link that you&amp;#39;ve sent me. It seems this link explains the steps that happens in a DFU process. But no clue about how to add a DFU service to an application. My question is: &amp;quot;Is there any straight-forward way to add for example some lines of codes to the existing application to enter DFU service in that application?&amp;quot;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Javad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding dfu service to an existing mesh application</title><link>https://devzone.nordicsemi.com/thread/430451?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 11:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d19e6cd-a7c4-4b92-bc1b-24629515608e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Javad,&amp;nbsp;&lt;br /&gt;I would need to have some clarification:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;Have you deployed your devices ? Can you re-program it or it has to be done via DFU&amp;nbsp; ? And you are looking for a solution to recover those device to update the firmware via DFU ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Or you simply want to have a guide on how you can add DFU service into your current application ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I assume it&amp;#39;s scenario #2 you are having. In that case our recommendation is to follow what we did in the DFU example and the documentation here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_doc_user_guide_modules_dfu_integrating_into_app.html?cp=9_2_2_4_0_2_0"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_doc_user_guide_modules_dfu_integrating_into_app.html?cp=9_2_2_4_0_2_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We will not able to modify your code but we can help you if you face any error.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>