<?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>Debugging MQTT on nrf9160dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71839/debugging-mqtt-on-nrf9160dk</link><description>Hi, 
 I&amp;#39;m having some difficulty debugging an issue with the mqtt library on the nrf9160dk. 
 I have written my own Cmqtt library class that wraps the Zephyr mqtt library. It all seems to work well, can connect, subscribe, publish however ..... when I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Feb 2021 09:14:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71839/debugging-mqtt-on-nrf9160dk" /><item><title>RE: Debugging MQTT on nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/295752?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 09:14:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94595e97-76e7-4a08-b512-6b03dac5aa03</guid><dc:creator>LordLucan</dc:creator><description>&lt;p&gt;Thank you for this. That is helpful information. I&amp;#39;ll roll back to previous SDK version and see if I can determine what the original problem was.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging MQTT on nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/295697?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 17:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81757787-b46b-49b7-b117-5c6b416bf6a9</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;You could try setting these in the prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_LOG=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then the system won&amp;#39;t reset when an error happens, and if you open Termite and connect it to your board, you&amp;#39;ll be provided with information about the fault that happened.&lt;/p&gt;
&lt;p&gt;You could also test out SEGGER Ozone for debugging:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/tools/nordic_segger.html#segger-ozone"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/tools/nordic_segger.html#segger-ozone&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging MQTT on nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/295559?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 12:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f40334c8-c0ca-4709-8450-339b0bf38d0a</guid><dc:creator>LordLucan</dc:creator><description>&lt;p&gt;I tried upgrading to SDK 1.5.0-RC1 and it all seems to work now!&lt;/p&gt;
&lt;p&gt;I think there must be a subtle bug somewhere in Zephyr RTOS that has been fixed. But my questions above still stand. It is very frustrating when Zephyr constantly reboots not being able to get any idea why.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging MQTT on nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/295435?ContentTypeID=1</link><pubDate>Sat, 20 Feb 2021 10:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fa409b5-7c13-41f7-9654-923a429eede3</guid><dc:creator>LordLucan</dc:creator><description>&lt;p&gt;I should add this is with SDK 1.4.2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>