nrfxlib API 2.8.99
|
int nfc_t2t_internal_set | ( | const uint8_t * | data, |
size_t | data_length ) |
#include <nfc/include/nfc_t2t_lib.h>
Register the sequence of internal bytes.
This refers to the first 10 bytes of the tag memory. The library will set a sensible default for these bytes. The application can use this function to override the default.
Passing a NULL pointer reverts back to the default sequence. The data will be copied by NFC T2T Library, so the memory does not have to remain valid after the function returns.
data | Pointer to the memory area containing the data. |
data_length | Size of the data in bytes. |
0 | Success. |
-NRF_EINVAL | Invalid argument (e.g. wrong data length, NULL pointer). |