<?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>asset tracker crashing on MQTT_EVT_PUBLISH</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59833/asset-tracker-crashing-on-mqtt_evt_publish</link><description>I am trying to parse the contents of a JSON packet sent from the nrfCloud connect application. The asset tracker program is working fine but I want to sent a message down to the board using the &amp;quot;send&amp;quot; button in the nrfcloud application. The message is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 May 2020 12:55:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59833/asset-tracker-crashing-on-mqtt_evt_publish" /><item><title>RE: asset tracker crashing on MQTT_EVT_PUBLISH</title><link>https://devzone.nordicsemi.com/thread/250189?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 12:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:092a99c1-de17-4fae-bd29-57de80360449</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;this is resolved and can be closed. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset tracker crashing on MQTT_EVT_PUBLISH</title><link>https://devzone.nordicsemi.com/thread/243454?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 17:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52bedb07-8c01-478a-bc90-92c7186e6344</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;jan&lt;/p&gt;
&lt;p&gt;that worked perfectly. Awesome! thank you. you can close this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: asset tracker crashing on MQTT_EVT_PUBLISH</title><link>https://devzone.nordicsemi.com/thread/243428?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 14:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ddfcc7a-2a23-4f1a-8bf6-b4a5c6e11634</guid><dc:creator>Jan Tore Guggedal</dc:creator><description>&lt;p&gt;Hi Timothy,&lt;/p&gt;
&lt;p&gt;The reason for the crash you&amp;#39;re seeing is probably that the MQTT payload hasn&amp;#39;t been read yet, and the memory you&amp;#39;re accessing contains random data.&lt;br /&gt;You can have a look &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/samples/nrf9160/mqtt_simple/src/main.c#L206"&gt;here&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/samples/nrf9160/mqtt_simple/src/main.c#L136"&gt;here&lt;/a&gt; to see how that&amp;#39;s done in the MQTT sample.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jan Tore&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>