<?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 Timeout in nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74777/mqtt-timeout-in-nrf9160</link><description>Hi, 
 We have been using the MQTT sample code with a few iBasis SIM cards for some time without issue. This week we made a test where the mqtt_disconnect function in the sample code was called to force a disconnection; the problem is that after this the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 May 2021 11:33:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74777/mqtt-timeout-in-nrf9160" /><item><title>RE: MQTT Timeout in nRF9160</title><link>https://devzone.nordicsemi.com/thread/309659?ContentTypeID=1</link><pubDate>Thu, 13 May 2021 11:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57a86974-7cc1-446a-b448-b9aedd6b788e</guid><dc:creator>uhrm</dc:creator><description>&lt;p&gt;Hi Didrik,&lt;/p&gt;
&lt;p&gt;It was indeed a data issue. The problem seems that the SIM data information in nRF cloud takes a while to refresh (at least a day?). So, when the issue happened and we checked in nRF cloud the same day, the SIMs apparently still had data available, but checking one or two days later they were completely out. Once we realized this we just purchased more and the SIMs worked right away.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;uhrm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT Timeout in nRF9160</title><link>https://devzone.nordicsemi.com/thread/308579?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 14:19:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:466b6410-42d8-465f-b8c9-a7994bd98a31</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have any log files?&lt;/p&gt;
&lt;p&gt;If you can capture a &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html"&gt;modem trace&lt;/a&gt;, that would also be helpful.&lt;/p&gt;
&lt;p&gt;During your tests, do you also disconnect from the cellular network?&lt;/p&gt;
&lt;p&gt;Does it happen after only one disconnect?&lt;/p&gt;
&lt;p&gt;Do you do any additional cleanup, or are you re-using the same mqtt_client struct?&lt;/p&gt;
&lt;p&gt;If you put one of the &amp;quot;failed&amp;quot; SIM cards in a new device, would that device work?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>