Output messages

Asset Tracker Template

tags
Asset Tracker Template

The module publishes the following data event message:

  • STORAGE_THRESHOLD_REACHED: Emitted when the number of stored samples for a type reaches the configured threshold. Contains the data type and the count that triggered the event.

The module publishes the following data message:

  • STORAGE_DATA: Contains the stored data that the module flushes or forwards. Includes the data type and the data payload itself.

The module publishes the following batch status messages:

  • STORAGE_BATCH_AVAILABLE: The batch is ready for reading. The message includes the total item count available and the session ID.
  • STORAGE_BATCH_EMPTY: No stored data is available, which means that the batch is empty.
  • STORAGE_BATCH_BUSY: Another module is using the batch session.
  • STORAGE_BATCH_ERROR: An error occurred during a batch operation.