nRF Connect SDK API 0.1.0
|
int nfc_t4t_isodep_rats_send | ( | enum nfc_t4t_isodep_fsd | fsd, |
uint8_t | did | ||
) |
#include <include/nfc/t4t/isodep.h>
Send a Request for Answer to Select (RATS).
This function sends a RATS command according to NFC Forum Digital Specification 2.0 14.6.1. The RATS command is used by Reader/Writer to negotiate the maximum frame size and the bit rate divisors with the Listener. This function must be called before nfc_t4t_isodep_transmit.
[in] | fsd | Frame size for the Reader/Writer. |
[in] | did | Logical number of the addressed Listener. Usually it should be set to 0 in case of communication with one Listener. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |