|
PebbleOS
|
#include <pbl/services/data_logging/dls_private.h>Functions | |
| void | dls_storage_invalidate_all (void) |
| Delete the storage files of all sessions. | |
| void | dls_storage_delete_logging_storage (DataLoggingSession *session) |
| Delete the storage file of a session. | |
| int32_t | dls_storage_read (DataLoggingSession *logging_session, uint8_t *buffer, int32_t num_bytes, uint32_t *new_read_offset) |
| Read data from a session without consuming it. | |
| int32_t | dls_storage_consume (DataLoggingSession *logging_session, int32_t num_bytes) |
| Consume data from a session without reading it. | |
| bool | dls_storage_write_session (DataLoggingSession *session) |
| Move the data from a buffered session's RAM buffer to flash. | |
| bool | dls_storage_write_data (DataLoggingSession *session, const void *data, uint32_t num_bytes) |
| Write data directly to a session's file. | |
| void | dls_storage_rebuild (void) |
| Recreate the sessions stored in flash, called at boot from dls_init(). | |