![]() |
nRF Connect SDK API 3.3.99
|
| #define NFC_NDEF_RECORD_BIN_DATA_DEF | ( | name, | |
| tnf_arg, | |||
| id_arg, | |||
| id_len, | |||
| type_arg, | |||
| type_len, | |||
| payload_arg, | |||
| payload_len ) |
#include <include/nfc/ndef/record.h>
Macro for creating and initializing an NFC NDEF record descriptor for a record with binary payload.
This macro creates and initializes an instance of type nfc_ndef_record_desc and a binary data descriptor containing the payload data.
Use the macro NFC_NDEF_RECORD_BIN_DATA to access the NDEF record descriptor instance.
| name | Name of the created descriptor instance. |
| tnf_arg | Type Name Format (TNF) value for the record. |
| id_arg | Pointer to the ID string. |
| id_len | Length of the ID string. |
| type_arg | Pointer to the type string. |
| type_len | Length of the type string. |
| payload_arg | Pointer to the payload data that will be copied to the payload field. |
| payload_len | Length of the payload. |