SlotLogicalSmartCardReader::powerIcc()

Request the inserted card to be powered up, powered down, reset, or receive other actions allowed by IfdPowerAction enumeration.

Synopsis:

#include <smartcard_spi/SlotLogicalSmartCardReader.hpp>
virtual sc_response_code_t smartcard_spi::SlotLogicalSmartCardReader::powerIcc(IfdPowerAction powerAction)

Since:

BlackBerry 10.3.0

Arguments:

powerAction

The power-related action to be performed against the inserted card.

Library:

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

Description:

If the method reports success and the action requested was either a reset or a power up, then you can access the ATR returned by the card, as well as the protocol parameters, by calling .

Returns:

In case of success, SC_IFD_SUCCESS is returned. Otherwise, an error code is returned.