Threshold configuration

Asset Tracker Template

tags
Asset Tracker Template

The following option controls the buffering threshold:

  • CONFIG_APP_STORAGE_INITIAL_THRESHOLD (default: 1): Initial threshold for triggering STORAGE_THRESHOLD_REACHED events. A value of 1 means that every sample triggers an event, while higher values enable buffering until the module reaches the threshold. You can change the threshold at runtime through STORAGE_SET_THRESHOLD messages.