SmartCardIoHeader::getProtocol()

Retrieve the protocol version.

Synopsis:

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

Since:

BlackBerry 10.3.0

Arguments:

protocol

The protocol version, which is populated by this function.

Library:

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

Description:

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

Returns:

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus