<?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>Serial LTE Modem + MQTT subscribe</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70350/serial-lte-modem-mqtt-subscribe</link><description>I have an embedded Linux platform which uses an nRF9160 connected via UART. The nRF9160 has been loaded with the serial LTE modem firmware, version 1.3.1. 
 I&amp;#39;ve been experimenting with the AT command for MQTT. So far, I&amp;#39;ve been able to set up the necessary</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jan 2021 07:54:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70350/serial-lte-modem-mqtt-subscribe" /><item><title>RE: Serial LTE Modem + MQTT subscribe</title><link>https://devzone.nordicsemi.com/thread/289336?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 07:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97c21feb-2e58-4cc5-903e-c29f028785de</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;My apologies. To use MQTT with SLM on &lt;span&gt;v1.4.990-dev1 it must be configured by adding&amp;nbsp;CONFIG_SLM_MQTTC=y in the prj.conf file. Just append it at the end.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The debug log of the Serial LTE Modem are written to RTT over the SWD interface, as the serial interface are used only for the modem functionality. To read the log you can use the &lt;a href="https://www.segger.com/products/debug-probes/j-link/tools/rtt-viewer/"&gt;Segger RTT Viewer program&lt;/a&gt;&amp;nbsp;while your board is connected to the nRF9160DK board with JTAG. You can read more about how you can use the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_testing.html#how-to-use-rtt"&gt;RTT viewer here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem + MQTT subscribe</title><link>https://devzone.nordicsemi.com/thread/289314?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 23:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:549467a0-8e92-470d-be7e-991b3c13dded</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tried out the v1.4.990-dev1 today. Commands like #XFTP and #XMQTTCON are now consistently just reporting ERROR which isn&amp;#39;t helpful. In the last version v1.4.1, I noticed the connect command now required a username and password, so I added that. It would connect ok all the time.&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t notice any new characters when I enter commands with the&amp;nbsp;&lt;span&gt;CONFIG_SLM_LOG_LEVEL_DBG line. I can tell the modem version with AT+CGMR. Is there a command to get back the 1.4.99? I&amp;#39;m programming our boards nRF9160 via a JTAG using the debug out on the nRF9160-dk board.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem + MQTT subscribe</title><link>https://devzone.nordicsemi.com/thread/289098?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 09:36:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b552c7d0-e759-4933-ba66-2f3d36e45027</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;The SLM firmware has gotten quite a lot of updates in the master branch of NCS (v1.4.99-dev1), so I would recommend trying out that aswell.&lt;br /&gt;&lt;br /&gt; As for the logging you can navigate to the serial LTE monitor project folder (should be located at &amp;lt;ncs_root&amp;gt;/nrf/applications/serial_lte_modem) and open the file&lt;strong&gt; prj.conf&lt;/strong&gt; in a text editor. Find&amp;nbsp;&lt;span&gt;CONFIG_SLM_LOG_LEVEL_INF and replace it with&amp;nbsp;CONFIG_SLM_LOG_LEVEL_DBG. Then you must rebuild the application. If you use Segger Embedded Studio the project must be reloaded before rebuilding.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Please inform me if you face any difficulities!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem + MQTT subscribe</title><link>https://devzone.nordicsemi.com/thread/289042?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 00:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6defc8bb-e58d-48e0-9ff6-c90085fc3aeb</guid><dc:creator>fe-hadella</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I updated the serial LTE firmware to 1.4.1 and the modem firmware to 1.2.3. I still had the same successes and the same failures with this version.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not that familiar with customizing the nRF9160 firmware. Where would I modify&amp;nbsp;&lt;span&gt;CONFIG_SLM_LOG_LEVEL_INF=y? I will do the mod and reflash the unit and report back any new info.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem + MQTT subscribe</title><link>https://devzone.nordicsemi.com/thread/288586?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 10:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc03daf-bd39-4b10-a7db-418dc7045213</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;Thanks for reaching out. The &amp;quot;&lt;span&gt;#XMQTTEVT: 9,0&amp;quot; response is a&amp;nbsp;MQTT_EVT_PINGRESP event, originating from the connection regurarly pinging the broker. Hence, it should be unrelated to the issue you are facing. On that note, are you able to read out the log over the RTT interface? That could give more insight into what&amp;#39;s actually happening. Please replace&amp;nbsp;CONFIG_SLM_LOG_LEVEL_INF=y with&amp;nbsp;CONFIG_SLM_LOG_LEVEL_DBG=y in the prj.conf.&lt;br /&gt;&lt;br /&gt;I will report the JSON issue to the developers. What error are you getting?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>