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

◆ st25r3911b_nfca_transfer()

int st25r3911b_nfca_transfer ( const struct st25r3911b_nfca_buf tx,
const struct st25r3911b_nfca_buf rx,
uint32_t  fdt,
bool  auto_crc 
)

#include <include/st25r3911b_nfca.h>

Exchange the specified amount of data.

This is a generic function for NFC-A data exchange.

Parameters
[in]txTX data buffer.
[in,out]rxRX data buffer.
[in]fdtMaximum frame delay time (according to NFC Forum Digital 2.0 6.10.1).
[in]auto_crcIf set, the CRC is generated automatically by the NFC Reader. Otherwise, the CRC must be added manually to the TX buffer.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.