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

◆ nfc_t2t_internal_set()

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.

Note
When modifying the internal bytes, remember that they must be consistent with the NFC hardware register settings.
Parameters
dataPointer to the memory area containing the data.
data_lengthSize of the data in bytes.
Return values
0Success.
-NRF_EINVALInvalid argument (e.g. wrong data length, NULL pointer).