<?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 AT-Commands</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86662/mqtt-at-commands</link><description>Good Day. I am wondering if anyone could maybe assist me in where I am going wrong with my software. 
 I have the intention of using a Nrf9160 as a serial modem through AT commands. As a chosen communication protocol we would like to use MQTT. 
 Background</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Apr 2022 12:12:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86662/mqtt-at-commands" /><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/364942?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 12:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6828106b-c1ff-4aee-b3c6-256d53ff34d0</guid><dc:creator>Ashvin Makwana</dc:creator><description>&lt;p&gt;Hi Pieterk&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I have check your thread and I am new into nRF9610 platform.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am working on same application as yours difference is&amp;nbsp;&amp;nbsp;I have STM32 mcu in place of nrf52.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to build &lt;strong&gt;serial lte modem application&lt;/strong&gt; for nRF9610&amp;nbsp;for &lt;strong&gt;MQTT&lt;/strong&gt; purpose over &lt;strong&gt;STM32&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I have installed necessary software and tested some pre-build images and example on dk board over usb connection.&lt;/p&gt;
&lt;p&gt;if possible can you help me to share some information&amp;nbsp;on how would&amp;nbsp;I building this serial lte application and list of at command that you used in&amp;nbsp;nrf52&amp;nbsp;it would be helpful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any help will be appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Ashvin&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362600?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 12:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:620204b7-91ae-4899-897e-fe81754af157</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Happy to hear that your issue is solved!&lt;/p&gt;
[quote user="PieterK"]I do see that the command AT+CLAC does not return any of the MQTT commands[/quote]
&lt;p&gt;Yes, this is correct as the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/applications/serial_lte_modem/doc/AT_commands_intro.html#slm-specific-at-commands"&gt;SLM AT commands are proprietary AT commands&lt;/a&gt;, while t&lt;span&gt;he modem-specific AT commands are documented in the&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/intro.html"&gt;nRF91 AT Commands Reference Guide&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362396?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 14:07:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c01403a-f541-4e22-a6cd-6d228b067745</guid><dc:creator>PieterK</dc:creator><description>&lt;p&gt;Good day. I seem to have resolved my problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I removed the following line from my project config and came right.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_SLM_MQTTC=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I do see that the command AT+CLAC does not return any of the MQTT commands&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2022_2D00_04_2D00_07-160650.jpg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362390?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 13:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b253b663-8b20-4a63-981b-c907de8726dc</guid><dc:creator>PieterK</dc:creator><description>&lt;p&gt;The nrf52832 is working correctly as we have a few running the codeset we have made for them. We chose to have the nrf52 as the &amp;quot;Master&amp;quot; of the two as we require BLE in our application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am still developing on a nRF9160DK. I am currently using the device through a UART serial port to get all my AT-Commands ready for getting the device attached to the networks and to read GPS.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;All my other commands are currently useable, But the MQTT commands do not show when I send the command AT+CLAC then I get the reply in the file &amp;quot;AT-Commands.txt&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I send the AT command for MQTT connect I only get error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;AT#XMQTTCON=1,&amp;quot;3001&amp;quot;,&amp;quot;MyUseName&amp;quot;,&amp;quot;MyPassword&amp;quot;,&amp;quot;MyBrokerDetails&amp;quot;,1883&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6471.serial_5F00_lte_5F00_modem.zip"&gt;devzone.nordicsemi.com/.../6471.serial_5F00_lte_5F00_modem.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362373?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 13:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03a2da7-4b21-4f2a-a530-58a8be3da87c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;The Serial LTE Modem is configured to work out of the box when it comes to MQTT. Have you read the &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/applications/serial_lte_modem/doc/MQTT_AT_commands.html#mqtt-at-commands"&gt;MQTT AT Commands documentation&lt;/a&gt;?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you please elaborate what is failing on your side? From the log output you provided: &amp;quot;AT-commands.txt&amp;quot;, the output does not reflect what the Serial LTE Modem prints.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="PieterK"]CONFIG_SLM_MQTTC=y[/quote]
&lt;p&gt;This is not a configuration available in the nRF Connect SDK&lt;/p&gt;
[quote user="PieterK"]The nRF52832 is working correctly. I have zero issues when it comes to this.[/quote]
&lt;p&gt;How do you know this is working correctly?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362335?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 12:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18f556b1-1fef-4a49-8ce3-ea87874a47ff</guid><dc:creator>PieterK</dc:creator><description>&lt;p&gt;The nRF52832 is working correctly. I have zero issues when it comes to this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My problem is that the AT-Commands for MQTT are not currently in my command set. The MQTT commands are not part of the firmware on the nrf9160. I have added the following to my project config file for MQTT and they are still not in my command set&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_SLM_MQTTC=y&lt;/p&gt;
&lt;p&gt;# MQTT&lt;br /&gt;CONFIG_MQTT_LIB=y&lt;br /&gt;CONFIG_MQTT_LIB_TLS=n&lt;br /&gt;CONFIG_MQTT_CLEAN_SESSION=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362315?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 11:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5798c1f2-7f92-4497-a090-b5259b095f35</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Could you elaborate exactly where it fails&amp;nbsp;on your side? What are you running on the nRF52832? Please provide more information for me to reproduce this issue.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362136?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 14:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63ca3007-057c-48d1-8328-cc3a88148e58</guid><dc:creator>PieterK</dc:creator><description>&lt;p&gt;Good day, Thank you for responding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using a nrf52832 as a microcontroller to communicate to the nRF9160 using UART.&lt;/p&gt;
&lt;p&gt;We plan to use the nRF9160 as a modem via AT-Commands from the nRF52832.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT AT-Commands</title><link>https://devzone.nordicsemi.com/thread/362100?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 13:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:326450e5-f0f8-4365-ad8e-5c1306f03b3e</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Do you mean controlling the Serial LTE Modem via internet? The intention of the SLM is that is receives the AT Commands over UART from an external computer or MCU.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Could you please elaborate more on your intention?&lt;br /&gt;&lt;br /&gt;Thanks.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>