nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nfc_t4t_parameter_get()

int nfc_t4t_parameter_get ( nfc_t4t_param_id_t  id,
void *  data,
size_t *  max_data_length 
)

#include <nfc/include/nfc_t4t_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 (for example, wrong data length, NULL pointer).