nRF Connect SDK API 2.8.99
|
int emds_prepare | ( | void | ) |
#include <include/emds/emds.h>
Prepare flash area for the next emergency data storage.
This function prepares the flash area for the next emergency data storage. It deletes the current entries if there is enough space for the next emergency data storage, and clears the flash storage if there is not enough space for the next storage. This has to be done after all the dynamic entries are added. After this has been called emergency data storage should be ready to store.
0 | Success |
-ERRNO | errno code if error |