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

◆ nfc_t4t_cc_file_content_set()

int nfc_t4t_cc_file_content_set ( struct nfc_t4t_cc_file t4t_cc_file,
const struct nfc_t4t_tlv_block_file file,
uint16_t  file_id 
)

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

Function for binding a file with its File Control TLV block.

This function binds file content with its File Control TLV block, in which maximal file size and access conditions are stored.

Parameters
[in,out]t4t_cc_filePointer to the CC file descriptor.
[in]filePointer to File descriptor.
[in]file_idFile identifier.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.