storage channel

Asset Tracker Template

tags
Asset Tracker Template

The storage channel is the primary zbus channel for controlling the storage module and receiving control or status responses.

Input message types:

  • STORAGE_SET_THRESHOLD - Set threshold for STORAGE_THRESHOLD_REACHED events
  • STORAGE_FLUSH - Flush stored data as individual messages
  • STORAGE_BATCH_REQUEST - Request batch access to stored data
  • STORAGE_CLEAR - Clear all stored data
  • STORAGE_STATS - Display storage statistics

Output message types:

  • STORAGE_THRESHOLD_REACHED - Threshold reached for a data type
  • STORAGE_BATCH_AVAILABLE - Batch ready with data
  • STORAGE_BATCH_EMPTY - No data available
  • STORAGE_BATCH_BUSY - Another session active
  • STORAGE_BATCH_ERROR - Error accessing data