nRF Connect SDK API 2.8.99
|
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.
[in,out] | cc | Pointer to Capability Containers descriptor. |
[out] | ndef_buff | Pointer 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_len | Length of NDEF file buffer. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |