<?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>mesh dfu impressions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115458/mesh-dfu-impressions</link><description>Hello 
 I built the mesh distributor and mesh target samples from Zephyr 2.6.1 SDK on 2 nRF52840 dev boards 
 Provisioned them as described in the docs, loaded a DFU image on the distributor using mcumgr over BLE and ran the update 
 Here are some comments</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Oct 2024 13:29:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115458/mesh-dfu-impressions" /><item><title>RE: mesh dfu impressions</title><link>https://devzone.nordicsemi.com/thread/506151?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 13:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb450d72-3db1-4865-a219-bd4940e8fc6d</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;Thank you very much for your feedback&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh dfu impressions</title><link>https://devzone.nordicsemi.com/thread/506091?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 11:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:131e7d6e-dc44-4794-be13-469ce909eb84</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;1. It&amp;#39;s&amp;nbsp;SLOW. The DFU image size is&amp;nbsp;330K and it took 30 minutes to download it. There were only 2 nodes on the mesh network, the target and the distributor, sitting next to each other. The network I&amp;#39;m evaluating this for&amp;nbsp;&amp;nbsp;has over hundred nodes spread over a very large territory and my DFU images are larger, about 415K.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;First of all, no matter what you do a Mesh DFU will generally be slow, compared to eg. a normal BLE DFU. I acctually remember as an example that a DFU of 420kB could take two hours. This is due to Mesh not really being designed for high throughput applications. This will also be the case if you want to send any large file accross the Mesh network. Though in situations where you have a large network that is continously online then this is often not considered a problem.&lt;/p&gt;
&lt;p&gt;Another thing to note is that it is hard to say anything about how much slower anything will be in a larger network. How long it takes for something to spread over this large network of yours won&amp;#39;t be proportional to how long it took for it to spread to 2 nodes, since the first node will spread the DFU package to all nodes that are close to it, not just the second node. And this will then continue for the next node in line.&lt;/p&gt;
[quote user=""]Is mesh DFU even feasible in my situation?[/quote]
&lt;p&gt;Sure it is. And if you are doing BLE Mesh, then I don&amp;#39;t really see what other practical options you have. But if your network is indeed big, and span a wide area,&amp;nbsp;then Mesh DFU sounds perfect to me, since you won&amp;#39;t have to deal with any one individual node. One operation will handle the entire network, no matter how large of an area you have, or how many nodes there are.&lt;/p&gt;
[quote user=""]Any suggestions to speed up the process?[/quote]
&lt;p&gt;There are some things that you can do to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc-legacy/latest/nrf/protocols/bt/bt_mesh/configuring.html#mesh-settings-performance"&gt;increase the performance&lt;/a&gt;, though it would either way take some time. The mesh node is limited to an average message rate of less than 10Hz.&amp;nbsp;And there might be other things you want to keep in mind and optimize for when configuring the network, not just throughput.&lt;/p&gt;
[quote user=""]&lt;p&gt;2. The JSON messages returned from &lt;em&gt;mesh models dfd receivers&lt;span&gt;-&lt;/span&gt;&lt;/em&gt;&lt;span&gt;&lt;em&gt;get&lt;/em&gt;&amp;nbsp; command&amp;nbsp;&lt;/span&gt;on the distributor are too &amp;nbsp;cryptic&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Noted.&lt;/p&gt;
[quote user=""]3. Some documentation recommends using a VERSION file&amp;nbsp;when building a DFU image with this format&lt;br /&gt;[/quote]
&lt;p&gt;My understanding is that both can be used, but using a &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/version/index.html#app-version-details"&gt;version file&lt;/a&gt; is recommended and considered more flexible.&amp;nbsp;&lt;span&gt;CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION is however easier, for demonstration purposes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>