Register a smart card driver.
virtual sc_response_code_t smartcard_spi::SmartCardDriverManager::registerCardDriver(const sc_card_name_t &cardName, const AtrString &atr, const AtrString &atrMask, SmartCardDriver *smartCardDriver)=0
The smart card name.
The Answer to Reset (ATR) of the card supported by this driver.
The ATR mask that will be used to match the provided ATR against the card ATR.
The smart card factory implementation provided by the driver; must not be NULL.
Library:libscs (For the qcc command, use the -l scs option to link against this library)
This function registers a smart card driver. The smart card framework will maintain a pointer to the provided factory. It is expected that the factory object will not be deleted until the instance is destroyed, and this will typically occur when the driver process terminates.
If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.
Last modified: 2014-06-24