nRF Connect SDK API 2.8.99
|
#define NFC_NDEF_CH_RECORD_DESC_DEF | ( | _name, | |
_rec_type_field, | |||
_major_version, | |||
_minor_version, | |||
_max_records ) |
#include <include/nfc/ndef/ch.h>
Macro for creating and initializing an NFC NDEF record descriptor for the Connection Handover.
This macro creates and initializes an instance of type nfc_ndef_record_desc and an instance of type nfc_ndef_ch_rec, which together constitute an instance of a Connection Handover record.
Use the macro NFC_NDEF_CH_RECORD_DESC to access the NDEF Connection Handover record descriptor instance.
[in] | _name | Name of the created record descriptor instance. |
[in] | _rec_type_field | The NFC Forum Well Known Type Connection Handover record type. |
[in] | _major_version | Major version number of the supported Connection Handover specification. |
[in] | _minor_version | Minor version number of the supported Connection Handover specification. |
[in] | _max_records | Maximum number of local records. |