nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ nfc_t4t_ndef_file_encode()

int nfc_t4t_ndef_file_encode ( uint8_t * file_buf,
uint32_t * size )

#include <include/nfc/t4t/ndef_file.h>

Encode the NFC NDEF File.

Parameters
[in]file_bufPointer to the NFC NDEF File destination.
[in,out]sizeSize of the encoded NDEF Message as input. Size of the generated NDEF file as output.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.