nRF Connect SDK API 0.1.0
|
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.
[in,out] | t4t_cc_file | Pointer to the CC file descriptor. |
[in] | file | Pointer to File descriptor. |
[in] | file_id | File identifier. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |