<?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>How to get nRF Connect SDK Version from code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80195/how-to-get-nrf-connect-sdk-version-from-code</link><description>Hi, I&amp;#39;ve been working on SDK v1.6.1 and I just wanted to try the v1.7.0, however some functions on the power management have changed, in particularly: 
 
 int pm_device_state_set ( const struct device * dev , enum pm_device_state device_power_state );</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Oct 2021 15:46:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80195/how-to-get-nrf-connect-sdk-version-from-code" /><item><title>RE: How to get nRF Connect SDK Version from code</title><link>https://devzone.nordicsemi.com/thread/332187?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 15:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25479e36-2a97-49de-811a-412e6636f1b3</guid><dc:creator>nvelozsavino</dc:creator><description>&lt;p&gt;I already discover how to do:&lt;br /&gt;&lt;br /&gt;I just included #include &amp;lt;ncs_version.h&amp;gt; and use the&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;NCS_VERSION_NUMBER define to determine which version of the sdk I&amp;#39;m using&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>