2.2.1.5 ReaderState_Common_Call

The ReaderState_Common_Call structure contains the state of the reader at the time of the call as seen by the caller.

 typedef struct _ReaderState_Common_Call {
   unsigned long dwCurrentState;
   unsigned long dwEventState;
   [range(0,36)] unsigned long cbAtr;
   byte rgbAtr[36];
 } ReaderState_Common_Call;

dwCurrentState: A bitmap that specifies the current reader state according to the TS client. Possible values are specified in section 2.2.7.

dwEventState: A bitmap that defines the state of the reader after a state change. Possible values are specified in section 2.2.7.

cbAtr: The number of bytes used in the ATR string.

rgbAtr: The value for the card's ATR string. If cbAtr is NOT zero, this value MUST be formatted in accordance to [ISO/IEC-7816-3] section 8. Unused bytes MUST be set to 0 and MUST be ignored.