SmartCardSession::setReaderCapabilities()

Set the reader attribute that's associated with the provided tag.

Synopsis:

#include <smartcard_spi/SmartCardSession.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardSession::setReaderCapabilities(unsigned int tag, const unsigned char *attribute, unsigned int attributeLength)=0

Since:

BlackBerry 10.3.0

Arguments:

tag

The tag of the attribute to be set.

attribute

The new attribute value, in TLV format.

attributeLength

The length of attributeLength.

Library:

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

Description:

This function sets the reader attribute that's associated with the provided tag. If the tag is unknown, cannot be set, or the provided value is illegal, an error is returned.

Returns:

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