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

◆ NFC_NDEF_CH_HC_RECORD_DESC_DEF

#define NFC_NDEF_CH_HC_RECORD_DESC_DEF (   _name,
  _payload_id,
  _payload_id_length,
  _payload_desc 
)

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

Value:
\
NFC_NDEF_GENERIC_RECORD_DESC_DEF(_name, \
_payload_id, \
_payload_id_length, \
(_payload_desc))
int nfc_ndef_ch_hc_rec_payload_encode(const struct nfc_ndef_ch_hc_rec *hc_rec, uint8_t *buf, uint32_t *len)
Constructor for an NFC Connection Handover Carrier Record payload.
#define NFC_NDEF_CH_REC_TYPE_LENGTH
Size of the type field of the Connection Handover records. Record types are defined in the file ch_re...
Definition: ch.h:34
const uint8_t nfc_ndef_ch_hc_rec_type_field[2]
An external reference to the type field of the Handover Carrier Record, defined in the file ch_rec....
@ TNF_WELL_KNOWN
Definition: record.h:71

Macro for creating and initializing an NFC NDEF record descriptor for the Handover Carrier 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 Connection Handover record.

Use the macro NFC_NDEF_CH_HC_RECORD_DESC to access the NDEF Connection Handover record descriptor instance.

Parameters
[in]_nameName of the created record descriptor instance.
[in]_payload_idID of the payload.
[in]_payload_id_lengthLength of the payload.
[in]_payload_descDescription of the payload.