<?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>Butonless secure DFU with bonds- limitation on client devices</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70077/butonless-secure-dfu-with-bonds--limitation-on-client-devices</link><description>Hello! Reading the following segment regarding Buttonless DFU with bonds from the documentation, I&amp;#39;m not clear as to the meaning of these paragraphs. It looks like two contradicting designs are held simultaneously, so I was hoping someone could make this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jan 2021 08:07:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70077/butonless-secure-dfu-with-bonds--limitation-on-client-devices" /><item><title>RE: Butonless secure DFU with bonds- limitation on client devices</title><link>https://devzone.nordicsemi.com/thread/290934?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 08:07:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6fa57f1-b446-4de5-824d-f154ae7abaca</guid><dc:creator>mrono</dc:creator><description>[quote userid="86158" url="~/f/nordic-q-a/70077/butonless-secure-dfu-with-bonds--limitation-on-client-devices/290877#290877"]I am going with the assumption that the bootloader is a &amp;#39;separate application in itself&amp;#39; from the &amp;#39;Buttonless DFU service/application&amp;#39;.&lt;br /&gt;Is that correct?[/quote]
&lt;p&gt;Yes&lt;/p&gt;
[quote userid="86158" url="~/f/nordic-q-a/70077/butonless-secure-dfu-with-bonds--limitation-on-client-devices/290877#290877"]If the answer to the above is YES, then are the changes suggested in the file &amp;quot;components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c&amp;quot; for the bootloader application build or for the Buttonless DFU application build?[/quote]
&lt;p&gt;The buttonless DFU application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Butonless secure DFU with bonds- limitation on client devices</title><link>https://devzone.nordicsemi.com/thread/290877?ContentTypeID=1</link><pubDate>Sun, 24 Jan 2021 22:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:459c402b-a578-4a0a-aa82-449dc02ae606</guid><dc:creator>RVM</dc:creator><description>&lt;p&gt;I am going with the assumption that the bootloader is a &amp;#39;separate application in itself&amp;#39; from the &amp;#39;Buttonless DFU service/application&amp;#39;.&lt;br /&gt;Is that correct?&lt;/p&gt;
&lt;p&gt;If the answer to the above is YES, then are the changes suggested in the file &amp;quot;components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c&amp;quot; for the bootloader application build or for the Buttonless DFU application build?&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;RMV&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Butonless secure DFU with bonds- limitation on client devices</title><link>https://devzone.nordicsemi.com/thread/287260?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 13:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe864373-4108-4552-a3b3-1a3620dce2d5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="A.P"]be applied to buttonless DFU &lt;strong&gt;without&lt;/strong&gt; bonds? Or can this only be achieved when using DFU &lt;strong&gt;with&lt;/strong&gt; bonds?[/quote]
&lt;p&gt;Yes, you can easily apply this limitation to DFU without bonds. In fact, that is the most sensible in my opinion (only allow bonded devices to enter DFU mode, but then let any device do DFU as that is less complicated and more robust, and the DFU images are anyway signed, so security would be good also in this case). The only change you need to achieve this is to modify&amp;nbsp;components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_dfu_5F00_unbonded.c.diff"&gt;devzone.nordicsemi.com/.../ble_5F00_dfu_5F00_unbonded.c.diff&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Butonless secure DFU with bonds- limitation on client devices</title><link>https://devzone.nordicsemi.com/thread/287248?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 13:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3905f81-a8b2-46e6-a867-7e6e6b9f72c9</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Thank you Einar!&lt;br /&gt;I understand.&lt;br /&gt;&lt;br /&gt;One question, if I may.&lt;br /&gt;Can your first point -&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/70077/butonless-secure-dfu-with-bonds--limitation-on-client-devices/287238#287238"]Only bonded peers can write to the Buttonless DFU characteristic[/quote]
&lt;p&gt;be applied to buttonless DFU &lt;strong&gt;without&lt;/strong&gt; bonds? Or can this only be achieved when using DFU &lt;strong&gt;with&lt;/strong&gt; bonds?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the quick and concise reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Butonless secure DFU with bonds- limitation on client devices</title><link>https://devzone.nordicsemi.com/thread/287238?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 13:11:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01ce21c6-7fa2-4c4a-a0cc-73be40f9403f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think the description is consistent and your understanding seems correct, but perhaps some clarification is needed. Let me rephrase it, and all this applies when using buttonless secure DFU service &lt;em&gt;with&lt;/em&gt; bonds:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Only bonded peers can write to the Buttonless DFU characteristic.
&lt;ul&gt;
&lt;li&gt;Once written, the bootloader will provide the bonding information for the bootloader and start the bootloader, so that it is in a buttonless DFU state.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;In this state, the bootloader will connect (and secure the link) only with the specific peer that triggered buttonless DFU&lt;/li&gt;
&lt;li&gt;If DFU is performed or times out, so that the normal application starts again any bonded peer can start a new DFU procedure.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>