LinuxQMISDK: slotInfo Struct Reference

LinuxQMISDK SLQS03.03.07

- Main Page
- Modules
- References
- Data Structures

- Data Structures
- Data Fields

Data Fields
slotInfo Struct Reference

## Data Fields
BYTE | cardState
BYTE | upinState
BYTE | upinRetries
BYTE | upukRetries
BYTE | errorState
BYTE | numApp
appStatus | AppStatus [10]

## Detailed Description

This structure contains information about the SLOTS present.

Parameters

  cardState | Indicates the state of the card for each slot. 0 - Absent 1 - Present 2 - Error
  upinState | Indicates the state of UPIN. 0 - Unknown 1 - Enabled and not verified 2 - Enabled and verified 3 - Disabled 4 - Blocked 5 - Permanently blocked 0xFF - Not Available
  upinRetries | Indicates the number of retries remaining to verify the UPIN. If 0xFF, information not available.
  upukRetries | Indicates the number of retries remaining to unblock the UPIN. If 0xFF, information not available.
  errorState | Indicates the reason for the card error, and is valid only when the card state is Error 0 - Unknown 1 - Power down 2 - Poll error 3 - No ATR received 4 - Volt mismatch 5 - Parity error 6 - Unknown; possibly removed 7 - Card returned technical problems 0xFF - Not Available Other values are possible and reserved for future use. When an unknown value is received, it is to be handled as "Unknown".
  numApp | Indicates the number of applications available on the card. The following block is repeated for each application. i.e. AppStatus. If zero(0) then no AppStatus information exists.
  AppStatus[MAX_NO_OF_APPLICATIONS] | See appStatus for more information.

## Field Documentation

appStatus slotInfo::AppStatus[10]

BYTE slotInfo::cardState

BYTE slotInfo::errorState

BYTE slotInfo::numApp

BYTE slotInfo::upinRetries

BYTE slotInfo::upinState

BYTE slotInfo::upukRetries