<?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>BT_HCI_OP_VS_READ_VERSION_INFO result seems incorrect?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117879/bt_hci_op_vs_read_version_info-result-seems-incorrect</link><description>I&amp;#39;m using NCS 2.7.0 and NCS 2.9.0 to read the BT stack version information on an nRF5340. See below for the results. 
 How should the fw_version, fw_revision, and fw_build be interpreted? The numbers look quite large to be major, minor, patch. I&amp;#39;m looking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2025 16:59:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117879/bt_hci_op_vs_read_version_info-result-seems-incorrect" /><item><title>RE: BT_HCI_OP_VS_READ_VERSION_INFO result seems incorrect?</title><link>https://devzone.nordicsemi.com/thread/517776?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 16:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a74fa80a-e938-4378-a88e-2448312e934e</guid><dc:creator>denis</dc:creator><description>&lt;p&gt;I ended up checking the manifest for each release tag and then creating my own table that maps git hash to release tag. &amp;nbsp;So I&amp;#39;m good for now. &amp;nbsp;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BT_HCI_OP_VS_READ_VERSION_INFO result seems incorrect?</title><link>https://devzone.nordicsemi.com/thread/517775?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 16:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46075c5f-fdd2-4309-a46c-70ec5271d563</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user="denis"]So to summarize, the&amp;nbsp;&lt;span&gt;fw_version, fw_revision&amp;nbsp;, fw_build numbers get turned into the git commit prefix. &amp;nbsp;Correct?&lt;/span&gt;[/quote]
&lt;p&gt;A Git commit number is used to generate these 3 variables.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;ll_subversion_number seem to be incrementing though.&lt;/p&gt;
[quote user="denis"]Is there any way to get a soft device version&amp;nbsp;number from the git repo? &amp;nbsp;And/or&amp;nbsp;nRF Connect SDK version number?[/quote]
&lt;p&gt;Not sure what you mean here, didn&amp;#39;t you just do that by reading the manifest that is part of the git repo?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1736441860893v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BT_HCI_OP_VS_READ_VERSION_INFO result seems incorrect?</title><link>https://devzone.nordicsemi.com/thread/517739?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 14:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5493003-0764-4683-af40-a85b5db16abd</guid><dc:creator>denis</dc:creator><description>&lt;p&gt;So to summarize, the&amp;nbsp;&lt;span&gt;fw_version, fw_revision&amp;nbsp;, fw_build numbers get turned into the git commit prefix. &amp;nbsp;Correct?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the manifest.xml I see:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;description: SoftDevice Controller&lt;br /&gt;git_revision: 2d79a1c86a40b73cf674f90b22d3c480747282ba&lt;br /&gt;ll_subversion_number: &amp;#39;0x206B&amp;#39;&lt;br /&gt;ll_version_number: &amp;#39;0x0E&amp;#39;&lt;br /&gt;timestamp: &amp;#39;2024-12-12T12:43:40Z&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there any way to get a soft device version&amp;nbsp;number from the git repo? &amp;nbsp;And/or&amp;nbsp;nRF Connect SDK version number?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BT_HCI_OP_VS_READ_VERSION_INFO result seems incorrect?</title><link>https://devzone.nordicsemi.com/thread/517649?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 10:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1876f74-0dfb-4b27-ac61-7fee68a871df</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;The numbers looks correct. There is no major.minor.patch format to these&amp;nbsp;&lt;span&gt;fw_version, fw_revision&amp;nbsp;, fw_build numbers. So you can&amp;#39;t determine if the stack is newer or not by only comparing 2 sets with&amp;nbsp;fw_revision,fw_revision,&amp;nbsp;fw_build .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You need to look at the rev for the SDC, e.g. SDC for nRF53 NCS 2.9.0 here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/tree/v2.9.0/softdevice_controller/lib/nrf53/soft-float"&gt;https://github.com/nrfconnect/sdk-nrfxlib/tree/v2.9.0/softdevice_controller/lib/nrf53/soft-float&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For 2.9.0 it&amp;#39;s&amp;nbsp;2d 79a1 c86a40b7 3cf674f90b22d3c480747282ba&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;hex 2d -&amp;gt; dec 45&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;hex A179 -&amp;gt; dec 41337&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;hex B7406AC8 -&amp;gt; dec 3074452168&lt;/span&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;fw_version =45 &amp;#39;-&amp;#39;&lt;/p&gt;
&lt;p&gt;fw_revision =41337&lt;/p&gt;
&lt;p&gt;fw_build =3074452168&lt;/p&gt;[/quote]
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>