![]() |
nRF Connect SDK API 3.3.99
|
| int nfc_t4t_isodep_init | ( | uint8_t * | tx_buf, |
| size_t | tx_size, | ||
| uint8_t * | rx_buf, | ||
| size_t | rx_size, | ||
| const struct nfc_t4t_isodep_cb * | cb ) |
#include <include/nfc/t4t/isodep.h>
Initialize NFC ISO-DEP protocol.
This function prepares a buffer for the ISO-DEP protocol and validates it size.
| [in,out] | tx_buf | Buffer for TX data. Data is set there before sending. |
| [in] | tx_size | Size of the TX buffer. |
| [in,out] | rx_buf | Buffer for RX data. Data is set there after receiving valid data from an NFC Tag. |
| [in] | rx_size | Size of the RX buffer. |
| [in] | cb | Callback structure. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |