nRF Connect SDK API 2.8.0
|
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.
[in] | tx | TX data buffer. |
[in,out] | rx | RX data buffer. |
[in] | fdt | Maximum frame delay time (according to NFC Forum Digital 2.0 6.10.1). |
[in] | auto_crc | If set, the CRC is generated automatically by the NFC Reader. Otherwise, the CRC must be added manually to the TX buffer. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |