nRF Connect SDK API 2.8.99
|
#define NFC_NDEF_CH_AC_RECORD_DESC_DEF | ( | _name, | |
_cps, | |||
_carr_data_ref_len, | |||
_carr_data_ref, | |||
_max_aux_data_ref_cnt ) |
#include <include/nfc/ndef/ch.h>
Macro for creating and initializing an NFC NDEF record descriptor for an Alternative Carrier record.
This macro creates and initializes an instance of type nfc_ndef_record_desc and an instance of type nfc_ndef_ch_ac_rec, which together constitute an instance of an Alternative Carrier record.
Use the macro NFC_NDEF_CH_AC_RECORD_DESC to access the NDEF Alternative Carrier record descriptor instance.
[in] | _name | Name of the created record descriptor instance. |
[in] | _cps | Carrier Power State value. |
[in] | _carr_data_ref_len | Length of the Carrier Data Reference field. |
[in] | _carr_data_ref | Pointer to the Carrier Data Reference field. |
[in] | _max_aux_data_ref_cnt | Maximum number of Auxiliary Data Reference fields. |