nRF Connect SDK API 0.1.0
|
#define NFC_NDEF_CH_HC_RECORD_DESC_DEF | ( | _name, | |
_payload_id, | |||
_payload_id_length, | |||
_payload_desc | |||
) |
#include <include/nfc/ndef/ch.h>
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.
[in] | _name | Name of the created record descriptor instance. |
[in] | _payload_id | ID of the payload. |
[in] | _payload_id_length | Length of the payload. |
[in] | _payload_desc | Description of the payload. |