<?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 + TLS + PSM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49807/nrf9160-mqtt-tls-psm</link><description>Hi, 
 I have build a application based on the mqtt-simple-sample and successfully integrated TLS. 
 Now I wanted to measure the floor current in PSM. I did wait some minutes after my application aborted the 
 mqtt-session and measured a floor current</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jul 2019 09:56:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49807/nrf9160-mqtt-tls-psm" /><item><title>RE: nRF9160 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/199488?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 09:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfb78803-10a0-43a2-8a4e-ddc0c76eff98</guid><dc:creator>wne</dc:creator><description>&lt;p&gt;Okay, I get the at_client work by setting AT%XSYSTEMMODE=0,1,0,0 and then shutting the modem down with AT+CFUN=0 plus a reset (inspired by your linked blog ^^). After that, I tested the mqtt_simple_sample and it works just fine. The same does my application. So thanks a lot.&lt;/p&gt;
&lt;p&gt;Could you please explain a bit, what the uicr_tcxo.hex has effected?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and kind regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/199446?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 08:16:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71815e1d-9033-4fce-9905-3fe8f6fd4ff3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Could you provide a trace of this issue?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a blog that explains how:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is essentially this config that is needed in prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BSD_LIBRARY_TRACE_ENABLED=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that you need to input &amp;quot;&lt;strong&gt;AT%XMODEMTRACE=1,2&lt;/strong&gt;&amp;quot; first, before turning on the modem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This should produce a .bin file in the nRF Connect app &amp;quot;Trace Collector&amp;quot; which you could upload to this thread.&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 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/199435?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 07:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a289d8f-e24b-4d94-8708-c34d4c44eac8</guid><dc:creator>wne</dc:creator><description>&lt;p&gt;Yes, I tried it. Same result:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2019-07-19T06:47:59.993Z DEBUG modem &amp;lt;&amp;lt; ***** Booting Zephyr OS v1.14.99-ncs2 *****\x0D\x0A
2019-07-19T06:47:59.997Z DEBUG modem &amp;lt;&amp;lt; The AT host sample started\x0D\x0A
2019-07-19T06:48:15.031Z DEBUG modem &amp;gt;&amp;gt; AT%XSYSTEMMODE=0,1,0,0\x0D\x0A
2019-07-19T06:48:15.068Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-19T06:48:18.412Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-19T06:48:18.456Z DEBUG modem &amp;lt;&amp;lt; +CFUN: 4\x0D\x0A
2019-07-19T06:48:18.522Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-19T06:48:18.556Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN=1\x0D\x0A
2019-07-19T06:48:18.606Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-19T06:48:22.618Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-19T06:48:23.619Z ERROR Error: &amp;#39;AT+CFUN?
&amp;#39; timed out&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I programmed your .hex file and retried the at_client. No changes, same problems.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/199289?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 12:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:385bec6e-535d-4239-aff1-df25f19d661d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;That is strange. Have you tried setting XSYSTEMMODE just after boot, and before issuing CFUN=1?&lt;/p&gt;
&lt;p&gt;Could you try programming this .hex file? &amp;quot;nrfjprog --program uicr_tcxo.hex --sectorerase -f nrf91 --reset&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-09ea33926c7845aca3f701097bbd1c90/uicr_5F00_tcxo.hex"&gt;devzone.nordicsemi.com/.../uicr_5F00_tcxo.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/199137?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 08:01:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:540901f9-97d2-46de-a5a4-739c278c1ae1</guid><dc:creator>wne</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I tested the default mqtt_simple_sample and asset_tracker again (just modified LTE configs to use NB-IoT and the legacy PCO mode) and noticed, that the code doesn&amp;#39;t stuck on the at_cmd_write(normal, NULL, 0, NULL) != 0) line. The modem gets a response and stucks in the next line: k_sem_take(&amp;amp;link, K_FOREVER).&lt;/p&gt;
&lt;p&gt;In at_client there is a communication via AT-commands possible, like the following log shows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2019-07-18T07:44:13.551Z INFO Modem port is opened
2019-07-18T07:44:13.583Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-18T07:44:42.084Z DEBUG modem &amp;lt;&amp;lt; ***** Booting Zephyr OS v1.14.99-ncs2 *****\x0D\x0A
2019-07-18T07:44:42.130Z DEBUG modem &amp;lt;&amp;lt; Flash region\x09\x09Domain\x09\x09Permissions\x0D\x0A
2019-07-18T07:44:42.139Z DEBUG modem &amp;lt;&amp;lt; 00 0x00000 0x08000 \x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.149Z DEBUG modem &amp;lt;&amp;lt; 01 0x08000 0x10000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.158Z DEBUG modem &amp;lt;&amp;lt; 02 0x10000 0x18000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.164Z DEBUG modem &amp;lt;&amp;lt; 03 0x18000 0x20000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.170Z DEBUG modem &amp;lt;&amp;lt; 04 0x20000 0x28000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.180Z DEBUG modem &amp;lt;&amp;lt; 05 0x28000 0x30000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.227Z DEBUG modem &amp;lt;&amp;lt; 06 0x30000 0x38000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.235Z DEBUG modem &amp;lt;&amp;lt; 07 0x38000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.241Z DEBUG modem &amp;lt;&amp;lt; 08 0x40000 0x48000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.248Z DEBUG modem &amp;lt;&amp;lt; 09 0x48000 0x50000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.258Z DEBUG modem &amp;lt;&amp;lt; 10 0x50000 0x58000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.268Z DEBUG modem &amp;lt;&amp;lt; 11 0x58000 0x60000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.278Z DEBUG modem &amp;lt;&amp;lt; 12 0x60000 0x68000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.285Z DEBUG modem &amp;lt;&amp;lt; 13 0x68000 0x70000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.291Z DEBUG modem &amp;lt;&amp;lt; 14 0x70000 0x78000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.296Z DEBUG modem &amp;lt;&amp;lt; 15 0x78000 0x80000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.311Z DEBUG modem &amp;lt;&amp;lt; 16 0x80000 0x88000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.317Z DEBUG modem &amp;lt;&amp;lt; 17 0x88000 0x90000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.321Z DEBUG modem &amp;lt;&amp;lt; 18 0x90000 0x98000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.326Z DEBUG modem &amp;lt;&amp;lt; 19 0x98000 0xa0000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.331Z DEBUG modem &amp;lt;&amp;lt; 20 0xa0000 0xa8000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.337Z DEBUG modem &amp;lt;&amp;lt; 21 0xa8000 0xb0000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.342Z DEBUG modem &amp;lt;&amp;lt; 22 0xb0000 0xb8000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.349Z DEBUG modem &amp;lt;&amp;lt; 23 0xb8000 0xc0000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.356Z DEBUG modem &amp;lt;&amp;lt; 24 0xc0000 0xc8000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.363Z DEBUG modem &amp;lt;&amp;lt; 25 0xc8000 0xd0000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.369Z DEBUG modem &amp;lt;&amp;lt; 26 0xd0000 0xd8000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.373Z DEBUG modem &amp;lt;&amp;lt; 27 0xd8000 0xe0000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.378Z DEBUG modem &amp;lt;&amp;lt; 28 0xe0000 0xe8000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.386Z DEBUG modem &amp;lt;&amp;lt; 29 0xe8000 0xf0000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.391Z DEBUG modem &amp;lt;&amp;lt; 30 0xf0000 0xf8000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.395Z DEBUG modem &amp;lt;&amp;lt; 31 0xf8000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.437Z DEBUG modem &amp;lt;&amp;lt; Non-secure callable region 0 placed in flash region 0 with size 32.\x0D\x0A\x0D\x0A\x0D\x0A
2019-07-18T07:44:42.442Z DEBUG modem &amp;lt;&amp;lt; SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
2019-07-18T07:44:42.446Z DEBUG modem &amp;lt;&amp;lt; 00 0x00000 0x02000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.450Z DEBUG modem &amp;lt;&amp;lt; 01 0x02000 0x04000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.454Z DEBUG modem &amp;lt;&amp;lt; 02 0x04000 0x06000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.458Z DEBUG modem &amp;lt;&amp;lt; 03 0x06000 0x08000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.463Z DEBUG modem &amp;lt;&amp;lt; 04 0x08000 0x0a000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.467Z DEBUG modem &amp;lt;&amp;lt; 05 0x0a000 0x0c000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.476Z DEBUG modem &amp;lt;&amp;lt; 06 0x0c000 0x0e000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.482Z DEBUG modem &amp;lt;&amp;lt; 07 0x0e000 0x10000\x09Secure\x09\x09rwxl\x0D\x0A
2019-07-18T07:44:42.491Z DEBUG modem &amp;lt;&amp;lt; 08 0x10000 0x12000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.499Z DEBUG modem &amp;lt;&amp;lt; 09 0x12000 0x14000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.505Z DEBUG modem &amp;lt;&amp;lt; 10 0x14000 0x16000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.514Z DEBUG modem &amp;lt;&amp;lt; 11 0x16000 0x18000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.523Z DEBUG modem &amp;lt;&amp;lt; 12 0x18000 0x1a000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.527Z DEBUG modem &amp;lt;&amp;lt; 13 0x1a000 0x1c000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.537Z DEBUG modem &amp;lt;&amp;lt; 14 0x1c000 0x1e000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.545Z DEBUG modem &amp;lt;&amp;lt; 15 0x1e000 0x20000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.552Z DEBUG modem &amp;lt;&amp;lt; 16 0x20000 0x22000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.561Z DEBUG modem &amp;lt;&amp;lt; 17 0x22000 0x24000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.572Z DEBUG modem &amp;lt;&amp;lt; 18 0x24000 0x26000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.576Z DEBUG modem &amp;lt;&amp;lt; 19 0x26000 0x28000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.580Z DEBUG modem &amp;lt;&amp;lt; 20 0x28000 0x2a000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.589Z DEBUG modem &amp;lt;&amp;lt; 21 0x2a000 0x2c000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.595Z DEBUG modem &amp;lt;&amp;lt; 22 0x2c000 0x2e000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.604Z DEBUG modem &amp;lt;&amp;lt; 23 0x2e000 0x30000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.610Z DEBUG modem &amp;lt;&amp;lt; 24 0x30000 0x32000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.614Z DEBUG modem &amp;lt;&amp;lt; 25 0x32000 0x34000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.618Z DEBUG modem &amp;lt;&amp;lt; 26 0x34000 0x36000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.631Z DEBUG modem &amp;lt;&amp;lt; 27 0x36000 0x38000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.636Z DEBUG modem &amp;lt;&amp;lt; 28 0x38000 0x3a000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.639Z DEBUG modem &amp;lt;&amp;lt; 29 0x3a000 0x3c000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.643Z DEBUG modem &amp;lt;&amp;lt; 30 0x3c000 0x3e000\x09Non-Secure\x09rwxl\x0D\x0A
2019-07-18T07:44:42.647Z DEBUG modem &amp;lt;&amp;lt; 31 0x3e000 0x40000\x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
2019-07-18T07:44:42.651Z DEBUG modem &amp;lt;&amp;lt; Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
2019-07-18T07:44:42.656Z DEBUG modem &amp;lt;&amp;lt; 00 NRF_P0\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.660Z DEBUG modem &amp;lt;&amp;lt; 01 NRF_CLOCK\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.663Z DEBUG modem &amp;lt;&amp;lt; 02 NRF_RTC1\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.668Z DEBUG modem &amp;lt;&amp;lt; 03 NRF_NVMC\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.673Z DEBUG modem &amp;lt;&amp;lt; 04 NRF_UARTE1\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.677Z DEBUG modem &amp;lt;&amp;lt; 05 NRF_UARTE2\x09\x09Secure\x09\x09SKIP\x0D\x0A
2019-07-18T07:44:42.684Z DEBUG modem &amp;lt;&amp;lt; 06 NRF_TWIM2\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.694Z DEBUG modem &amp;lt;&amp;lt; 07 NRF_SPIM3\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.699Z DEBUG modem &amp;lt;&amp;lt; 08 NRF_TIMER0\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.704Z DEBUG modem &amp;lt;&amp;lt; 09 NRF_TIMER1\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.710Z DEBUG modem &amp;lt;&amp;lt; 10 NRF_TIMER2\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.721Z DEBUG modem &amp;lt;&amp;lt; 11 NRF_SAADC\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.727Z DEBUG modem &amp;lt;&amp;lt; 12 NRF_PWM0\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.731Z DEBUG modem &amp;lt;&amp;lt; 13 NRF_PWM1\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.735Z DEBUG modem &amp;lt;&amp;lt; 14 NRF_PWM2\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.739Z DEBUG modem &amp;lt;&amp;lt; 15 NRF_PWM3\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.743Z DEBUG modem &amp;lt;&amp;lt; 16 NRF_IPC\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.746Z DEBUG modem &amp;lt;&amp;lt; 17 NRF_VMC\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.749Z DEBUG modem &amp;lt;&amp;lt; 18 NRF_FPU\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.753Z DEBUG modem &amp;lt;&amp;lt; 19 NRF_EGU1\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.757Z DEBUG modem &amp;lt;&amp;lt; 20 NRF_EGU2\x09\x09Non-Secure\x09OK\x0D\x0A
2019-07-18T07:44:42.761Z DEBUG modem &amp;lt;&amp;lt; 21 NRF_GPIOTE1\x09\x09Non-Secure\x09OK\x0D\x0A\x0D\x0A
2019-07-18T07:44:42.766Z DEBUG modem &amp;lt;&amp;lt; SPM: NS image at 0xc000\x0D\x0A
2019-07-18T07:44:42.770Z DEBUG modem &amp;lt;&amp;lt; SPM: NS MSP at 0x20023b68\x0D\x0A
2019-07-18T07:44:42.776Z DEBUG modem &amp;lt;&amp;lt; SPM: NS reset vector at 0xe325\x0D\x0A
2019-07-18T07:44:42.780Z DEBUG modem &amp;lt;&amp;lt; SPM: prepare to jump to Non-Secure image.\x0D\x0A
2019-07-18T07:44:43.919Z DEBUG modem &amp;lt;&amp;lt; ***** Booting Zephyr OS v1.14.99-ncs2 *****\x0D\x0A
2019-07-18T07:44:43.953Z DEBUG modem &amp;lt;&amp;lt; The AT host sample started\x0D\x0A
2019-07-18T07:44:48.947Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-18T07:44:49.006Z DEBUG modem &amp;lt;&amp;lt; +CFUN: 4\x0D\x0A
2019-07-18T07:44:49.066Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:49.104Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN=1\x0D\x0A
2019-07-18T07:44:49.155Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:51.736Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-18T07:44:51.745Z DEBUG modem &amp;lt;&amp;lt; +CFUN: 1\x0D\x0A
2019-07-18T07:44:51.812Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:51.851Z DEBUG modem &amp;gt;&amp;gt; AT+CGSN=1\x0D\x0A
2019-07-18T07:44:51.902Z DEBUG modem &amp;lt;&amp;lt; +CGSN: &amp;quot;352656100049900&amp;quot;\x0D\x0A
2019-07-18T07:44:51.908Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:51.948Z DEBUG modem &amp;gt;&amp;gt; AT+CGMI\x0D\x0A
2019-07-18T07:44:51.999Z DEBUG modem &amp;lt;&amp;lt; Nordic Semiconductor ASA\x0D\x0A
2019-07-18T07:44:52.003Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.049Z DEBUG modem &amp;gt;&amp;gt; AT+CGMM\x0D\x0A
2019-07-18T07:44:52.103Z DEBUG modem &amp;lt;&amp;lt; nRF9160-SICA\x0D\x0A
2019-07-18T07:44:52.111Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.154Z DEBUG modem &amp;gt;&amp;gt; AT+CGMR\x0D\x0A
2019-07-18T07:44:52.197Z DEBUG modem &amp;lt;&amp;lt; mfw_nrf9160_1.0.0\x0D\x0A
2019-07-18T07:44:52.201Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.207Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100049900
2019-07-18T07:44:52.239Z DEBUG modem &amp;gt;&amp;gt; AT+CEMODE?\x0D\x0A
2019-07-18T07:44:52.279Z DEBUG modem &amp;lt;&amp;lt; +CEMODE: 2\x0D\x0A
2019-07-18T07:44:52.283Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.337Z DEBUG modem &amp;gt;&amp;gt; AT%XCBAND=?\x0D\x0A
2019-07-18T07:44:52.393Z DEBUG modem &amp;lt;&amp;lt; %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D\x0A
2019-07-18T07:44:52.399Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.468Z DEBUG modem &amp;gt;&amp;gt; AT+CMEE?\x0D\x0A
2019-07-18T07:44:52.528Z DEBUG modem &amp;lt;&amp;lt; +CMEE: 0\x0D\x0A
2019-07-18T07:44:52.532Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.569Z DEBUG modem &amp;gt;&amp;gt; AT+CMEE=1\x0D\x0A
2019-07-18T07:44:52.632Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.692Z DEBUG modem &amp;gt;&amp;gt; AT+CNEC?\x0D\x0A
2019-07-18T07:44:52.739Z DEBUG modem &amp;lt;&amp;lt; +CNEC: 0\x0D\x0A
2019-07-18T07:44:52.744Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.750Z DEBUG modem &amp;gt;&amp;gt; AT+CNEC=24\x0D\x0A
2019-07-18T07:44:52.807Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.849Z DEBUG modem &amp;gt;&amp;gt; AT+CGEREP?\x0D\x0A
2019-07-18T07:44:52.890Z DEBUG modem &amp;lt;&amp;lt; +CGEREP: 0,0\x0D\x0A
2019-07-18T07:44:52.896Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:52.907Z DEBUG modem &amp;gt;&amp;gt; AT+CGDCONT?\x0D\x0A
2019-07-18T07:44:52.993Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.004Z DEBUG modem &amp;gt;&amp;gt; AT+CGACT?\x0D\x0A
2019-07-18T07:44:53.091Z DEBUG modem &amp;lt;&amp;lt; OK\x0D
2019-07-18T07:44:53.164Z DEBUG modem &amp;gt;&amp;gt; AT+CGEREP=1\x0D\x0A
2019-07-18T07:44:53.244Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.294Z DEBUG modem &amp;gt;&amp;gt; AT+CIND=1,1,1\x0D\x0A
2019-07-18T07:44:53.337Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.382Z DEBUG modem &amp;gt;&amp;gt; AT+CEREG=2\x0D\x0A
2019-07-18T07:44:53.435Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.444Z DEBUG modem &amp;gt;&amp;gt; AT+CEREG?\x0D\x0A
2019-07-18T07:44:53.456Z DEBUG modem &amp;lt;&amp;lt; +CEREG: 2,4,&amp;quot;FFFE&amp;quot;,&amp;quot;FFFFFFFF&amp;quot;,7\x0D\x0A
2019-07-18T07:44:53.462Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.549Z DEBUG modem &amp;gt;&amp;gt; AT%CESQ=1\x0D\x0A
2019-07-18T07:44:53.601Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.662Z DEBUG modem &amp;gt;&amp;gt; AT+CESQ\x0D\x0A
2019-07-18T07:44:53.722Z DEBUG modem &amp;lt;&amp;lt; +CESQ: 99,99,255,255,255,255\x0D\x0A
2019-07-18T07:44:53.733Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.819Z DEBUG modem &amp;gt;&amp;gt; AT%XSIM=1\x0D\x0A
2019-07-18T07:44:53.871Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:53.917Z DEBUG modem &amp;gt;&amp;gt; AT%XSIM?\x0D\x0A
2019-07-18T07:44:53.969Z DEBUG modem &amp;lt;&amp;lt; %XSIM: 1\x0D
2019-07-18T07:44:53.980Z DEBUG modem &amp;lt;&amp;lt; \x0A
2019-07-18T07:44:53.984Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:54.039Z DEBUG modem &amp;gt;&amp;gt; AT+CPIN?\x0D\x0A
2019-07-18T07:44:54.089Z DEBUG modem &amp;lt;&amp;lt; +CPIN: READY\x0D\x0A
2019-07-18T07:44:54.098Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:54.160Z DEBUG modem &amp;gt;&amp;gt; AT+CPINR=&amp;quot;SIM PIN&amp;quot;\x0D\x0A
2019-07-18T07:44:54.222Z DEBUG modem &amp;lt;&amp;lt; +CPINR: &amp;quot;SIM PIN&amp;quot;,3\x0D\x0A
2019-07-18T07:44:54.227Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:54.299Z DEBUG modem &amp;gt;&amp;gt; AT+CIMI\x0D\x0A
2019-07-18T07:44:54.353Z DEBUG modem &amp;lt;&amp;lt; 901405100488795\x0D\x0A
2019-07-18T07:44:54.359Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:44:54.363Z INFO IMSIdentity: 901405100488795
2019-07-18T07:45:16.821Z DEBUG modem &amp;gt;&amp;gt; AT%XSYSTEMMODE?\x0D\x0A
2019-07-18T07:45:16.878Z DEBUG modem &amp;lt;&amp;lt; %XSYSTEMMODE: 1,0,0,0\x0D\x0A
2019-07-18T07:45:16.884Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:45:24.283Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN=4\x0D\x0A
2019-07-18T07:45:24.333Z DEBUG modem &amp;lt;&amp;lt; ERROR\x0D\x0A\x00
2019-07-18T07:45:24.338Z ERROR Error: AT+CFUN=4
 failed
2019-07-18T07:45:24.364Z DEBUG modem &amp;lt;&amp;lt; %CESQ: 255,0\x0D\x0A\x00
2019-07-18T07:45:24.385Z DEBUG modem &amp;lt;&amp;lt; %XSIM: 1\x0D\x0A\x00
2019-07-18T07:45:24.401Z DEBUG modem &amp;lt;&amp;lt; %XSIM: 0\x0D\x0A\x00
2019-07-18T07:45:24.457Z DEBUG modem &amp;gt;&amp;gt; AT+CPIN?\x0D\x0A
2019-07-18T07:45:24.508Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:45:24.561Z DEBUG modem &amp;gt;&amp;gt; AT+CIMI\x0D\x0A
2019-07-18T07:45:24.615Z DEBUG modem &amp;lt;&amp;lt; +CPIN: READY\x0D\x0A
2019-07-18T07:45:24.621Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:45:24.626Z INFO IMSIdentity: +CPIN: READY
2019-07-18T07:45:27.933Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN=4\x0D\x0A
2019-07-18T07:45:27.984Z DEBUG modem &amp;lt;&amp;lt; 901405100488795\x0D\x0A
2019-07-18T07:45:27.989Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:45:40.179Z DEBUG modem &amp;gt;&amp;gt; AT%XSYSTEMMODE=0,1,0,0\x0D\x0A
2019-07-18T07:45:40.228Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:45:47.567Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN=1\x0D\x0A
2019-07-18T07:45:47.626Z DEBUG modem &amp;lt;&amp;lt; OK\x0D\x0A\x00
2019-07-18T07:45:47.630Z DEBUG modem &amp;lt;&amp;lt; %XSIM: 0\x0D
2019-07-18T07:45:50.139Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-18T07:45:51.140Z ERROR Error: &amp;#39;AT+CFUN?
&amp;#39; timed out
2019-07-18T07:45:53.924Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-18T07:45:54.924Z ERROR Error: &amp;#39;AT+CFUN?
&amp;#39; timed out
2019-07-18T07:45:56.254Z DEBUG modem &amp;gt;&amp;gt; AT+CFUN?\x0D\x0A
2019-07-18T07:45:57.256Z ERROR Error: &amp;#39;AT+CFUN?
&amp;#39; timed out
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As you can see, it seems to be impossible to set the LTE-M to NB-IoT mode because the modem wont response after doing this. I tried to set it in the prj.conf file, but it will be ignored (AT%XSYSTEMMODE? still delivers 1,0,0,0). A change in the config menu of SES leads to a non-responding application in regards to AT-commands.&lt;/p&gt;
&lt;p&gt;I tried to use the v0.4.0 ncs tag in combination with the v1.0.0 mfw (read it in a similar thread), but the problems are still the same.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/199028?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 14:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ad661a-821a-42c7-afc7-ed20261a4a8b</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 it does in that section is that it writes CFUN=1, then waits for a response (in lte_lc.c::at_handler()) from the network to get attached.&lt;/p&gt;
&lt;p&gt;It might take a minute to get attached.&lt;/p&gt;
&lt;p&gt;Are you also stuck in at_client with the same issue? Do you have a log output?&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 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/198738?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 13:19:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5596ca4-2a51-448d-bc92-3f7b6e9809f5</guid><dc:creator>wne</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t running the newest mfw and ncs tag. After updating both (reference: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49264/unable-to-update-firmware-on-nrf9160)"&gt;devzone.nordicsemi.com/.../unable-to-update-firmware-on-nrf9160)&lt;/a&gt;, my application does not establish a LTE link connection anymore.&lt;/p&gt;
&lt;p&gt;Neither does the at_client, asset_tracker and so on. I tracked the code down and found that it stucks in the following part of code: modem_configure() -&amp;gt; lte_lc_init_and_connect() -&amp;gt; w_lte_lc_init_and_connect() -&amp;gt; at_cmd_write(normal, NULL, 0, NULL).&lt;/p&gt;
&lt;p&gt;It seems like I am not able to start up the modem (AT+CFUN = 1) anymore. Do you have some idea or advice, what is going wrong?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 MQTT + TLS + PSM</title><link>https://devzone.nordicsemi.com/thread/198632?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 08:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b431262d-9adb-4ddf-bbdf-67c78ef650eb</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;TLS and &amp;quot;open&amp;quot; should give the same current consumption.&lt;/p&gt;
&lt;p&gt;Are you running with modem fw v1.0.0 and ncs tag &amp;quot;v1.0.0&amp;quot; ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd path/to/ncs/nrf
git pull
git checkout v1.0.0
# Update the other repo&amp;#39;s to match the above tag
west update&lt;/pre&gt;&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>