<?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 Protocol Documentation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32914/mesh-dfu-protocol-documentation</link><description>Hello, I am looking for documentation on the Mesh DFU Protocol. It looks like it is the same DFU that the mesh branch of the nrfutil python app is using. I would like to do a DFU from an Android App that is using the GATT bridge on OpenMesh, instead of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Apr 2018 10:19:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32914/mesh-dfu-protocol-documentation" /><item><title>RE: Mesh DFU Protocol Documentation</title><link>https://devzone.nordicsemi.com/thread/126798?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 10:19:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad4fa225-6f8f-4c63-a6a6-e026112bee70</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;This would be a bit tricky, I think. The GATT DFU has a different protocol, and the bootloader that supports it has an almost completely separate code base. I think the easiest way to go about this would be to make the mesh bootloader receive its advertisement payload over the GATT-connection by making it a gatt server and having the phone do a characteristic write operation for sending the DFU packet, but it&amp;#39;s a significant amount of work.&lt;/p&gt;
&lt;p&gt;You can probably steal the nrf_ble_dfu-module from the nRF5 SDK (components/libraries/bootloader/ble_dfu) to make the gatt server, but the phone/pc side is worse. There&amp;#39;s an android and an iOS library for the nRF5 SDK DFU: &lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library"&gt;https://github.com/NordicSemiconductor/Android-DFU-Library&lt;/a&gt; &amp;amp; &lt;a href="https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library"&gt;https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library&lt;/a&gt;, but most of the complexity is in the protocol, which you&amp;#39;d have to rewrite.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s also a ble-transport for nrfutil: &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;https://github.com/NordicSemiconductor/pc-nrfutil&lt;/a&gt; which would probably be a bit easier to adopt.&lt;/p&gt;
&lt;p&gt;Mesh documentation: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk/keydef/PLUGINS_ROOT/com.nordic.infocenter.meshsdk.v1.0.1/index.html"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk/keydef/PLUGINS_ROOT/com.nordic.infocenter.meshsdk.v1.0.1/index.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>