<?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 HCI protocol SDK v15.3.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54162/dfu-hci-protocol-sdk-v15-3-0</link><description>We are implementing DFU over serial to the nRF52832 from another microcontroller. 
 We are using SDKv15.30 and a slightly modified the serial bootloader from the DFU bootloader examples. 
 Does the DFU protocol over serial in SDKv15.3.0 use the HCI packet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Nov 2019 21:33:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54162/dfu-hci-protocol-sdk-v15-3-0" /><item><title>RE: DFU HCI protocol SDK v15.3.0</title><link>https://devzone.nordicsemi.com/thread/219550?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 21:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e544e8db-24d7-4755-b0b2-7464b9495578</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help. Will pass on your feedback on this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU HCI protocol SDK v15.3.0</title><link>https://devzone.nordicsemi.com/thread/219546?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 21:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76756116-96f7-47b0-a744-fa8da6cd1902</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;Thanks Bjorn.&amp;nbsp; This makes perfect sense.&amp;nbsp; I think the documentation could have spelled this out a bit better. Your help is much appreciated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU HCI protocol SDK v15.3.0</title><link>https://devzone.nordicsemi.com/thread/219469?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 12:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8068dc71-9bb4-4264-b382-d5c27e3bda3c</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Phil,&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Phil Matthews"]Could you please confirm that in SDKv15.3.0 the DFU init packet is now the file &amp;quot;&amp;lt;file&amp;gt;.dat&amp;quot; in the DFU package zip file.&amp;nbsp; Do we send this file exactly as it is byte-for-byte?&amp;nbsp; Or do we have to extract fields from the .dat file and create an init packet?[/quote]
&lt;p&gt;&amp;nbsp;Yes, the init packet is the .dat file in the .zip that is generated by nrfutil. The .dat file should be transmitted to the nRF byte-for-byte as shown in the Message Sequence Charts of the&amp;nbsp;&lt;a title="Serial" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_dfu_transport_serial.html?cp=5_1_3_5_2_3"&gt;Serial&lt;/a&gt;&amp;nbsp;transport layer.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU HCI protocol SDK v15.3.0</title><link>https://devzone.nordicsemi.com/thread/219369?ContentTypeID=1</link><pubDate>Sun, 10 Nov 2019 21:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0af8a43-df0a-439c-aade-b75004ee7a18</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;Thanks for your reply.&amp;nbsp; We understand the SLIP encapsulation.&amp;nbsp; The question was that in earlier SDK (v10) we were sending DFU packets over serial that were using the HCI packet format with Vendor Specific extension.&amp;nbsp; We have now changed to SDKv15.3.0, and nothing seemed to line up with what we were doing.&amp;nbsp; &amp;nbsp;However, over the last couple of days I found that the entire DFU protocol changed at SDKv12.&amp;nbsp; I&amp;#39;ve found the DFU protocol documentation in nRF SDKv15.3.0 and we are implementing that.&lt;/p&gt;
&lt;p&gt;Could you please confirm that in SDKv15.3.0 the DFU init packet is now the file &amp;quot;&amp;lt;file&amp;gt;.dat&amp;quot; in the DFU package zip file.&amp;nbsp; Do we send this file exactly as it is byte-for-byte?&amp;nbsp; Or do we have to extract fields from the .dat file and create an init packet?&lt;/p&gt;
&lt;p&gt;The reason I ask this is that previously the *.dat file had very little in it and the information about the image was in the manifest.json file. We read data from the manifest.json file (such as file size, version, CRC etc)&amp;nbsp; and generated an init packet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU HCI protocol SDK v15.3.0</title><link>https://devzone.nordicsemi.com/thread/219226?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2019 09:11:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9abc4e3-b180-4720-9f16-f8701452845e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Phil,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the serial bootloader uses the &lt;span&gt;Serial Line Internet Protocol (SLIP)&amp;nbsp;to encapsulate the data, see the&amp;nbsp;&lt;a title="Serial" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_dfu_transport_serial.html?cp=5_1_3_5_2_3"&gt;Serial&lt;/a&gt;&amp;nbsp;transport layer and the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_slip.html"&gt;SLIP library&lt;/a&gt;&amp;nbsp;documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think the SLIP layer framing matches that of the the Bluetooth Core Specification 4.0, Volume 4, Part D, Chapter 3&amp;nbsp;SLIP&amp;nbsp;Layer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>