No description available.
The PTS_DATA structure is used for protocol type selection (PTS).
TypeControls how the remaining members of this structure are calculated. This member can have one of the following values:
Calculates standard parameters for PTS.
Calculates the best possible parameters for PTS.
Calculates user-defined parameters for PTS.
The smart card driver library populates the remaining members of this structure when the reader driver calls its SmartcardUpdateCardCapabilities (WDM) routine. However, in some cases, the reader driver might be responsible for setting these parameters. For example, if a PTS request that specifies optimal parameters fails, the reader driver can set the parameters in a callback function that specifies the protocol. To specify the protocol, the callback function should set the type to PTS_TYPE_DEFAULT and call SmartcardUpdateCardCapabilities again.
FlThe Fl value to use as part of PTS1 for the PTS request.
DlThe Dl value to use as part of PTS1 for the PTS request.
CLKFrequencyContains the clock frequency. Some smart card readers must be programmed by using the new clock frequency to use after the PTS request.
DataRateContains the new data rate. Some smart card readers (for example, serial readers) must be set to the new data rate to use after a PTS request.
StopBitsContains the number of stop bits to use with the inserted card.
The smart card reader driver library assigns values to the members of this structure before it calls the callback function that sets the protocol. The driver library considers the characteristics of the inserted smart card, the supported clock frequencies, and supported data rates of the reader when it assigns the values.