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

◆ NFC_NDEF_CH_HR_RECORD_DESC_DEF

#define NFC_NDEF_CH_HR_RECORD_DESC_DEF (   _name,
  _major_version,
  _minor_version,
  _max_records 
)

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

Value:
_major_version, \
_minor_version, \
_max_records)
#define NFC_NDEF_CH_RECORD_DESC_DEF(_name, _rec_type_field, _major_version, _minor_version, _max_records)
Macro for creating and initializing an NFC NDEF record descriptor for the Connection Handover.
Definition: ch.h:190
const uint8_t nfc_ndef_ch_hr_rec_type_field[2]
An external reference to the type field of the Handover Request record, defined in the file ch_rec....

Macro for creating and initializing an NFC NDEF record descriptor for a Handover Request record.

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 Handover Request record.

Use the macro NFC_NDEF_CH_RECORD_DESC to access the NDEF Handover Request record descriptor instance.

Parameters
[in]_nameName of the created record descriptor instance.
[in]_major_versionMajor version number of the supported Connection Handover specification.
[in]_minor_versionMinor version number of the supported Connection Handover specification.
[in]_max_recordsMaximum number of local records (cr record plus ac records).