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

◆ EMDS_STATIC_ENTRY_DEFINE

#define EMDS_STATIC_ENTRY_DEFINE ( _name,
_id,
_data,
_len )

#include <include/emds/emds.h>

Value:
static const STRUCT_SECTION_ITERABLE(emds_entry, emds_##_name) = { \
.id = _id, \
.data = (uint8_t *)_data, \
.len = _len, \
}
Definition emds.h:31

Define a static entry for emergency data storage items.

Parameters
_nameThe entry name.
_idUnique ID for the entry. This value and not an overlap with any other value.
_dataData pointer to be stored at emergency data store.
_lenLength of data to be stored at emergency data store.

This creates a variable name prepended by emds.