<?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>nRF9160 MQTT with TLS disconnects if subscribing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61544/nrf9160-mqtt-with-tls-disconnects-if-subscribing</link><description>Environment: nrf9160DK v0.8.2 nRF Connect SDK v1.2.0 Modem firmware: v1.2.0 Toolchain: gcc-arm-none-eabi-9-2019-q4-major-win32 I started with the nrf mqtt_simple sample and modified it to enable TLS support. Connection to the broker succeeds, and when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 May 2020 16:46:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61544/nrf9160-mqtt-with-tls-disconnects-if-subscribing" /><item><title>RE: nRF9160 MQTT with TLS disconnects if subscribing</title><link>https://devzone.nordicsemi.com/thread/251068?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 16:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5465f23-4d3c-437b-a726-c2f12f329326</guid><dc:creator>Jon Alvik</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon, thank you for responding&lt;/p&gt;
&lt;p&gt;I was able to resolve the issue by reverting to the mqtt_simple example and re-tracing my steps.&lt;/p&gt;
&lt;p&gt;The cause of the issue was use of some uninitialized data when subscribing to one of the MQTT topics. There was no error message, but stepping through the offending code caused the debugger to disconnect while the code continued executing seemingly normal.&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 MQTT with TLS disconnects if subscribing</title><link>https://devzone.nordicsemi.com/thread/250969?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 12:31:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90df9ff2-dffc-4607-94a1-4aef60e2f495</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Jon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Although there has been several releases of bsdlib since tag v1.2.0 (which is based on v0.6.1), this does not sound like a previously known issue, as per the changelog:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/doc/CHANGELOG.rst"&gt;https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/doc/CHANGELOG.rst&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you share your project?&lt;/p&gt;
&lt;p&gt;If it holds any code that you do not want to share publicly, please let me know, and I can make this case private.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>