![]() |
nRF Connect SDK API 3.3.99
|
| int emds_clear | ( | void | ) |
#include <include/emds/emds.h>
Clear flash areas allocated for the emergency data storage.
This function erases all the flash areas allocated for the emergency data. Calling of this API is optional for emergency data storage working algorithms, since EMDS erases the flash areas before storing data if needed.
| 0 | Success |
| -ECANCELED | errno code if it was called before emds_init |
| -EIO | errno code if error occurs during erasure. |