nRF Connect SDK API 2.8.99
|
#define NFC_NDEF_MSG_DEF | ( | name, | |
max_record_cnt ) |
#include <include/nfc/ndef/msg.h>
Macro for creating and initializing an NFC NDEF message descriptor.
This macro creates and initializes an instance of type nfc_ndef_msg_desc and an array of pointers to record descriptors (nfc_ndef_record_desc) used by the message.
Use the macro NFC_NDEF_MSG to access the NDEF message descriptor instance.
name | Name of the related instance. |
max_record_cnt | Maximal count of records in the message. |