The default sampling interval is set from
CONFIG_APP_SAMPLING_INTERVAL_SECONDS, and the threshold is set from
CONFIG_APP_STORAGE_INITIAL_THRESHOLD. When the device polls the shadow,
it checks for updates to these parameters and applies them at runtime. If a
parameter is not set in the shadow, the device continues using the existing
value (either from Kconfig or a previous shadow update).
To poll the configuration immediately, press and hold Button 1 on the device. This starts a cloud poll and send cycle that fetches the latest shadow delta.
The following diagrams illustrate what happens in the various scenarios where the device polls the shadow: