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

◆ ndef_read

int(* nfc_tnep_poller_ndef_api::ndef_read) (uint8_t *ndef_buf, uint16_t ndef_len)

Function used to read the NDEF Message.

It is called when TNEP Poller has to read NDEF data from NFC TNEP Tag Device.

Parameters
[out]ndef_bufPointer to buffer where NDEF Message will be stored. This buffer has to be kept until the read operation is finished.
[in]ndef_lenSize of the NDEF Buffer
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.