<?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>DFU over BLE Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105269/dfu-over-ble-mesh</link><description>I have updated the firmware over BLE mesh but I need to add some customization. 
 Problem There are two devices one is taking firmware update serially over UART while other is connected to first one over BLE mesh and it is updating over mesh. This update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Nov 2023 14:18:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105269/dfu-over-ble-mesh" /><item><title>RE: DFU over BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/453770?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 14:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c15dcc38-e0f8-4536-8f2e-5f751c19e282</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s correct.&amp;nbsp;A will detect that the firmware is not for it self but it will relay the DFU packets to the network.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;====&lt;br /&gt;It&amp;#39;s been a while&amp;nbsp;so my memory may not serve me right. I know that a normal mesh node will do that, that if the it&amp;#39;s up to date it will relay the DFU message without updating itself.&amp;nbsp;&lt;br /&gt;But for the A node that connect to PC please do a test to see if it work. I am not so sure if it will relay the DFU messages or it will reject the DFU.&amp;nbsp;&lt;br /&gt;If it&amp;#39;s the case, you would need to have a special Application ID for the A node and another Application ID for &amp;quot;normal &amp;quot; node.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/453763?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 14:04:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfdb642b-83e5-4006-94b9-b882f561dd73</guid><dc:creator>DevilsZone</dc:creator><description>&lt;p&gt;So you are saying if I update the Device A with same firmware version A wont take but B will .Right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/453755?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 13:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61737057-1e97-4e99-8e55-1e2be34f18eb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ahad,&amp;nbsp;&lt;br /&gt;I just want to clarify that there&amp;nbsp; is no concept of a mesh device connect to another mesh device.&amp;nbsp;&lt;br /&gt;A mesh device don&amp;#39;t connect to another device, it joins the mesh network. I assume that&amp;#39;s what you meant.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If a device (say B) is turned off when the first device (A) is receiving the DFU update via UART,&amp;nbsp;B will not get the update if it&amp;#39;s turned off after the update for A is over.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If B is turned on when the DFU process is still on going, there still a chance that it can still receive the image because A will try to send the missing packet but quite often it&amp;#39;s not possible as B would miss the initializing phase.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So what you need to do is to re-run the DFU update on A (A will not get updated again because the firmware is on the same version as the DFU image) then A will send the image to B.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/453743?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 13:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8848e838-a4e0-4d98-b47a-dd6650501549</guid><dc:creator>DevilsZone</dc:creator><description>&lt;p&gt;What I wanted to say is that there are two device, one is updated serially while other is connected to first device over ble mesh and take the dfu update. But this whole process is simultaneous. Let say first device is serially update(dfu) but the second device was turned off at that time and now just turn on the second device. Both are in mesh, device with higher application version should update the second device I think and I tried but there was error like:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698931913397v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/453674?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 10:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24ac1d11-2b88-4081-a746-9417b2f36575</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ahad,&amp;nbsp;&lt;br /&gt;Could you please give more detail on what you want to achieve ?&amp;nbsp;&lt;/p&gt;
[quote user=""]This update (serial and ble mesh) is concurrent means if one is updating other is taking the update and I want to configure such that first device is updated and will wait unless second device is available for dfu update.&amp;nbsp;[/quote]
&lt;p&gt;I&amp;#39;m not so sure I fully understand what you meant by &amp;quot; first device is updated and will wait unless&amp;nbsp;&lt;span&gt;second device is available for dfu update&amp;quot;&amp;nbsp;&lt;br /&gt;My assumption here is that they have the same application ID ? And the firmware version they are receiving is not the same, correct ?&amp;nbsp;&lt;br /&gt;As far as I know the mesh DFU protocol is quite basic and there is no control over multiple images being distributed at the same time. You may want to avoid the situation when multiple images is being distributed.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>