Send a request to the smart card.
#include <smartcard_spi/SmartCardSession.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardSession::transmit(const SmartCardIoHeader &requestIoHeader, const unsigned char *requestData, unsigned int requestDataLength, SmartCardIoHeader &responseIoHeader, unsigned char *responseData, unsigned int &responseDataLength)=0
BlackBerry 10.3.0
The protocol control information structure corresponding to the protocol to use for sending.
The buffer containing the data to be sent to the smart card.
The length of requestData.
The protocol control information structure corresponding to the protocol used to receive data from the smart card, which is is populated by this function.
The data buffer used to store the response, which is populated by this function. It must be large enough to hold the maximum amount of data that may be returned.
On input, this parameter specifies the length of responseData. Upon return, this parameter specifies the number of bytes returned by the card.
This function sends a request to the smart card.
If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.