Changeset 4132
- Timestamp:
- 12/17/10 09:46:50 (12 years ago)
- Location:
- trunk/csctapi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/icc_async.c
r4131 r4132 948 948 if ((reader->protocol_type == ATR_PROTOCOL_TYPE_T1) && (reader->ifsc != DEFAULT_IFSC)) { 949 949 unsigned char rsp[CTA_RES_LEN]; 950 unsigned short lr=0;950 unsigned short * lr; 951 951 unsigned char tmp[] = { 0x21, 0xC1, 0x01, 0x00, 0x00 }; 952 952 tmp[3] = reader->ifsc; // Information Field size 953 953 tmp[4] = reader->ifsc ^ 0xE1; 954 Protocol_T1_Command (reader, tmp, sizeof(tmp), rsp, &lr);954 Protocol_T1_Command (reader, tmp, sizeof(tmp), rsp, lr); 955 955 } 956 956 return OK; -
trunk/csctapi/ifd_sci.h
r3794 r4132 7 7 #include "../globals.h" 8 8 #include "atr.h" 9 int Sci_WriteSettings (struct s_reader * reader, BYTE T, unsigned long fs, unsigned long ETU, unsigned long WWT, unsigned long BWT, unsigned long CWT, unsigned long EGT, unsigned char P, unsigned char I);10 9 int Sci_GetStatus (struct s_reader *reader, int * status); 11 10 int Sci_Reset (struct s_reader *reader, ATR * atr); -
trunk/csctapi/protocol_t0.h
r3794 r4132 32 32 int Protocol_T0_Command (struct s_reader *reader, unsigned char * command, unsigned short command_len, unsigned char * rsp, unsigned short * lr); 33 33 int Protocol_T14_ExchangeTPDU (struct s_reader *reader, unsigned char * command, unsigned short command_len, unsigned char * rsp, unsigned short * lr); 34 int Protocol_T1_Command (struct s_reader *reader, unsigned char * command, unsigned short command_len, unsigned char * rsp, unsigned short * lr);35 34 36 35 #endif /* _PROTOCOL_T0_ */
Note:
See TracChangeset
for help on using the changeset viewer.