IfdPowerAction

An enumeration that indicates the IFD power action.

Synopsis:

#include <smartcard_spi/SmartCardDataTypes.hpp>
 
 enum {
      IFD_POWER_UP = 0x01   
      IFD_POWER_DOWN = 0x02   
      IFD_RESET = 0x03   
      IFD_COLD_RESET = 0x04   
      IFD_LEAVE_CARD = 0x05   
      IFD_KEEP_CARD_POWERED = 0x06   
};

Since:

BlackBerry 10.3.0

Data:

IFD_POWER_UP
The IFD power up action.

For ISO/IEC 7816-compatible environment: Requests activation of the contact.

For contact-less environment: There is no effect if a PICC is active in the slot logical device. Error condition otherwise.

IFD_POWER_DOWN
The IFD power down action.

For ISO/IEC 7816-compatible environment: Requests deactivation of the contact.

For contact-less environment:
  • ISO 14443-4: DESELECT the PICC. There is no card removal notification must be generated. Poll for the PICC at ISO 14443-3 level. Keep the slot logically occupied.
  • ISO 15693 / ISO 14443-3: There is no state change since these cards are only active during communication and halted otherwise. Do not generate a removal event.
IFD_RESET
The IFD reset action.

For ISO/IEC 7816-compatible environment: Requests a warm reset of the ICC.

For contact-less environment:
  • ISO 14443-4: DESELECT the PICC and reactivate it in the same slot logical device. No card removal notification must be generated. When already powered down (see previous): Reactivate the PICC.
  • ISO 15693 / 14443-3: No action is required since these cards remain in HALT and are only reactivated for communication.
IFD_COLD_RESET
The IFD cold reset action.

For ISO/IEC 7816-compatible environment: Requests a cold reset of the ICC.

For contact-less environment: Same as for warm reset.

IFD_LEAVE_CARD
The IFD leave card action.

No power changes are required, but the reader is notified that it may be entering an idle state. This flag is used when a client session has ended.

The flag is not part of PC/SC specification.

IFD_KEEP_CARD_POWERED
The IFD keep card powered action.

Requests the reader to maintain power to the card even though the reader may be entering an idle state. The flag is typically used when a client session has ended, but the client requested to keep the card powered to maintain the smart card state.

The flag is not part of PC/SC specification.

Library:

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

Description:

Last modified: 2014-06-24



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

comments powered by Disqus