Configuration through nRF Cloud UI

Asset Tracker Template

tags
Asset Tracker Template

Important

The order of the configuration JSON structure matters.

  1. Log in to nRF Cloud.
  2. Navigate to Devices and select your device.
  3. Click on View Config on the top bar.
  4. Select Edit Configuration.
  5. Enter the desired configuration:

    Example 1: 5 minutes sampling, send data immediately after each sample

    {
    "sample_interval": 300,
    "storage_threshold": 1
    }
    

    Example 2: 10 minutes sampling, send data after 6 samples (1 hour)

    {
    "sample_interval": 600,
    "storage_threshold": 6
    }
    

    Important: To remove a configuration entry, you must explicitly set the parameter to null.

  6. Click Commit to apply the changes.

The device receives the new configuration through its shadow and adjusts its sampling interval and storage mode accordingly.