IfdState

An enumeration that indicates the state and current protocol status of the card.

Synopsis:

#include <smartcard_spi/SmartCardDataTypes.hpp>
 
 enum {
      SCARD_UNKNOWN = 0x00000001   
      SCARD_ABSENT = 0x00000002   
      SCARD_PRESENT = 0x00000004   
      SCARD_SWALLOWED = 0x00000008   
      SCARD_POWERED = 0x00000010   
      SCARD_NEGOTIABLEMODE = 0x00000020   
      SCARD_SPECIFICMODE = 0x00000040   
};

Since:

BlackBerry 10.3.0

Data:

SCARD_UNKNOWN
The state is not known.
SCARD_ABSENT
There is no card in the reader.
SCARD_PRESENT
A card is in the reader.
SCARD_SWALLOWED
A card is in the reader and is properly positioned for operation.
SCARD_POWERED
A card is in the reader and has been powered.
SCARD_NEGOTIABLEMODE
The card is capable of negotiating a new protocol setting.
SCARD_SPECIFICMODE
The card is in a specific protocol mode and a new protocol may not be negotiated.

Library:

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

Description:

An enumeration used to indicate the state of the card in the reader and the current protocol status of the card. The current protocol status is used to specify whether the card is willing to negotiate a new protocol or not as defined in ISO/IEC 7816.

Last modified: 2014-06-24



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

comments powered by Disqus