nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nfc_t2t_parameter_get()

int nfc_t2t_parameter_get ( nfc_t2t_param_id_t id,
void * data,
size_t * max_data_length )

#include <nfc/include/nfc_t2t_lib.h>

Query an NFC parameter value.

The queried value will be placed into the passed data buffer. If the buffer is too small, max_data_length will contain the required buffer size. If the buffer is big enough, max_data_length will contain the actual size of the data.

Parameters
idID of the parameter to query.
dataPointer to a buffer receiving the queried data.
max_data_lengthSize of the buffer, receives actual size of queried data.
Return values
0Success.
-NRF_EINVALInvalid argument (e.g. wrong data length, NULL pointer).