pub unsafe extern "C" fn rfalNfcDataExchangeStart(
    txData: *mut u8,
    txDataLen: u16,
    rxData: *mut *mut u8,
    rvdLen: *mut *mut u16,
    fwt: u32,
    tx_flag: u32
) -> u16
Expand description

\brief RFAL NFC Start Data Exchange

After a device has been activated, it starts a data exchange. It handles automatically which interface/protocol to be used and acts accordingly.

In Listen mode the first frame/data shall be sent by the Reader/Initiator therefore this method must be called first with txDataLen set to zero to retrieve the rxData and rcvLen locations.

\param[in] txData : data to be transmitted \param[in] txDataLen : size of the data to be transmitted \param[out] rxData : location of the received data after operation is completed \param[out] rvdLen : location of thelength of the received data \param[in] fwt : FWT to be used in case of RF interface. If ISO-DEP or NFC-DEP interface is used, this will be ignored

\return ERR_WRONG_STATE : Incorrect state for this operation \return ERR_PARAM : Invalid parameters \return ERR_NONE : No error