nRF Connect SDK API 0.1.0
|
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.
[in] | file_buf | Pointer to the NFC NDEF File destination. |
[in,out] | size | Size of the encoded NDEF Message as input. Size of the generated NDEF file as output. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |