Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

RESPONSECODE IFDHSetProtocolParameters ( DWORD  Lun,
DWORD  Protocol,
UCHAR  Flags,
UCHAR  PTS1,
UCHAR  PTS2,
UCHAR  PTS3 
)

This function should set the Protocol Type Selection (PTS) of a particular card/slot using the three PTS parameters sent

Parameters:
[in]LunLogical Unit Number
[in]ProtocolDesired protocol

[in]FlagsLogical OR of possible values to determine which PTS values to negotiate

[in]PTS11st PTS Value
[in]PTS22nd PTS Value
[in]PTS33rd PTS Value
See ISO 7816/EMV documentation.
Returns:
Error codes
Return values:
IFD_SUCCESSSuccessful (IFD_SUCCESS)
IFD_ERROR_PTS_FAILURECould not set PTS value (IFD_ERROR_PTS_FAILURE)
IFD_COMMUNICATION_ERRORError has occurred (IFD_COMMUNICATION_ERROR)
IFD_PROTOCOL_NOT_SUPPORTEDProtocol is not supported (IFD_PROTOCOL_NOT_SUPPORTED)
IFD_NOT_SUPPORTEDAction not supported (IFD_NOT_SUPPORTED)
IFD_NO_SUCH_DEVICEThe reader is no more present (IFD_NO_SUCH_DEVICE)

Referenced by IFDSetPTS().

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index