#include <zephyr/types.h>
#include <nfc/ndef/record.h>
Go to the source code of this file.
|
#define | NFC_NDEF_MSG_DEF(name, max_record_cnt) |
| Macro for creating and initializing an NFC NDEF message descriptor.
|
|
#define | NFC_NDEF_MSG(name) (name##_nfc_ndef_msg_desc) |
| Macro for accessing the NFC NDEF message descriptor instance that you created with NFC_NDEF_MSG_DEF.
|
|
#define | NFC_NDEF_NESTED_NDEF_MSG_RECORD_DEF(name, tnf_arg, id_arg, id_len, type_arg, type_len, nested_message) |
| Macro for creating and initializing an NFC NDEF record descriptor with an encapsulated NDEF message. This macro creates and initializes an instance of type nfc_ndef_record_desc that contains an encapsulated NDEF message as payload. nfc_ndef_msg_encode is used as payload constructor to encode the message. The encoded message is then used as payload for the record.
|
|
#define | NFC_NDEF_NESTED_NDEF_MSG_RECORD(name) (name##_ndef_record_nested_desc) |
| Macro for accessing the NFC NDEF record descriptor instance that you created with NFC_NDEF_NESTED_NDEF_MSG_RECORD_DEF.
|
|