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

◆ NFC_NDEF_PARSER_REQUIRED_MEM

#define NFC_NDEF_PARSER_REQUIRED_MEM (   max_count_of_records)

#include <include/nfc/ndef/msg_parser.h>

Value:
(sizeof(struct nfc_ndef_msg_parser_msg_1) + \
((NFC_NDEF_MSG_PARSER_DELTA) * ((uint32_t)(max_count_of_records) - 1)))
#define NFC_NDEF_MSG_PARSER_DELTA
Amount of memory that is required per record in addition to the memory allocated for the message desc...
Definition: msg_parser.h:47
Memory allocated for a one-record message.
Definition: msg_parser.h:28

Calculate the memory size required for holding the description of a message that consists of a certain number of NDEF records.

Parameters
[in]max_count_of_recordsMaximum number of records to hold.