<?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 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52540/nrf9160-disconnects-after-4-5-minutes-when-keep-alive-time-is-60</link><description>Hello Nordic Semiconductor, 
 
 I connected my nRF9160 with my MQTT broker. My MQTT client as well as broker&amp;#39;s keep alive time is 60. 
 MQTT client connection disconnects after 4-5 minutes with POLLNVAL error. 
 My application needs MQTT connection always</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Oct 2019 13:08:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52540/nrf9160-disconnects-after-4-5-minutes-when-keep-alive-time-is-60" /><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/213434?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2019 13:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e50259c-0758-4df0-b321-131866a36a52</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="yusuke217"]In Tokyo, using iBasis SIM,&amp;nbsp;network connection is automatically disconnected every five minutes. I observed this issue a few month ago and stopped using the SIM. Hologram SIM works fine.[/quote]
&lt;p&gt;&amp;nbsp;This is very valuable feedback! Thank you for posting your findings. I&amp;#39;ll make a note of this, as its not always easy for us to test all locations over the different continents.&lt;/p&gt;
&lt;p&gt;Thanks, and I hope you have a good weekend!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/213233?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 14:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f6b13cb-60b5-48d7-9ad6-ee480ae2a68a</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;In Tokyo, using iBasis SIM,&amp;nbsp;network connection is automatically disconnected every five minutes. I observed this issue a few month ago and stopped using the SIM. Hologram SIM works fine.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure your&amp;nbsp;problem&amp;nbsp;is related to this issue but just tell you for some reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/212816?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 12:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd000277-6b84-4705-9e44-593a2395d06d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Nikunj,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try connecting to mqtt.eclipse.org and see if this also behaves similar?&lt;/p&gt;
&lt;p&gt;You could try to adjust the keep-alive and check what happens then.&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><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/212749?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 09:07:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac51cdb7-1406-472f-a5cb-1664fc397773</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;I do connect with own server not with mqtt.eclipse.org.&lt;/p&gt;
&lt;p&gt;There is no TLS used in it.&lt;/p&gt;
&lt;p&gt;I Need configuration as like,&lt;/p&gt;
&lt;p&gt;Connect to MQTT broker --&amp;gt; send data --&amp;gt; to MQTT broker&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But every time I got POLLNVAL error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/212567?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2019 11:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d55ee724-54d8-418e-9703-d592fef07474</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Nikunj,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am unable to reproduce this with the standard mqtt_simple sample. If you for instance connect to mqtt.eclipse.org (see this line:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/samples/nrf9160/mqtt_simple/prj.conf#L34"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/samples/nrf9160/mqtt_simple/prj.conf#L34&lt;/a&gt;), are you then able to reproduce the issue?&lt;/p&gt;
&lt;p&gt;Is there any TLS used? Are you connecting to a public mqtt server, or is it your own server?&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><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/211986?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 08:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1fbb39b-543b-4dcc-a4ee-55b37d65b00b</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Output of CESQ command is,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+CESQ
+CESQ: 99,99,255,255,255,57
OK&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Yes, I am using latest modem firmware v1.0.1 for dk&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tag of my ncs SDK is v1.0.0,&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1569487859635v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/211764?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 10:39:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1846160-45aa-44b2-b880-f7d7682bdf6a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the output of CESQ at command?&lt;/p&gt;
&lt;p&gt;Are you running the latest modem fw, v1.0.1?&lt;/p&gt;
&lt;p&gt;Which tag of the NCS SDK are you using?&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><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/211663?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 04:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0b4ec42-afc2-4655-8ba6-8326f0138964</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;Hello Hakon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;1. Signal strength is good in my area I can connect with MQTT as well as send data also.&lt;/p&gt;
&lt;p&gt;2. This is on development kit of nRF9160 pca_0.8.5 hardware&lt;/p&gt;
&lt;p&gt;3. This behavior is consistent, it disconnects after 3-4 minutes.&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp; I am using nRF9160 SICA BAA version chip.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 disconnects after 4-5 minutes when keep alive time is 60</title><link>https://devzone.nordicsemi.com/thread/211582?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 14:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae6b569e-9126-46e4-9d03-694fe2918f32</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1: How is your signal strength? It can be checked using this AT command:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/cesq_set.html?cp=2_1_3_4_0"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/cesq_set.html?cp=2_1_3_4_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Q2: Is this on a development kit or a custom board?&lt;/p&gt;
&lt;p&gt;Q3: Is the behavior consistent, or can it sometimes take hours before the disconnect occurs?&lt;/p&gt;
&lt;p&gt;Q4: What checkout of &amp;quot;nrf&amp;quot; are you using?&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>