<?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>Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49639/sending-mqtt-messages-using-the-data_publish-function-from-the-mqtt_simple-sample</link><description>I am having some trouble with sending messages using MQTT on nRF9160DK. What I ultimately want to to is read UART and send whatever I receive to an MQTT broker. When running the mqtt_simple sample it is working as described at the fw-nrfconnect-nrf github</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jul 2019 13:55:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49639/sending-mqtt-messages-using-the-data_publish-function-from-the-mqtt_simple-sample" /><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/198512?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 13:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db444a71-b2d2-4f3e-a55c-ece56c391369</guid><dc:creator>hfj</dc:creator><description>&lt;p&gt;That seems to be the problem. data_publish() works outside of uart_cb().&lt;/p&gt;
&lt;p&gt;Thank you for the help,&lt;/p&gt;
&lt;p&gt;hfj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/198472?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 12:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:026737b6-4a4c-40c2-a322-9661f91efd18</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Have you tried calling data_publish() outside of uart_cb()? Calling it inside should not work because uart_cb() is an ISR, and data_publish() uses mutex. More information can be found &lt;a href="https://docs.zephyrproject.org/latest/reference/kernel/synchronization/mutexes.html"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/198088?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 09:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f8a5d1d-7cdf-4c85-bc06-f005c5d2a725</guid><dc:creator>hfj</dc:creator><description>&lt;p&gt;I have done some quick testing, putting additional calls to the data_publish function inside the mqtt_evt_handler works now (that also did not work before). Both published messages get picked up by the MQTT broker. It is a step in the right direction!&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/* Echo back received data */
			data_publish(&amp;amp;client, MQTT_QOS_1_AT_LEAST_ONCE,
				&amp;quot;test_message&amp;quot;, 12);
            data_publish(&amp;amp;client, MQTT_QOS_1_AT_LEAST_ONCE,
				payload_buf, p-&amp;gt;message.payload.len);&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Putting calls to this function elsewhere does not seem to work. Since I want to send the data I receive over UART over MQTT I have tried using code from the UART example found&amp;nbsp;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/uart"&gt;here&lt;/a&gt;.&amp;nbsp;I&amp;#39;ve modified the code so that everything sent into COM4 (UART_1 I believe) gets echoed in COM5 (UART_0 I believe). This works. However, if I put a call to data_publish inside the uart_cb function as show below the nRF9160 stops responding and I have to do a reset.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void uart_cb(struct device *x)
{
	uart_irq_update(x);
	int data_length = 0;

	if (uart_irq_rx_ready(x)) {
		data_length = uart_fifo_read(x, uart_buf, sizeof(uart_buf));
		uart_buf[data_length] = 0;
	}

        data_publish(&amp;amp;client, MQTT_QOS_1_AT_LEAST_ONCE, &amp;quot;test&amp;quot;, 4);// &amp;amp;test, 1);

        printk(&amp;quot;%s&amp;quot;, uart_buf);

}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit:&lt;/p&gt;
&lt;p&gt;Since there are no errors I find it hard to trace what goes wrong. What I did when working with NCS v0.4.0 was following the function calls and just litter the code with calls to printk(), which is also what I tried to do now. The execution seems to stop in the send function inside socket_offload.h at the third printk(): printk(&amp;quot;Debug: send 3\n&amp;quot;).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static inline ssize_t send(int sock, const void *buf, size_t len,
			   int flags)
{

printk(&amp;quot;Debug: send 1\n&amp;quot;);
	__ASSERT_NO_MSG(socket_ops);
printk(&amp;quot;Debug: send 2\n&amp;quot;);
	__ASSERT_NO_MSG(socket_ops-&amp;gt;send);
printk(&amp;quot;Debug: send 3\n&amp;quot;);

        ssize_t stest = socket_ops-&amp;gt;send(sock, buf, len, flags);

printk(&amp;quot;Debug: send 4\n&amp;quot;);

	return stest; // socket_ops-&amp;gt;send(sock, buf, len, flags);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thank you for all the help so far,&lt;/p&gt;
&lt;p&gt;hfj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/198039?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 08:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b083d6ef-2a3a-4a88-b408-bd78ac2f016a</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="hfj"]Sorry, I was editing my post from earlier today. It seems to be working now.&amp;nbsp;[/quote]
&lt;p&gt;Glad to hear! :)&lt;/p&gt;
[quote user="hfj"]Does this confirm that I have correctly installed FW v1.0.0?[/quote]
&lt;p&gt;&amp;nbsp;Yes, this confirms that you have the latest modem FW v1.0.0.&lt;/p&gt;
[quote user=""]when attempting to call the data_publish function outside the&amp;nbsp;mqtt_evt_handler function it either does not send any data or the&amp;nbsp;nRF9160 stops execution without any error messages[/quote]
&lt;p&gt;&amp;nbsp;Does this work now?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/198008?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 07:27:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc59676a-69b6-4133-ba97-5ed7ae36a5a5</guid><dc:creator>hfj</dc:creator><description>[quote userid="81273" url="~/f/nordic-q-a/49639/sending-mqtt-messages-using-the-data_publish-function-from-the-mqtt_simple-sample/197981"]I upgraded to SEGGER v4.18[/quote]
&lt;p&gt;Sorry, I was editing my post from earlier today. It seems to be working now.&amp;nbsp;&lt;/p&gt;
[quote userid="81273" url="~/f/nordic-q-a/49639/sending-mqtt-messages-using-the-data_publish-function-from-the-mqtt_simple-sample/197981"]When inputting the command &amp;#39;AT+CGMR&amp;#39; it returns&amp;nbsp;mfw_nrf9160_1.0.0.[/quote]
&lt;p&gt;Does this confirm that I have correctly installed FW v1.0.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/198001?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 07:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9a728ed-2268-49a8-a75f-63cdfe46e4b7</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Was this using SES v4.16 or v4.18?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/197981?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 06:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af35a4e6-32e5-43b8-9743-9b701f18b009</guid><dc:creator>hfj</dc:creator><description>&lt;p&gt;I tried setting&amp;nbsp;&lt;span&gt;&lt;strong&gt;&amp;#39;zephyr/merged.hex&amp;#39;&lt;/strong&gt; as the active project by right clicking it in the prject explorer. When rebuilding I get this error, which is the same error as I have been getting previously:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\gnuarmemb\bin\arm-none-eabi-objcopy.exe: &amp;#39;zephyr.elf&amp;#39;: No such file
Build failed&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The build succeeded after I tried to right click&amp;nbsp;&lt;strong&gt;&amp;#39;zephyr/merged.hex&amp;#39;&lt;/strong&gt; and select &amp;quot;Build&amp;quot; before building the project again. Having to do these additional steps is what makes me think I have something set up wrong when using v1.0.0 of NCS. None of these problems were present when working with v0.4.0 and v0.4.0-rc3. Additionally, the structure of my project in the project explorer window looks different to yours.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Capture21.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edit:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I upgraded to SEGGER v4.18 and found the correct way to set the merged hex as he active project:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7127.Capture22.PNG" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I deleted the build directory, rebuilt the project and encountered no errors this time. Downloaded the merged.hex through&amp;nbsp;SEGGER and connected to the LTE Link Monitor. Everything seems to be working. When inputting the command &amp;#39;AT+CGMR&amp;#39; it returns&amp;nbsp;mfw_nrf9160_1.0.0.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/197913?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 14:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:942e7b49-00d2-40a4-a6d4-2f580d543c85</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="hfj"] I am assuming that I am doing something slightly wrong here or that I have some wrong settings.[/quote]
&lt;p&gt;Yes, I think the issue lies in what project was built in the solution of SES. In SES you have Project &amp;#39;zephyr/zephyr.elf&amp;#39; as Active when it should be Project &amp;#39;zephyr/merged.hex&amp;#39;. Can you please Right-click on that project, and click &amp;quot;Set as Active project&amp;quot;. This should be handled automatically.&amp;nbsp;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-be99f87dbefb49a490353b5d190e8edc/pastedimage1562856324579v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/197909?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 14:32:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7f1a1fc-f9a4-4a39-8662-b6a52ff8878c</guid><dc:creator>hfj</dc:creator><description>&lt;p&gt;I followed Martins instructions as he wrote them in the link from my original post, using the Programmer v1.2.0 application and the firmware &lt;strong&gt;&amp;#39;mfw_nrf9160_1.0.0.zip&lt;span&gt;&amp;#39;.&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;I went through the same steps again now. In the Programmer app i clicked &amp;quot;Update modem&amp;quot; after clearing the memory with &amp;quot;Erase all&amp;quot;. After selecting the firmware and clicking &amp;quot;Write&amp;quot;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7750.Capture3.PNG" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The PROG/DEBUG switch is set to nRF91, I don&amp;#39;t think I&amp;#39;ve ever touched it.&lt;/p&gt;
&lt;p&gt;Before programming the device I made sure all build folders were deleted, the at-client sample folder looked like in the following picture:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5672.Capture1.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When building the project in SEGGER I go to &amp;quot;File&amp;quot; and chose &amp;quot;Open nRF Connect SDK Project...&amp;quot; and enter the following:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1055.Capture4.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;After loading the project:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6758.Capture5.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When first building the project it quite often fails,&amp;nbsp;providing an output (this is just the end of the build log):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Building ‘spm/zephyr/linker_pass_final.cmd’ from solution ‘build’ in configuration ‘Common’
1&amp;gt; Combining ‘spm/zephyr/linker_pass_final.cmd’
Building ‘spm/zephyr/CMakeFiles/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/isr_tables.c’ from solution ‘build’ in configuration ‘Common’
1&amp;gt; Combining ‘spm/zephyr/isr_tables.c’
Building ‘cmake_object_order_depends_target_spm_zephyr_final’ from solution ‘build’ in configuration ‘Common’
Building ‘libspmsecureentries.a’ from solution ‘build’ in configuration ‘Common’
1&amp;gt; Compiling ‘empty_file.c’
2&amp;gt; Compiling ‘isr_tables.c’
Building ‘spm/zephyr/zephyr.elf’ from solution ‘build’ in configuration ‘Common’
1&amp;gt; Linking ‘libspmsecureentries.a’
1&amp;gt; Post-link command 
1&amp;gt; C:\gnuarmemb\bin\arm-none-eabi-objcopy.exe: &amp;#39;zephyr.elf&amp;#39;: No such file
Build failed&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The build&amp;nbsp;succeeded after I tried to &amp;quot;Build zephyr/zephyr.elf&amp;quot; before &amp;quot;Build Solution&amp;quot; again. I am assuming that I am doing something slightly wrong here or that I have some wrong settings. Nonetheless, I now have a merged.hex file. Normally I download this to the nRF9160 by connecting to it with J-link in SEGGER and chose the following before navigating to the corresponding build folder and selecting the merged.hex file:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8715.Capture6.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This time, however, I tried doing it like you suggested with the command line. I downloaded the latest nRF Command Line Tool&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download#infotabs"&gt;here&lt;/a&gt;&amp;nbsp;and followed your instructions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PS C:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns\zephyr&amp;gt; nrfjprog -e
Erasing user available code and UICR flash areas.
Applying system reset.
PS C:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns\zephyr&amp;gt; nrfjprog --program merged.hex -f nrf91 --sectorerase -r --verify
Parsing hex file.
Erasing page at address 0x0.
Erasing page at address 0x1000.
Erasing page at address 0x2000.
Erasing page at address 0x3000.
Erasing page at address 0x4000.
Erasing page at address 0x5000.
Erasing page at address 0x6000.
Erasing page at address 0x7000.
Erasing page at address 0xC000.
Erasing page at address 0xD000.
Erasing page at address 0xE000.
Erasing page at address 0xF000.
Erasing page at address 0x10000.
Erasing page at address 0x11000.
Erasing page at address 0x12000.
Erasing page at address 0x13000.
Erasing page at address 0x14000.
Erasing page at address 0x15000.
Erasing page at address 0x16000.
Erasing page at address 0x17000.
Erasing page at address 0x18000.
Erasing page at address 0x19000.
Erasing page at address 0x1A000.
Erasing page at address 0x1B000.
Erasing page at address 0x1C000.
Erasing page at address 0x1D000.
Erasing page at address 0x1E000.
Erasing page at address 0x1F000.
Erasing page at address 0x20000.
Erasing page at address 0x21000.
Erasing page at address 0x22000.
Erasing page at address 0x23000.
Erasing page at address 0x24000.
Erasing page at address 0x25000.
Erasing page at address 0x26000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Verifying programming.
Verified OK.
Applying system reset.
Run.
PS C:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns\zephyr&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After power cycling and connecting to the LTE Link Monitor and pressing reset again:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7737.Capture9.PNG" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/197865?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 13:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fcf0814-8e79-4a6d-9b69-1debd484a92c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Should not give that output unless you have not updated the modem FW. Did you follow all the steps in Martins instructions? Have you ensured that SW5 is set to nRF91?&lt;br /&gt;&lt;br /&gt;Please try to delete all build folders in the at_client folder. When programming the device, can you please describe the steps you have used?&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Using a command line, can you please first issue:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfjprog -e&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then, still in the command line, find the folder where you have v1.0.0 of at_client e.g.&amp;nbsp;&lt;em&gt;nrf\samples\nrf9160\at_client\build\zephyr&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Standing in that folder, run the following (given that you have merged.hex file):&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfjprog --program merged.hex -f nrf91 --sectorerase -r --verify&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/197825?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 11:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fc99298-bcc7-4379-b773-2e7db185ee0d</guid><dc:creator>hfj</dc:creator><description>&lt;p&gt;I updated NCS to v1.0.0 following Martin Lesund&amp;#39;s instructions&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49264/unable-to-update-firmware-on-nrf9160/196300#196300"&gt;here&lt;/a&gt;. After building the&amp;nbsp;mqtt_simple sample and downloading the merged.hex file I launched nRF Connect v3.0.0 and the LTE Link Monitor v1.0.0. When connecting the device and pressing the reset button on the devboard it gives this output.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/nordicHelp110719.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried rebuilding and downloading again, both with using the Programmer app v1.2.0 to clear the memory and without it. I have also tried doing this with the at_client sample.&lt;/p&gt;
&lt;p&gt;I have tried using the v1.0.0 tag previously, but it has given me some problems when building the solutions in SEGGER.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending MQTT messages using the data_publish function from the mqtt_simple sample</title><link>https://devzone.nordicsemi.com/thread/197797?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 10:59:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:733e12ce-ab6f-422b-8a08-e7a8a8e324bf</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;First, please update to the latest version of NCS v1.0.0. This should work better with modem FW v1.0.0.&lt;br /&gt;&lt;br /&gt;What kind of output do you get via LTE Link Monitor in &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Connect-for-desktop"&gt;nRF Connect for Desktop&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;&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></channel></rss>