| Parameter | Description | Unit | Valid range | Static configuration |
|---|---|---|---|---|
sample_interval |
Sample interval | Seconds | 1 to 4294967295 | CONFIG_APP_SAMPLING_INTERVAL_SECONDS (default: 600) |
storage_threshold |
Number of records to store before triggering a cloud update | Records | 1 to CONFIG_APP_STORAGE_MAX_RECORDS_PER_TYPE |
CONFIG_APP_STORAGE_INITIAL_THRESHOLD (default: 1) |
You can set the runtime configurations through the cloud device shadow, where they override the compile-time Kconfig defaults listed in the Static configuration column.
The complete device shadow structure is defined in the Concise Data Definition Language (CDDL) schema in the app/src/cbor/device_shadow.cddl file. The schema specifies all supported configuration parameters, commands, and their valid value ranges.