<?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>MQTT+TLS does not work when including math.h</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49134/mqtt-tls-does-not-work-when-including-math-h</link><description>I&amp;#39;m developing a device using mqtt+tls referring the link here. 
 https://devzone.nordicsemi.com/f/nordic-q-a/48407/how-to-use-mqtt-tls-in-nrf9160 
 When I add CONFIG_NEWLIB_LIBC=y to prj.conf and #include &amp;lt;math.h&amp;gt; to main.c, certificates.h file which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jul 2019 13:11:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49134/mqtt-tls-does-not-work-when-including-math-h" /><item><title>RE: MQTT+TLS does not work when including math.h</title><link>https://devzone.nordicsemi.com/thread/196011?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 13:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e90449-918c-4e88-809b-ebfd6b8effac</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Yea, it&amp;#39;s printed&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SPM: NS image at 0xc000
SPM: NS MSP at 0x20024bd8
SPM: NS reset vector at 0x14aad
SPM: prepare to jump to Non-Secure image.
***** Booting Zephyr OS v1.14.99-ncs2-rc3 *****
The MQTT simple sample started
Deleting certs sec_tag: 16842753
nrf_inbuilt_key_delete(16842753, 0) =&amp;gt; result=2
Deleting certs sec_tag: 16842753
nrf_inbuilt_key_delete(16842753, 1) =&amp;gt; result=2
Deleting certs sec_tag: 16842753
nrf_inbuilt_key_delete(16842753, 2) =&amp;gt; result=2
Deleting certs sec_tag: 16842753
nrf_inbuilt_key_delete(16842753, 3) =&amp;gt; result=2
Deleting certs sec_tag: 16842753
nrf_inbuilt_key_delete(16842753, 4) =&amp;gt; result=2
Write ca certs sec_tag: 16842753
Write private cert sec_tag: 16842753
Write public cert sec_tag: 16842753
LTE Link Connecting ...&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT+TLS does not work when including math.h</title><link>https://devzone.nordicsemi.com/thread/195647?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 12:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24859287-950b-4c8f-a414-e7dcbd83d730</guid><dc:creator>Sigurd</dc:creator><description>[quote user="yusuke217"]This bug might not&amp;nbsp;affect the program behavior itself.[/quote]
&lt;p&gt;&amp;nbsp;Good, if you also see e.g &amp;quot;&lt;span&gt;Write ca certs sec_tag&amp;quot; printed on the terminal,&amp;nbsp;which is only printed when&amp;nbsp;CA_CERTIFICATE&amp;nbsp;is defined, then this is just a visual bug in SES.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT+TLS does not work when including math.h</title><link>https://devzone.nordicsemi.com/thread/195622?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 11:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dff18063-7026-4063-a14f-3a13be885273</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I&amp;#39;m sure&amp;nbsp;&lt;span&gt;CA_CERTIFICATE is defined in certificates.h&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/_B930AF30EA30FC30F330B730E730C330C830_-2019_2D00_07_2D00_01-20.46.15.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Although there are some warning when I add&amp;nbsp;CONFIG_NEWLIB_LIBC=y to prj.conf and #include &amp;lt;math.h&amp;gt; to main.c, the program works out! This bug might not&amp;nbsp;affect the program behavior itself.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT+TLS does not work when including math.h</title><link>https://devzone.nordicsemi.com/thread/195614?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 11:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:125e6b01-6448-421e-8508-cabd786ee6b9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you sure that e.g&amp;nbsp;&lt;span&gt;CA_CERTIFICATE is defined ? If yes, it could be a visual GUI bug in SES.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you run the code, do you get e.g. &amp;quot;Write ca certs sec_tag:&amp;quot; printed in the terminal ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>