nrfxlib API 2.8.99
|
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.
id | ID of the parameter to query. |
data | Pointer to a buffer receiving the queried data. |
max_data_length | Size of the buffer, receives actual size of queried data. |
0 | Success. |
-NRF_EINVAL | Invalid argument (for example, wrong data length, NULL pointer). |