fds_evt_t

nRF5 SDK v12.1.0

An FDS event. More...

#include <fds.h>

Data Fields

fds_evt_id_t id
The event ID. See fds_evt_id_t .
ret_code_t result
The result of the operation related to this event.
union {
struct {
uint16_t pages_not_mounted
} init
struct {
uint32_t record_id
uint16_t file_id
uint16_t record_key
bool is_record_updated
} write
Information for FDS_EVT_WRITE and FDS_EVT_UPDATE events.
struct {
uint32_t record_id
uint16_t file_id
uint16_t record_key
uint16_t records_deleted_count
} del
Information for FDS_EVT_DEL_RECORD and FDS_EVT_DEL_FILE events.
struct {
uint16_t pages_skipped
uint16_t space_reclaimed
} gc
};

Detailed Description

An FDS event.

  • components/libraries/fds/fds.h