nRF Connect SDK API 0.1.0
|
int emds_entry_add | ( | struct emds_dynamic_entry * | entry | ) |
#include <include/emds/emds.h>
Add entry to be saved/restored when emergency data storage is called.
Adds the entry to the dynamic entry list. When the emds_store function is called, takes the given data pointer and stores the data to the emergency data storage.
entry | Entry to add to list and load data into. |
0 | Success |
-ERRNO | errno code if error |