![]() |
nRF Connect SDK API 3.4.99
|
Emergency Data Storage API. More...
Data Structures | |
| struct | emds_entry |
| struct | emds_dynamic_entry |
Macros | |
| #define | EMDS_STATIC_ENTRY_DEFINE(_name, _id, _data, _len) |
| Define a static entry for emergency data storage items. | |
Typedefs | |
| typedef void(* | emds_store_cb_t) (void) |
| Callback for application commands when storing has been executed. | |
Functions | |
| int | emds_init (emds_store_cb_t cb) |
| Initialize the emergency data storage. | |
| int | emds_entry_add (struct emds_dynamic_entry *entry) |
| Add entry to be saved/restored when emergency data storage is called. | |
| int | emds_store (void) |
| Start the emergency data storage process. | |
| int | emds_load (void) |
| Load all static data from the emergency data storage. | |
| int | emds_clear (void) |
| Clear flash areas allocated for the emergency data storage. | |
| int | emds_prepare (void) |
| Prepare flash area for the next emergency data storage. | |
| int | emds_store_time_get (uint32_t *store_time_us) |
| Estimate the time needed to store the registered data. | |
| int | emds_store_size_get (size_t *store_size) |
| Calculate the size needed to store the registered data. | |
| bool | emds_is_ready (void) |
| Check if the store operation can be run. | |
Emergency Data Storage API.