Share via


T1_DATA (Windows Embedded CE 6.0)

1/6/2010

The T1_DATA structure is used by the Smart Card Driver Library for processing T1 I/O. It should not be directly modified by a driver.

Syntax

typedef struct _T1_DATA {
  UCHAR InfSize;
  ULONG BytesReceived;
  ULONG BytesSent;
  ULONG BytesToSend;
  UCHAR LastError;
  UCHAR NAD;
  ULONG PrevState;
  UCHAR Resend;
  UCHAR Resynch;
  UCHAR SSN;
  ULONG State;
  UCHAR Wtx;
} T1_DATA, *PT1_DATA;

Members

  • InfSize
    Current information field size that can be transmitted.
  • BytesReceived
    Number of bytes already received from the smart card.
  • BytesSent
    Number of bytes already sent to the smart card.
  • BytesToSend
    Number of bytes remaining to send.
  • LastError
    The T1 error code of the last block received.
  • NAD
    The Node Address byte to be sent to the card.
  • PrevState
    The state before an error occurred.
  • Resend
    A resend counter.
  • Resynch
    A resync counter.
  • SSN
    The Send Sequence Number; either or 1 as defined in ISO 7816-3.
  • State
    The current state of the protocol.
  • Wtx
    Contains the waiting time extension for a T=1 transmission. If nonzero, this is a multiplier for the block waiting time. Usually, the driver should time out if the block waiting time expires. Several smart card operations need longer time, so the smart card answers with a waiting time extension, and therefore the block waiting time must be multiplied with the Wtx value. Note that this value only applies as a waiting extension if the value is nonzero.

Requirements

Header smclib.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Smart Card Driver Structures