UG_12xxF_016
73S12xxF Software User Guide
Rev. 1.50
79
pucSW2: Output parameter
Contains the received SW2 value.
pbStatusJustAfterHeader: Output parameter
This boolean parameter specifies if the status bytes have been received just after the
header (TRUE) or after the data (FALSE) [Useful for the EMV Tests suite]. This
parameter must be taken into account only if the
ICC_Configure() command set the
pbIccWarningStatusBytesManagementT0 bit.
Return Codes
AR_ICC_OK
Successful operation: the command was successfully transmitted to the Smart
Card and a valid response was received.
AR_ICC_ERR_BAD_PARAM
An inconsistent command was specified. The API was unable to compute the
command case value.
AR_ICC_ERR_CARD_MUTE
The Smart Card is mute.
AR_ICC_ERR_CARD_ABSENT
No Smart Card is inserted.
AR_ICC_ERR_CARD_DISCONNECTED
The Smart Card was removed during the activation operation.
AR_ICC_ERR_WRONG_LEN
Either the command case (T=0) is not correctly formatted, or the buffer size
specified is too small; especially in a Case 2 where the card sometimes responds
with a 61xx where xx > specified buffer size.
AR_ICC_ERR_CARD_COMM_PB
Too many errors with the Smart Card occurred, so the interface has been closed.
AR_ICC_ERR_CARD_COMM_PB
There is some communication error between the reader and smart card such as
a parity error, a bad response block from the card, a bad EDC, a transmission
error or a bad procedure byte.
ICC_Configure_Ext ()
Purpose
Get and Set the configurable protocol parameters of the specified Smart Card
interface. This function was developed to support different conformance tests and
different hardware configuration. This API should be called as the first HAPI call to
make sure the hardware configuration is setup properly according to the hardware
design.
This API is recently added to the CCID USB release version 1.50 (or PCCID release
later than version 3.10). The API is an extension of
ICC_Configure() to provide
called, not both. ICC_Configure is exactly the same as ICC_Configure_Ext with
default values for ICC_HWConfigure_t such that: IccHz = ICC_3600KHZ),
DebouncePUEnable = SC_DEBOUNCEON | TRUE and DebouncePDEnable =
SC_DEBOUNCEOFF | FALSE.
Synopsis
AR_ICC_RC ICC_Configure_Ext (
IN enum ICC_ID eIccId,
IN enum ICC_ADDR IccAddr,
IN enum ICC_CARDEVENT IccCE,
IN enum I2C_USRIO eIccUsrIO,
// only use this option in the case of
single-8010
// controlling multiple external slots.
IN BOOLEAN bIccSetOperation,
INOUT ICC_Configure_t *ptrConfigure,