<?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>Config from nRFCloud</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92803/config-from-nrfcloud</link><description>Hello everyone, 
 In our custom tracking application for the nRF9160, I am connecting to nRFCloud through MQTT when needed. Either when sending a data, or requesting assistance or cell location data. 
 Upon connecting, I receive some data from the cloud</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Oct 2022 06:31:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92803/config-from-nrfcloud" /><item><title>RE: Config from nRFCloud</title><link>https://devzone.nordicsemi.com/thread/391330?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 06:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8d6fcc6-6427-46cb-808c-9f8ae7407257</guid><dc:creator>Torje</dc:creator><description>&lt;p&gt;Thank you both, this is exactly what I need!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config from nRFCloud</title><link>https://devzone.nordicsemi.com/thread/391292?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 19:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:861ee62d-6e19-4696-81f5-271ae826a1e0</guid><dc:creator>justin</dc:creator><description>&lt;p&gt;Michal&amp;#39;s response is correct, that endpoint will update the device shadow.&lt;br /&gt;&lt;br /&gt;When the device connects, it will receive the updated &amp;quot;desired&amp;quot; config section.&amp;nbsp; &lt;br /&gt;Currently, the nrf_cloud fw library will clear the device &amp;quot;desired&amp;quot; config after it is received.&amp;nbsp; You may not want this to occur, depending on your situation.&amp;nbsp; See&amp;nbsp;this &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/9009" rel="noopener noreferrer" target="_blank"&gt;draft PR&lt;/a&gt; for removing &amp;quot;config&amp;quot; processing from the nrf_cloud library.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The device can use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/networking/nrf_cloud.html#c.nrf_cloud_send" rel="noopener noreferrer" target="_blank"&gt;nrf_cloud_send()&lt;/a&gt; to update the&amp;nbsp;&amp;quot;reported&amp;quot; section of the shadow with its current configuration.&amp;nbsp; The topic_type parameter should be set to NRF_CLOUD_TOPIC_STATE.&lt;br /&gt;If you just want to clear out the old asset tracker &amp;quot;config&amp;quot;, you can do so by setting it to null:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;state&amp;quot;: {
    &amp;quot;reported&amp;quot;: {
      &amp;quot;config&amp;quot;: null
    }
  }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Config from nRFCloud</title><link>https://devzone.nordicsemi.com/thread/391261?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 15:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2b9d5ec-060b-433a-837c-ba85bd21b591</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Torje,&lt;/p&gt;
&lt;p&gt;You can try to use &lt;a href="https://api.nrfcloud.com/v1#tag/IP-Devices/operation/UpdateDeviceState"&gt;this endpoint&lt;/a&gt; and wrap the &amp;quot;config&amp;quot; object in the &amp;quot;desired&amp;quot; object.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>