<?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 V2 - How to enable passive mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77754/asset-tracker-v2---how-to-enable-passive-mode</link><description>Is there a straight forward guide that demonstrates how to changes the Asset Tracker V2 application from &amp;quot;Active Mode&amp;quot; to &amp;quot;Passive Mode&amp;quot;? 
 Referencing the notes on the application: 
 https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 24 Jul 2021 04:30:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77754/asset-tracker-v2---how-to-enable-passive-mode" /><item><title>RE: Asset Tracker V2 - How to enable passive mode</title><link>https://devzone.nordicsemi.com/thread/321631?ContentTypeID=1</link><pubDate>Sat, 24 Jul 2021 04:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fedcf7fe-8343-48a9-8433-3fb066dc2822</guid><dc:creator>JMaze</dc:creator><description>&lt;p&gt;That worked well, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Asset Tracker V2 - How to enable passive mode</title><link>https://devzone.nordicsemi.com/thread/321335?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 11:47:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ec39cd2-81da-41b9-b365-bf00b902b3f7</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Hei JMaze,&lt;/p&gt;
&lt;p&gt;I assume you are using the asset_tracker_v2 sample with nRF Connect for Cloud.&lt;/p&gt;
&lt;p&gt;In this case, and with the pre-built HEX file that connects to&amp;nbsp;&lt;span&gt;nRF Connect for Cloud, the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/cd64900f092f6fa21a75baffea7df1a0ff6368d3/applications/asset_tracker_v2/src/modules/Kconfig.data_module#L97-L103"&gt;default compile time value of&amp;nbsp;CONFIG_DATA_DEVICE_MODE is enabled&lt;/a&gt;, meaning the device is in active mode.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In order to enable passive mode &lt;strong&gt;at runtime&lt;/strong&gt;, you need to set the &amp;quot;activeMode&amp;quot; property to false in the device shadow, as documented &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/README.html#known-issues-and-limitations"&gt;here&lt;/a&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;The nRF Cloud web application does not support the manipulation of real-time configurations. However, this is possible by using the REST API calls described in&amp;nbsp;&lt;a class="reference external" href="https://api.nrfcloud.com/v1#operation/UpdateDeviceState"&gt;nRF Cloud Patch Device State&lt;/a&gt;. To manipulate the device configuration, the&amp;nbsp;&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;desired&lt;/span&gt;&lt;/code&gt;&amp;nbsp;section of the device state must be populated with the desired configuration of the device. The following schema sets the various device configuration parameters to their default values:&lt;/span&gt;&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;&lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="s2"&gt;&amp;quot;desired&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:{&lt;/span&gt;
                  &lt;span class="s2"&gt;&amp;quot;config&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:{&lt;/span&gt;
                          &lt;span class="s2"&gt;&amp;quot;activeMode&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="s2"&gt;&amp;quot;activeWaitTime&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="s2"&gt;&amp;quot;movementTimeout&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;3600&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="s2"&gt;&amp;quot;movementResolution&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="s2"&gt;&amp;quot;gpsTimeout&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="s2"&gt;&amp;quot;movementThreshold&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;
                  &lt;span class="p"&gt;}&lt;/span&gt;
          &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>