<?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 trouble (mqtt_simple &amp;amp; asset_tracker)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51489/mqtt-trouble-mqtt_simple-asset_tracker</link><description>Hello, 
 
 I am working on a custom PCB with nrf9160 capable of getting good signal (tested using &amp;#39;at_client&amp;#39; sample) and all is well on the hardware. 
 I am currently working on sending and receiving messages using mqtt and I am facing issues mostly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Sep 2019 06:12:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51489/mqtt-trouble-mqtt_simple-asset_tracker" /><item><title>RE: MQTT trouble (mqtt_simple &amp; asset_tracker)</title><link>https://devzone.nordicsemi.com/thread/209063?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2019 06:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f28fd3-30e7-485c-8203-584d0816b183</guid><dc:creator>SuperAbe</dc:creator><description>&lt;p&gt;My SES was too old.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;All is well&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT trouble (mqtt_simple &amp; asset_tracker)</title><link>https://devzone.nordicsemi.com/thread/207289?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 07:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fab92a38-4182-409e-a234-fb0e4c091173</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;We have had issues wrt. ordering of compiled object in SES versions (v4.16 and v4.18), so in these versions you might have to recompile.&lt;/p&gt;
&lt;p&gt;Could you try the latest SES version and see if this works better?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/downloads/embedded-studio/embeddedstudio_arm_nordic_win_x64"&gt;https://www.segger.com/downloads/embedded-studio/embeddedstudio_arm_nordic_win_x64&lt;/a&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><item><title>RE: MQTT trouble (mqtt_simple &amp; asset_tracker)</title><link>https://devzone.nordicsemi.com/thread/207200?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 16:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e379c8b-4690-46d6-9126-906464c99881</guid><dc:creator>SuperAbe</dc:creator><description>&lt;p&gt;Thank you. your suggestion worked.&lt;/p&gt;
&lt;p&gt;I had issues with &amp;#39;west update&amp;#39; which were resolved.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I had to switch to an older version of GNU (x-2018-qx &lt;strong&gt;to&amp;nbsp;&lt;/strong&gt;&lt;span&gt;7-2018-q2-update)&lt;/span&gt; according to getting started assistant. After I did that &amp;#39;west update&amp;#39; worked fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I do have another issue i have to fix now if you have any suggestions or should I open up another ticket?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;When I build any sample:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;No such file or directory: &amp;#39;C:/nRFsdk/ncs/nrf/samples/nrf9160/at_client/build/zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT trouble (mqtt_simple &amp; asset_tracker)</title><link>https://devzone.nordicsemi.com/thread/206515?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 07:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fe59389-85d7-429f-9704-f5151e7947b7</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;&amp;nbsp;&lt;/p&gt;
[quote user=""]1. I have uploaded &amp;#39;asset_tracker&amp;#39; onto my PCB and I get error -111. I think this is due to certifications required to connect to nrf cloud. &lt;strong&gt;Please confirm or correct me.&lt;/strong&gt;[/quote]
&lt;p&gt;&amp;nbsp;This is correct. Only development kits have&amp;nbsp;nrf cloud certifications preloaded onto the nRF9160.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]2. I tried using &amp;#39;mqtt_simple&amp;#39; but compiler cannot find reference to&amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;#39;&lt;/span&gt;net_addr_ntop(family, src, dst, size);&amp;#39; in &amp;#39;socket.h&amp;#39;. &lt;strong&gt;How can I fix this issue?&lt;/strong&gt;[/quote]
&lt;p&gt;It sounds like the &amp;quot;nrf&amp;quot; revision is not compatible with the other repositories it depends on. When updating &amp;quot;nrf&amp;quot;, you also need to run &amp;quot;west update&amp;quot;:&lt;/p&gt;
&lt;p&gt;cd ncs/nrf&lt;/p&gt;
&lt;p&gt;west update&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this, then rebuild the sample?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>