nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ emds_entry_add()

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.

Note
EMDS does not make a local copy of the dynamic entry structure.
Parameters
entryEntry to add to list and load data into.
Return values
0Success
-ERRNOerrno code if error