nRF Connect SDK API 2.8.99
|
int nfc_t4t_tlv_block_parse | ( | struct nfc_t4t_tlv_block * | file_control_tlv, |
const uint8_t * | raw_data, | ||
uint16_t * | len ) |
#include <include/nfc/t4t/tlv_block.h>
Function for parsing raw data of File Control TLV, read from a Type 4 Tag.
This function parses raw data of File Control TLV and stores the results in its descriptor.
[in,out] | file_control_tlv | Pointer to the File Control TLV that will be filled with parsed data. |
[in] | raw_data | Pointer to the buffer with raw TLV data. |
[in,out] | len | In: Buffer length with TLV blocks. Out: Total length of first identified TLV within the buffer. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |