SmartCardIoHeader::setProtocol()

Set the protocol version.

Synopsis:

#include <smartcard_spi/SmartCardIoHeader.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardIoHeader::setProtocol(unsigned int protocol)=0

Since:

BlackBerry 10.3.0

Arguments:

protocol

The protocol version to set.

Library:

libscs (For the qcc command, use the -l scs option to link against this library)

Description:

This function sets the protocol version that's used for APDU transmission.

Returns:

If successful, SC_IFD_SUCCESS is returned. Otherwise, an error code is returned.