1 #ifndef RUUVI_TASK_FLASH_H
2 #define RUUVI_TASK_FLASH_H
92 const void *
const message,
const size_t message_length);
116 void *
const message,
const size_t message_length);
167 void print_error_cause (
void);
uint32_t rd_status_t
bitfield for representing errors
bool rt_flash_busy(void)
Check if flash is running an operation.
rd_status_t rt_flash_gc_run(void)
Trigger garbage collection.
rd_status_t rt_flash_init(void)
Initialize flash storage.
rd_status_t rt_flash_free(const uint16_t file_id, const uint16_t record_id)
Free data from flash.
rd_status_t rt_flash_load(const uint16_t file_id, const uint16_t record_id, void *const message, const size_t message_length)
Load data from flash.
rd_status_t rt_flash_store(const uint16_t file_id, const uint16_t record_id, const void *const message, const size_t message_length)
Store data to flash.
Ruuvi error codes and error check function.
Ruuvi sensor interface Lifecycle: Beta
Interface functions to persistent flash storage.