nRF Connect SDK API 2.8.99
|
#define NFC_NDEF_TEXT_RECORD_DESC_DEF | ( | name, | |
utf_arg, | |||
lang_code_arg, | |||
lang_code_len_arg, | |||
data_arg, | |||
data_len_arg ) |
#include <include/nfc/ndef/text_rec.h>
Macro for creating and initializing an NFC NDEF record descriptor for a Text record.
This macro creates and initializes an instance of type nfc_ndef_record_desc and an instance of type nfc_ndef_text_rec_payload, which together constitute an instance of a Text record.
Use the macro NFC_NDEF_TEXT_RECORD_DESC to access the NDEF Text record descriptor instance.
name | Name of the created record descriptor instance. |
utf_arg | Unicode Transformation Format. |
lang_code_arg | Pointer to the IANA language code. |
lang_code_len_arg | Length of the IANA language code. |
data_arg | Pointer to the user text. |
data_len_arg | Length of the user text. |