nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ bm_zms_delete()

int bm_zms_delete ( struct bm_zms_fs * fs,
uint32_t id )

#include <bm_zms.h>

Delete an entry from the file system.

Note
Once the delete operation is completed, a BM_ZMS_EVT_DELETE event will be propagated to the configured event handler.
Parameters
fsPointer to the file system.
idID of the entry to be deleted.
Return values
0if the delete operation is queued.
-EFAULTif fs is NULL.
-EACCESif BM_ZMS is still not initialized.
-EIOif there is an internal error.