nRF Connect SDK API 2.8.99
|
#define NFC_TNEP_SERIVCE_PARAM_RECORD_DESC_DEF | ( | _name, | |
_tnep_version, | |||
_uri_length, | |||
_uri, | |||
_mode, | |||
_min_time, | |||
_max_time_ext, | |||
_max_message_size ) |
#include <include/nfc/ndef/tnep_rec.h>
Macro for creating and initializing a NFC NDEF record descriptor for a TNEP Service Parameter Record.
This macro creates and initializes an instance of type nfc_ndef_record_desc and an instance of type nfc_ndef_tnep_rec_svc_param, which together constitute an instance of a TNEP service parameter record.
Use the macro NFC_NDEF_TNEP_RECORD_DESC to access the NDEF TNEP record descriptor instance. Use name to access a TNEP Service Parameter description.
[in] | _name | Name of the created record descriptor instance. |
[in] | _tnep_version | TNEP Version. |
[in] | _uri_length | Service name uri length in bytes. |
[in] | _uri | Service name uri. |
[in] | _mode | TNEP communication mode. |
[in] | _min_time | Minimum waiting time. |
[in] | _max_time_ext | Maximum number of waiting time extensions. |
[in] | _max_message_size | Maximum NDEF message size in bytes. |