<?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>Zigbee OTA upgrade file version, DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49335/zigbee-ota-upgrade-file-version-dfu</link><description>Zigbee OTA upgrade example uses the Zigbee OTA cluster recommendations concerning the firmware file name (that is used for the version control and prevention of the downgrade to the previous version if such an option enabled). According to mentioned recommendations</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jul 2019 10:43:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49335/zigbee-ota-upgrade-file-version-dfu" /><item><title>RE: Zigbee OTA upgrade file version, DFU</title><link>https://devzone.nordicsemi.com/thread/197589?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2019 10:43:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cb787a8-7f5c-44e1-a503-4d039b9a23ac</guid><dc:creator>AnnaR</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Thanks for the clarification!&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;Anna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee OTA upgrade file version, DFU</title><link>https://devzone.nordicsemi.com/thread/197294?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 08:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:911ed884-b77b-44db-b76e-50b3d982f937</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Anna.&lt;/p&gt;
&lt;p&gt;I have talked to our developers.&lt;/p&gt;
&lt;p&gt;When I did my test and it did not work I was using SDK 3.0.0. Because in SDK 3.0.0 there is a check if the stack release is the same for the new firmware as the old firmware.&lt;/p&gt;
&lt;p&gt;In SDK 3.1.0 I&amp;#39;m told that the only check is that the new firmware id (all of the 4 bytes) is larger than the old firmware id.&lt;/p&gt;
&lt;p&gt;So you should be able to configure it as you like in SDK 3.1.0, just be sure that the firmware id is larger.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee OTA upgrade file version, DFU</title><link>https://devzone.nordicsemi.com/thread/197155?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2019 13:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2a475a3-dd70-4681-bf3b-79f2093c2623</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Anna.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m waiting for assist from our developers about this question, I will come back to your :-)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee OTA upgrade file version, DFU</title><link>https://devzone.nordicsemi.com/thread/196878?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2019 14:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7a68d8a-c7cc-4cb2-a791-bcd02980c792</guid><dc:creator>AnnaR</dc:creator><description>&lt;p&gt;Hi Andreas.&lt;/p&gt;
&lt;p&gt;Thanks for your answer. I understand, that there are 9999 possible combinations (starting from 1) for the 2-byte (4-digit) BCD. But we use the semantic versioning (&lt;span&gt;&lt;a href="https://semver.org/"&gt;https://semver.org/&lt;/a&gt;&lt;/span&gt;), and it is the completely real situation, that in some future we need, for example, the 1.12.10 version number, or 2.11.15, etc. So, potentially we need at least 4 BCD digits (2 digits for major and 2 digits for minor) instead of 2 BCD digits marked the &amp;ldquo;Application Release&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Of course, it is possible to make some additional increment &amp;ldquo;internal&amp;rdquo; decoding from the version number shown in the Basic cluster to the value from [1 &amp;ndash; 9999] region used for the OTA update, but it would be more convenient to use the same representation for both.&lt;/p&gt;
&lt;p&gt;Could you, please, advise, does it worth to look through the OTA client on the subject of mentioned semantic versioning implementation (i.e., omitting the stack number, that is 0x0101 anyway, for the Zigbee OTA client examples from different Zigbee SDK versions with the different ZBOSS builds)?&lt;/p&gt;
&lt;p&gt;Or, it is better just to use the conversion to [1..9999] OTA version number, in order to avoid further possible problems with SDK migration, etc.?&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;Anna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee OTA upgrade file version, DFU</title><link>https://devzone.nordicsemi.com/thread/196751?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2019 08:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54009ae8-8a68-4fea-bed4-6838484fad4d</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;According to the specification, it is as you mentioned, 2 bytes for application release and build, and 2 bytes for stack release and build.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-db9c9b1eba974a42bea7bad1d1fe2340/pastedimage1562313958163v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But you do have 99 different numbers you can use for Application release and Application build.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/376x357/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-db9c9b1eba974a42bea7bad1d1fe2340/pastedimage1562316421289v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve ran some tests and I don&amp;#39;t think it is possible to exclude the stack release and build info fields. When I ran the tests the server broadcasts out&amp;nbsp;&lt;strong&gt;OTA: Image Notify packets, &lt;/strong&gt;but the client does not respond with a &lt;strong&gt;OTA: Query Next Image Request packet.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>