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

◆ nfc_t4t_hl_procedure_ndef_read()

int nfc_t4t_hl_procedure_ndef_read ( struct nfc_t4t_cc_file cc,
uint8_t *  ndef_buff,
uint16_t  ndef_len 
)

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

Perform NDEF Read Procedure.

Parameters
[in,out]ccPointer to Capability Containers descriptor.
[out]ndef_buffPointer to buffer where the NDEF file will be stored. The NDEF Read procedure is an asynchronous operation, the data buffer have to be kept until this procedure has completed.
[in]ndef_lenLength of NDEF file buffer.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.