<?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>Cloned asset_tracker project, need to redirect MQTT broker.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42152/cloned-asset_tracker-project-need-to-redirect-mqtt-broker</link><description>Hello, 
 
 I had to hard code new MQTT broker settings. Specifically the NRF_CLOUD_HOSTNAME. Whenever I update the nerf_cloud Kconfig to select a new broker, the autoconf.h file always ended up with the amazonaws broker. What is the proper way of doing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Jan 2019 16:04:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42152/cloned-asset_tracker-project-need-to-redirect-mqtt-broker" /><item><title>RE: Cloned asset_tracker project, need to redirect MQTT broker.</title><link>https://devzone.nordicsemi.com/thread/164346?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 16:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbc170ae-3ec3-4c88-91b0-7843566ad7ba</guid><dc:creator>gonzalezjl</dc:creator><description>&lt;p&gt;Ignore my last post. &amp;nbsp;It works, I had to remove the spaces around the equals sign in the definition.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cloned asset_tracker project, need to redirect MQTT broker.</title><link>https://devzone.nordicsemi.com/thread/164341?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 15:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30d82f22-748e-4bf7-aa89-11f74c2355dd</guid><dc:creator>gonzalezjl</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I now get this problem;&lt;/p&gt;
&lt;pre&gt;/Users/arjo/Documents/GitHub/ncs/nrf/samples/nrf9160/arjo_mqtt/prj.conf:54: warning: attempt to assign the value &amp;quot; &amp;quot;broker.hivemq.com&amp;quot;&amp;quot; to the undefined symbol NRF_CLOUD_HOST_NAME &lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Juan&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cloned asset_tracker project, need to redirect MQTT broker.</title><link>https://devzone.nordicsemi.com/thread/164267?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 13:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ea4d4b1-b937-49b6-9775-f5cac3c539e6</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;Add this to your asset_tracker/prj.conf file to override the hostname:&lt;/p&gt;
&lt;p&gt;CONFIG_NRF_CLOUD_HOST_NAME=&amp;quot;Somehost.xyz&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that the nrf_cloud library is subscribing/publishing on specific topics, which is very likely not what you want in your application:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c#L56"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c#L56&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A generic mqtt publisher/subscriber example is unfortunately not available at this time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>