<?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 delay / network problem?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57062/nrf9160-mqtt-delay-network-problem</link><description>I see unexpected delays when running MQTT sample. The issue seems to be network related. When connecting delay is &amp;quot;normal&amp;quot; but after a few seconds roundtrip delay increases. Probably network related? Using Telia in Sweden. 
 
 
 A TCP trace shows lots</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 09:38:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57062/nrf9160-mqtt-delay-network-problem" /><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/244376?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 09:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d67ab3-9bd1-4074-aaac-3ab552736bea</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Please verify that this has been solved on the network side:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/51223/lte-m-ip-connectivity-available-only-3-seconds-every-11-seconds/243724#243724"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/51223/lte-m-ip-connectivity-available-only-3-seconds-every-11-seconds/243724#243724&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/243352?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 09:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46948001-184a-4075-8a0a-9853417fae46</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Torgil,&lt;/p&gt;
&lt;p&gt;I would recommend contacting your RSM with regards to your last question. Since they usually have a better overview of this kind of information. (send me a PM if you do not have the contact info)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/241178?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 14:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:241a9ee9-0656-41e5-9838-5c9f7499b840</guid><dc:creator>torgil</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m curious to know how your field tests in Sweden turned out. We have so far not been able to find a service provider for LTE-M in Sweden who offers a reliable connection. Still we think that your nRF9160 would be a perfect match for our project. What is your opinion regarding coverage, connection stability, response times and reliability for LTE-M in Sweden?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/235453?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 12:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c34aaf9-4dcd-4a63-8d7d-e38a2014583e</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Torgil,&lt;br /&gt;We are going to do some field testing in Sweden very soon, and we would appreciate some recommended areas where we could test this out.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/234106?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 07:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:199fd514-2803-4138-b7cd-c94ba3d01b32</guid><dc:creator>torgil</dc:creator><description>&lt;p&gt;&lt;span&gt;Just to confirm we have done some experiments using another LTE-M modem (SIMCOM SIM7000e) and we experience the exact same behaviour with Telias network. Seems to me this is clearly a problem with Telia and LTE-M. Hard though to find any providers not roaming with Telia so probably we need to find a way to blacklist them from the modem.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/231938?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 14:45:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d993b981-1254-40fa-b031-6909d98a57a5</guid><dc:creator>torgil</dc:creator><description>&lt;p&gt;I can confirm that when I switch from Telia to Telenor (using the same hardware and the same SIM card from iBasis) the problem is gone. RTT delay for MQTT messages within Telenor is about 300 - 500 ms. Using Telia client to server delay is more about 15 seconds and server to client not possible at all. Messages server to client could sometimes be delivered upon next transmission from client to server.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SAMPLE SESSION TELIA

[2020-01-30 13:37:20.47]&amp;lt; *** Booting Zephyr OS version 2.1.0  ***
[2020-01-30 13:37:20.57]&amp;lt; The MQTT simple sample started
[2020-01-30 13:37:20.58]&amp;lt; LTE Link Connecting ...
AT+COPS=1,2,&amp;quot;24001&amp;quot;   manually chose Telia
[2020-01-30 13:37:23.134]&amp;gt; AT+COPS=1,2,&amp;quot;24001&amp;quot;
[2020-01-30 13:37:23.163]&amp;lt; +CEREG: 2,&amp;quot;FFFE&amp;quot;,&amp;quot;FFFFFFFF&amp;quot;,7,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-30 13:37:27.814]&amp;lt; +CEREG: 2,&amp;quot;0093&amp;quot;,&amp;quot;018D2820&amp;quot;,7,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-30 13:37:30.507]&amp;lt; OK
[2020-01-30 13:37:30.512]&amp;lt; +CEREG: 5,&amp;quot;0093&amp;quot;,&amp;quot;018D2820&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-30 13:37:30.539]&amp;lt; LTE Link Connected!
[2020-01-30 13:37:30.540]&amp;lt; client_init
[2020-01-30 13:37:30.683]&amp;lt; IPv4 Address found **************
[2020-01-30 13:37:30.686]&amp;lt; mqtt_connect
[2020-01-30 13:37:31.44]&amp;lt; [mqtt_evt_handler:181] MQTT client connected!
[2020-01-30 13:37:31.52]&amp;lt; Subscribing to: tests/subscribe/topic len 21
[2020-01-30 13:37:31.269]&amp;lt; [mqtt_evt_handler:231] SUBACK packet id: 1234
AT+COPS?
[2020-01-30 13:37:39.850]&amp;gt; AT+COPS?
[2020-01-30 13:37:39.857]&amp;lt; +COPS: 1,2,&amp;quot;24001&amp;quot;,7
[2020-01-30 13:37:39.857]&amp;lt; OK
AT%XSYSTEMMODE?
[2020-01-30 13:37:44.666]&amp;gt; AT%XSYSTEMMODE?
[2020-01-30 13:37:44.674]&amp;lt; %XSYSTEMMODE: 1,0,0,0
[2020-01-30 13:37:44.674]&amp;lt; OK
AT%XCBAND
[2020-01-30 13:37:50.462]&amp;gt; AT%XCBAND
[2020-01-30 13:37:50.470]&amp;lt; %XCBAND: 20
[2020-01-30 13:37:50.470]&amp;lt; OK
AT+CGDCONT?
[2020-01-30 13:37:55.294]&amp;gt; AT+CGDCONT?
[2020-01-30 13:37:55.307]&amp;lt; +CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;ibasis.iot&amp;quot;,&amp;quot;10.160.248.194&amp;quot;,0,0
[2020-01-30 13:37:55.308]&amp;lt; OK
AT+CESQ
[2020-01-30 13:38:02.188]&amp;gt; AT+CESQ
[2020-01-30 13:38:02.195]&amp;lt; +CESQ: 99,99,255,255,5,31
[2020-01-30 13:38:02.196]&amp;lt; OK
AT+CGSN
[2020-01-30 13:38:11.92]&amp;gt; AT+CGSN
[2020-01-30 13:38:11.98]&amp;lt; ***************
[2020-01-30 13:38:11.99]&amp;lt; OK
AT+CGMI
[2020-01-30 13:38:19.858]&amp;gt; AT+CGMI
[2020-01-30 13:38:19.864]&amp;lt; Nordic Semiconductor ASA
[2020-01-30 13:38:19.865]&amp;lt; OK
AT+CGMM
[2020-01-30 13:38:25.650]&amp;gt; AT+CGMM
[2020-01-30 13:38:25.657]&amp;lt; nRF9160-SICA
[2020-01-30 13:38:25.657]&amp;lt; OK
AT+CGMR
[2020-01-30 13:38:31.26]&amp;gt; AT+CGMR
[2020-01-30 13:38:31.33]&amp;lt; mfw_nrf9160_1.1.0
[2020-01-30 13:38:31.34]&amp;lt; OK
[2020-01-30 13:38:41.241]&amp;lt; +CEREG: 5,&amp;quot;0324&amp;quot;,&amp;quot;018D2920&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
AT+CIMI
[2020-01-30 13:39:06.288]&amp;gt; AT+CIMI
[2020-01-30 13:39:06.294]&amp;lt; ***************
[2020-01-30 13:39:06.294]&amp;lt; OK
AT+CGSN
[2020-01-30 13:39:16.810]&amp;gt; AT+CGSN
[2020-01-30 13:39:16.816]&amp;lt; ******************
[2020-01-30 13:39:16.817]&amp;lt; OK
AT+CGSN=1
[2020-01-30 13:39:22.882]&amp;gt; AT+CGSN=1
[2020-01-30 13:39:22.889]&amp;lt; +CGSN: &amp;quot;*********************&amp;quot;
[2020-01-30 13:39:22.890]&amp;lt; OK
[2020-01-30 13:39:37.597]&amp;lt; button_handler
[2020-01-30 13:39:37.600]&amp;lt; Publishing: button handler
[2020-01-30 13:39:37.612]&amp;lt; to topic: tests/publish/topic len: 19  MQTT message generated at device

[2020-01-30 13:39:52.052063] tests/publish/topic button handler  message arrives at MQTT broker, delay 15 s

[2020-01-30 13:39:52.136]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 58103
[2020-01-30 13:39:57.948]&amp;lt; button_handler
[2020-01-30 13:39:57.950]&amp;lt; Publishing: button handler
[2020-01-30 13:39:57.955]&amp;lt; to topic: tests/publish/topic len: 19  MQTT message generated at device

[2020-01-30 13:40:06.850188] tests/publish/topic button handler  message arrives at MQTT broker, delay 9 s

[2020-01-30 13:40:06.923]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 4061

[2020-01-30 13:40:24.718005] tests/subscribe/topic test  MQTT message generated at server

[2020-01-30 13:41:15.794]&amp;lt; button_handler
[2020-01-30 13:41:15.796]&amp;lt; Publishing: button handler
[2020-01-30 13:41:15.799]&amp;lt; to topic: tests/publish/topic len: 19  MQTT message generated at device

[2020-01-30 13:41:18.289871] tests/publish/topic button handler  message arrives at MQTT broker, delay 3 s

[2020-01-30 13:41:34.972]&amp;lt; button_handler
[2020-01-30 13:41:34.974]&amp;lt; Publishing: button handler
[2020-01-30 13:41:34.980]&amp;lt; to topic: tests/publish/topic len: 19  MQTT message generated at device


[2020-01-30 13:41:42.576]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4  MQTT message 13:40:24.718005 arrives at device, delay 78 s
[2020-01-30 13:41:42.579]&amp;lt; Received: test
[2020-01-30 13:41:42.581]&amp;lt; Publishing: test
[2020-01-30 13:41:42.612]&amp;lt; to topic: tests/publish/topic len: 19  MQTT message generated at device

[2020-01-30 13:41:42.713264] tests/publish/topic button handler  message 13:41:34.980 arrives at MQTT broker, delay 8 s

[2020-01-30 13:41:42.713350] tests/publish/topic test  message 13:41:34.980 arrives at MQTT broker, delay 0.1 s, RTT 78.1 s

[2020-01-30 13:41:42.815]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 64592

[2020-01-30 13:41:42.877461] tests/subscribe/topic test  MQTT message generated at server

[2020-01-30 13:41:43.427]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 37673
[2020-01-30 13:41:43.435]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 24755
[2020-01-30 13:41:43.440]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4  MQTT message arrives at device, delay 1 s
[2020-01-30 13:41:43.443]&amp;lt; Received: test
[2020-01-30 13:41:43.444]&amp;lt; Publishing: test
[2020-01-30 13:41:43.452]&amp;lt; to topic: tests/publish/topic len: 19

[2020-01-30 13:41:43.809424] tests/publish/topic test  message 13:41:34.980 arrives at MQTT broker, delay 0.1 s, RTT 1s

[2020-01-30 13:41:43.972]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 53118
[2020-01-30 13:42:19.639]&amp;lt; +CEREG: 5,&amp;quot;0093&amp;quot;,&amp;quot;018D2B20&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-30 13:42:21.515]&amp;lt; +CEREG: 5,&amp;quot;0324&amp;quot;,&amp;quot;018D2920&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
SAMPLE SESSION TELENOR:

[2020-01-30 13:43:51.811]&amp;lt; *** Booting Zephyr OS version 2.1.0  ***
[2020-01-30 13:43:51.821]&amp;lt; The MQTT simple sample started
[2020-01-30 13:43:51.841]&amp;lt; LTE Link Connecting ...
AT+COPS=1,2,&amp;quot;24008&amp;quot;   manually chose Telenor
[2020-01-30 13:43:57.159]&amp;gt; AT+COPS=1,2,&amp;quot;24008&amp;quot;
[2020-01-30 13:43:57.186]&amp;lt; +CEREG: 2,&amp;quot;FFFE&amp;quot;,&amp;quot;FFFFFFFF&amp;quot;,7,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-30 13:44:00.419]&amp;lt; +CEREG: 2,&amp;quot;2EE0&amp;quot;,&amp;quot;01AE9B0B&amp;quot;,7,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-30 13:44:04.569]&amp;lt; +CEREG: 5,&amp;quot;2EE0&amp;quot;,&amp;quot;01AE9B0B&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-30 13:44:04.572]&amp;lt; LTE Link Connected!
[2020-01-30 13:44:04.621]&amp;lt; client_init
[2020-01-30 13:44:04.621]&amp;lt; OK
[2020-01-30 13:44:05.2]&amp;lt; IPv4 Address found 91.106.198.236
[2020-01-30 13:44:05.4]&amp;lt; mqtt_connect
[2020-01-30 13:44:05.275]&amp;lt; [mqtt_evt_handler:181] MQTT client connected!
[2020-01-30 13:44:05.281]&amp;lt; Subscribing to: tests/subscribe/topic len 21
[2020-01-30 13:44:05.476]&amp;lt; [mqtt_evt_handler:231] SUBACK packet id: 1234
[2020-01-30 13:44:15.863]&amp;lt; button_handler
[2020-01-30 13:44:15.865]&amp;lt; Publishing: button handler
[2020-01-30 13:44:15.876]&amp;lt; to topic: tests/publish/topic len: 19

[2020-01-30 13:44:16.242521] tests/publish/topic button handler  message arrives at MQTT broker, delay 0.4 s

[2020-01-30 13:44:16.281]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 8904
[2020-01-30 13:44:25.943]&amp;lt; button_handler
[2020-01-30 13:44:25.947]&amp;lt; Publishing: button handler
[2020-01-30 13:44:25.949]&amp;lt; to topic: tests/publish/topic len: 19

[2020-01-30 13:44:26.483625] tests/publish/topic button handler  message arrives at MQTT broker, delay 0.5 s

[2020-01-30 13:44:26.520]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 11575

[2020-01-30 13:44:32.471463] tests/subscribe/topic test  MQTT message generated at server

[2020-01-30 13:44:32.517]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4   MQTT message arrives at device, delay 0.1 s
[2020-01-30 13:44:32.519]&amp;lt; Received: test
[2020-01-30 13:44:32.520]&amp;lt; Publishing: test
[2020-01-30 13:44:32.527]&amp;lt; to topic: tests/publish/topic len: 19  MQTT message generated at device

[2020-01-30 13:44:32.879250] tests/publish/topic test  message arrives at MQTT broker, delay 0.4 s, RTT 0.5s

[2020-01-30 13:44:32.916]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 30462
[2020-01-30 13:44:44.148]&amp;lt; button_handler
[2020-01-30 13:44:44.151]&amp;lt; Publishing: button handler
[2020-01-30 13:44:44.183]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 13:44:44.761]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 18290
[2020-01-30 13:44:50.426]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4
[2020-01-30 13:44:50.427]&amp;lt; Received: test
[2020-01-30 13:44:50.428]&amp;lt; Publishing: test
[2020-01-30 13:44:50.445]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 13:44:50.841]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 27424
AT+COPS?
[2020-01-30 13:44:59.204]&amp;gt; AT+COPS?
[2020-01-30 13:44:59.219]&amp;lt; +COPS: 1,2,&amp;quot;24008&amp;quot;,7
[2020-01-30 13:44:59.220]&amp;lt; OK
AT%XSYSTEMMODE?
[2020-01-30 13:45:11.351]&amp;gt; AT%XSYSTEMMODE?
[2020-01-30 13:45:11.367]&amp;lt; %XSYSTEMMODE: 1,0,0,0
[2020-01-30 13:45:11.371]&amp;lt; OK
AT%XCBAND
[2020-01-30 13:45:16.112]&amp;gt; AT%XCBAND
[2020-01-30 13:45:16.127]&amp;lt; %XCBAND: 20
[2020-01-30 13:45:16.128]&amp;lt; OK
AT+CGDCONT?
[2020-01-30 13:45:24.296]&amp;gt; AT+CGDCONT?
[2020-01-30 13:45:24.315]&amp;lt; +CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;IBASIS.IOT&amp;quot;,&amp;quot;10.160.250.251&amp;quot;,0,0
[2020-01-30 13:45:24.319]&amp;lt; OK
AT+CESQ
[2020-01-30 13:45:29.960]&amp;gt; AT+CESQ
[2020-01-30 13:45:29.967]&amp;lt; +CESQ: 99,99,255,255,21,47
[2020-01-30 13:45:29.968]&amp;lt; OK
AT+CGMI
[2020-01-30 13:45:36.340]&amp;gt; AT+CGMI
[2020-01-30 13:45:36.355]&amp;lt; Nordic Semiconductor ASA
[2020-01-30 13:45:36.356]&amp;lt; OK
AT+CGMM
[2020-01-30 13:45:41.910]&amp;gt; AT+CGMM
[2020-01-30 13:45:41.923]&amp;lt; nRF9160-SICA
[2020-01-30 13:45:41.924]&amp;lt; OK
AT+CGMR
[2020-01-30 13:45:47.712]&amp;gt; AT+CGMR
[2020-01-30 13:45:47.727]&amp;lt; mfw_nrf9160_1.1.0
[2020-01-30 13:45:47.728]&amp;lt; OK
AT+CGSN
[2020-01-30 13:45:53.156]&amp;gt; AT+CGSN
[2020-01-30 13:45:53.162]&amp;lt; ***************
[2020-01-30 13:45:53.163]&amp;lt; OK
AT+CIMI
[2020-01-30 13:45:58.268]&amp;gt; AT+CIMI
[2020-01-30 13:45:58.273]&amp;lt; ***************
[2020-01-30 13:45:58.275]&amp;lt; OK
[2020-01-30 13:46:04.704]&amp;lt; button_handler
[2020-01-30 13:46:04.707]&amp;lt; Publishing: button handler
[2020-01-30 13:46:04.710]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 13:46:05.293]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 36509
[2020-01-30 13:46:07.864]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4
[2020-01-30 13:46:07.866]&amp;lt; Received: test
[2020-01-30 13:46:07.867]&amp;lt; Publishing: test
[2020-01-30 13:46:07.872]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 13:46:08.281]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 9079
[2020-01-30 14:13:39.608]&amp;lt; button_handler
[2020-01-30 14:13:39.611]&amp;lt; Publishing: button handler
[2020-01-30 14:13:39.615]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 14:13:39.799]&amp;lt; button_handler
[2020-01-30 14:13:39.802]&amp;lt; Publishing: button handler
[2020-01-30 14:13:39.807]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 14:13:40.192]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 1166
[2020-01-30 14:13:40.790]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 7432
[2020-01-30 14:14:18.393]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4
[2020-01-30 14:14:18.394]&amp;lt; Received: test
[2020-01-30 14:14:18.395]&amp;lt; Publishing: test
[2020-01-30 14:14:18.406]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 14:14:18.838]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 26932
[2020-01-30 14:14:36.319]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4
[2020-01-30 14:14:36.321]&amp;lt; Received: test
[2020-01-30 14:14:36.324]&amp;lt; Publishing: test
[2020-01-30 14:14:36.357]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 14:14:36.569]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 24471
[2020-01-30 14:14:40.525]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4
[2020-01-30 14:14:40.527]&amp;lt; Received: test
[2020-01-30 14:14:40.528]&amp;lt; Publishing: test
[2020-01-30 14:14:40.535]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 14:14:40.784]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 31271
[2020-01-30 14:14:45.28]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4
[2020-01-30 14:14:45.29]&amp;lt; Received: test
[2020-01-30 14:14:45.31]&amp;lt; Publishing: test
[2020-01-30 14:14:45.39]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 14:14:45.426]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 47747
[2020-01-30 14:15:09.588]&amp;lt; [mqtt_evt_handler:196] MQTT PUBLISH result=0 len=4
[2020-01-30 14:15:09.590]&amp;lt; Received: test
[2020-01-30 14:15:09.591]&amp;lt; Publishing: test
[2020-01-30 14:15:09.599]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 14:15:09.856]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 592
[2020-01-30 15:04:07.615]&amp;lt; button_handler
[2020-01-30 15:04:07.617]&amp;lt; Publishing: button handler
[2020-01-30 15:04:07.620]&amp;lt; to topic: tests/publish/topic len: 19
[2020-01-30 15:04:08.164]&amp;lt; [mqtt_evt_handler:221] PUBACK packet id: 2377

[2020-01-30 13:44:44.724036] tests/publish/topic button handler
[2020-01-30 13:44:50.254561] tests/subscribe/topic test
[2020-01-30 13:44:50.803992] tests/publish/topic test
[2020-01-30 13:46:05.255560] tests/publish/topic button handler
[2020-01-30 13:46:07.729265] tests/subscribe/topic test
[2020-01-30 13:46:08.243789] tests/publish/topic test
[2020-01-30 14:13:40.140719] tests/publish/topic button handler
[2020-01-30 14:13:40.140817] tests/publish/topic button handler
[2020-01-30 14:14:17.048272] tests/subscribe/topic test
[2020-01-30 14:14:18.802388] tests/publish/topic test
[2020-01-30 14:14:35.243317] tests/subscribe/topic test
[2020-01-30 14:14:36.534303] tests/publish/topic test
[2020-01-30 14:14:40.488603] tests/subscribe/topic test
[2020-01-30 14:14:40.744108] tests/publish/topic test
[2020-01-30 14:14:44.779795] tests/subscribe/topic test
[2020-01-30 14:14:45.363597] tests/publish/topic test
[2020-01-30 14:15:09.097062] tests/subscribe/topic test
[2020-01-30 14:15:09.820748] tests/publish/topic test
[2020-01-30 15:04:08.135284] tests/publish/topic button handler


&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/231884?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 12:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ff363b-6ac7-4500-9855-1ef6f9f45098</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;I am sorry to hear that you have had a bad experience with the network, but the issue does most likely not lie in the nRF9160 SiP.&lt;br /&gt;If you switched to another LTE-M chip you would most probably see that the issue persists since this is most likely an issue on the network site.&lt;/p&gt;
&lt;p&gt;I would first recommend you to try connecting to another operator at your location since that seems to have helped other developers&amp;nbsp;with the same issue.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/231837?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 10:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61f0c809-5214-4267-912d-4abc38287887</guid><dc:creator>torgil</dc:creator><description>&lt;p&gt;I had a meeting with Telia yesterday to discuss this issue. According to them the RLC relase timeout is set to 5 seconds. PDP Context timeout is set to 60 minutes. This issue with intermittent connection failure and latency remains unsolved. We will probably have to move to another LTE-M chip for our project.&lt;/p&gt;
&lt;p&gt;As for now it also seems like LTE-M is in a very early stage in Sweden. NB-IoT has good coverage and is working. LTE-M has good coverage but Telia is still, according to them, evaluating network settings and parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/231491?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 19:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a5782af-609b-49f8-9470-e700e3a1b93a</guid><dc:creator>torgil</dc:creator><description>&lt;p&gt;Here are the trace files.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2020_2D00_01_2D00_28T18_2D00_49_2D00_13.235Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2020_2D00_01_2D00_28T18_2D00_49_2D00_13.235Z.bin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2020_2D00_01_2D00_28T18_5F00_36_5F00_13.170Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2020_2D00_01_2D00_28T18_5F00_36_5F00_13.170Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/231442?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 14:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4c263df-7154-40db-8edd-b8382cf93daf</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Torgil,&lt;br /&gt;As you have probably seen in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/51223/lte-m-ip-connectivity-available-only-3-seconds-every-11-seconds" rel="noopener noreferrer" target="_blank"&gt;similar cases&amp;nbsp;&lt;/a&gt;that this probably is an issue specific on that network.&lt;/p&gt;
&lt;p&gt;We can confirm this if you share a &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect" rel="noopener noreferrer" target="_blank"&gt;modem trace when this is happening.&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/231415?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 13:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:848dd945-1b80-404c-8e8e-ccd63430261b</guid><dc:creator>torgil</dc:creator><description>&lt;p&gt;A more detailed output with timing. After successful boot and connection the button on the DK board is pressed at 14:13:57.444. The published message is recieved by the server at 14:14:15.105028. A delay of about 18 seconds.&lt;/p&gt;
&lt;p&gt;Publishing a message to to the &amp;quot;subscribed&amp;quot; topic is done at 14:14:26.688523. This message is recieved at the DK board at 14:15:25.397 (almost 60 sekunds later) and the replay is sent right away and recieved at the server one second later.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any ideas or good explanations for this behaviour?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[2020-01-28 14:13:35.797] *** Booting Zephyr OS version 2.1.0  ***
[2020-01-28 14:13:35.800] The MQTT simple sample started
[2020-01-28 14:13:35.809] LTE Link Connecting ...
[2020-01-28 14:13:50.807] +CEREG: 2,&amp;quot;0324&amp;quot;,&amp;quot;018D2920&amp;quot;,7,0,0,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-28 14:13:52.264] +CEREG: 5,&amp;quot;0324&amp;quot;,&amp;quot;018D2920&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-28 14:13:52.266] LTE Link Connected!
[2020-01-28 14:13:52.460] IPv4 Address found 91.106.198.236
[2020-01-28 14:13:52.758] [mqtt_evt_handler:192] MQTT client connected!
[2020-01-28 14:13:52.762] Subscribing to: tests/subscribe/topic len 21
[2020-01-28 14:13:52.897] [mqtt_evt_handler:242] SUBACK packet id: 1234
[2020-01-28 14:13:57.444] button_handler
[2020-01-28 14:13:57.447] Publishing: button handler
[2020-01-28 14:13:57.450] to topic: tests/publish/topic len: 19
[2020-01-28 14:13:57.624] button_handler
[2020-01-28 14:13:57.626] Publishing: button handler
[2020-01-28 14:13:57.630] to topic: tests/publish/topic len: 19
[2020-01-28 14:14:08.771] +CEREG: 5,&amp;quot;0093&amp;quot;,&amp;quot;018D2B20&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
[2020-01-28 14:14:14.88] [mqtt_evt_handler:232] PUBACK packet id: 60274
[2020-01-28 14:14:14.588] [mqtt_evt_handler:232] PUBACK packet id: 620
[2020-01-28 14:15:25.396] [mqtt_evt_handler:207] MQTT PUBLISH result=0 len=4
[2020-01-28 14:15:25.397] Received: test
[2020-01-28 14:15:25.399] Publishing: test
[2020-01-28 14:15:25.430] to topic: tests/publish/topic len: 19
[2020-01-28 14:15:25.946] [mqtt_evt_handler:232] PUBACK packet id: 58750
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[2020-01-28 14:14:15.105028] tests/publish/topic button handler
[2020-01-28 14:14:15.105123] tests/publish/topic button handler
[2020-01-28 14:14:26.688523] tests/subscribe/topic test
[2020-01-28 14:15:26.697140] tests/publish/topic test

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT delay / network problem?</title><link>https://devzone.nordicsemi.com/thread/231395?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 12:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff119b04-df23-4925-a5d6-d8449f7271f3</guid><dc:creator>torgil</dc:creator><description>&lt;p&gt;After running some more tests I can confirm high delay in communcation both upstream and downstream. I added a button handler publishing a message over MQTT. After pressing the button on the device there is a delay of 5-10 seconds before the first TCP packet shows up on the server side. Modem is updated to latest fw.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;%XMONITOR: 5,&amp;quot;Telia&amp;quot;,&amp;quot;Telia&amp;quot;,&amp;quot;24001&amp;quot;,&amp;quot;0093&amp;quot;,7,20,&amp;quot;018D2B20&amp;quot;,358,6300,41,25,&amp;quot;&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
OK
AT+CGMR
mfw_nrf9160_1.1.0
OK&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>