nrfxlib API 2.8.99
|
int nfc_t4t_ndef_staticpayload_set | ( | const uint8_t * | emulation_buffer, |
size_t | buffer_length ) |
#include <nfc/include/nfc_t4t_lib.h>
Set emulation buffer and content for an NDEF Tag emulation that is Read-Only.
The buffer needs to be kept accessible for the lifetime of the emulation. Since no write access is done to the buffer, the content could reside in flash memory.
emulation_buffer | Const buffer pointer |
buffer_length | Length of contained NDEF payload message |
0 | Success. |
-NRF_EINVAL | Invalid argument (for example, wrong data length, NULL pointer). |
-NRF_EOPNOTSUPP | Emulation is in running stated. |