<?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>SDK 15.1 missing bracket</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38097/sdk-15-1-missing-bracket</link><description>There is missing bracket in /components/ble/peer_manager/nrf_ble_lesc.c:103 
 
 As a result for example ble_app_hrs example can not build.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2020 09:15:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38097/sdk-15-1-missing-bracket" /><item><title>RE: SDK 15.1 missing bracket</title><link>https://devzone.nordicsemi.com/thread/228293?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 09:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db4a320b-90ac-496f-863d-81470bc0cb7e</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The extra parenthesis is removed in sdk 15.3 on Line 107 of nrf_ble_lesc.c:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#elif&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;defined&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;NRF_CRYPTO_RNG_AUTO_INIT_ENABLED&lt;/span&gt;&lt;span&gt;) &lt;/span&gt;&lt;span&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;NRF_CRYPTO_RNG_AUTO_INIT_ENABLED&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;==&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.1 missing bracket</title><link>https://devzone.nordicsemi.com/thread/228273?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 07:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9bf9db6-ff25-4c9b-ad19-7a525fa17ab5</guid><dc:creator>lavande</dc:creator><description>&lt;p&gt;I compared 15.2.0 with 15.3.0, and found that it is the same in&amp;nbsp;nrf_ble_lesc.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.1 missing bracket</title><link>https://devzone.nordicsemi.com/thread/227742?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 15:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9e2d058-ba6f-401b-83a6-36ba634c3aeb</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;fixed in 15.3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.1 missing bracket</title><link>https://devzone.nordicsemi.com/thread/226827?ContentTypeID=1</link><pubDate>Wed, 25 Dec 2019 13:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7183a316-cd0b-4091-bbe9-d3a0b2a0258c</guid><dc:creator>lavande</dc:creator><description>&lt;p&gt;Hi, I fixed it with :&lt;/p&gt;
&lt;p&gt;#if NRF_MODULE_ENABLED(NRF_CRYPTO_RNG_AUTO_INIT_ENABLED) /*defined(NRF_CRYPTO_RNG_AUTO_INIT_ENABLED) &amp;amp;&amp;amp; (NRF_CRYPTO_RNG_AUTO_INIT_ENABLED == 1)*/&lt;br /&gt; // Do nothing. RNG is initialized with nrf_crypto_init call.&lt;br /&gt;#elif !NRF_MODULE_ENABLED(NRF_CRYPTO_RNG_AUTO_INIT_ENABLED) /*defined((NRF_CRYPTO_RNG_AUTO_INIT_ENABLED) &amp;amp;&amp;amp; (NRF_CRYPTO_RNG_AUTO_INIT_ENABLED == 0)*/&lt;br /&gt; // Initialize the RNG.&lt;br /&gt; err_code = nrf_crypto_rng_init(NULL, NULL);&lt;br /&gt; if (err_code != NRF_SUCCESS)&lt;br /&gt; {&lt;br /&gt; NRF_LOG_ERROR(&amp;quot;nrf_crypto_rng_init() returned error 0x%x.&amp;quot;, err_code);&lt;br /&gt; return err_code;&lt;br /&gt; }&lt;br /&gt;#else&lt;br /&gt; #error Invalid sdk_config.h (does not contain NRF_CRYPTO_RNG_AUTO_INIT_ENABLED)&lt;br /&gt;#endif // defined(NRF_CRYPTO_RNG_AUTO_INIT_ENABLED) &amp;amp;&amp;amp; (NRF_CRYPTO_RNG_AUTO_INIT_ENABLED == 1)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.1 missing bracket</title><link>https://devzone.nordicsemi.com/thread/226826?ContentTypeID=1</link><pubDate>Wed, 25 Dec 2019 13:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d63e84d-8f95-4f86-b545-e1482b590225</guid><dc:creator>lavande</dc:creator><description>&lt;p&gt;Hi, How is it going?&amp;nbsp; It stil happened in 15.2!&amp;nbsp; @&amp;#39;bjorn.spackeli@nordicsemi.no&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.1 missing bracket</title><link>https://devzone.nordicsemi.com/thread/146905?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 08:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:596e8796-faf0-4060-918e-08eec6b05918</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Yeah I see it, there seems to be an extra parenthesis after &amp;#39;defined&amp;#39;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;d like to know what IDE/compiler you&amp;#39;re using and what modifications you&amp;#39;ve made to the example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>