Data events:
- STORAGE_THRESHOLD_REACHED: Emitted when the number of stored samples for a type reaches the configured threshold. Contains the data type and count that triggered the event.
Data messages:
- STORAGE_DATA: Contains stored data being flushed or forwarded. Includes data type and the actual data payload.
Batch status:
-
STORAGE_BATCH_AVAILABLE: Batch is ready for reading. Message includes total item count available and session ID.
-
STORAGE_BATCH_EMPTY: No stored data available. Batch is empty.
-
STORAGE_BATCH_BUSY: Another module is currently using the batch session.
-
STORAGE_BATCH_ERROR: Error occurred during batch operation.