Changeset 3794 for trunk/csctapi
- Timestamp:
- 11/01/10 06:48:15 (13 years ago)
- Location:
- trunk/csctapi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/icc_async.c
r3699 r3794 888 888 if ((reader->protocol_type == ATR_PROTOCOL_TYPE_T1) && (reader->ifsc != DEFAULT_IFSC)) { 889 889 unsigned char rsp[CTA_RES_LEN]; 890 unsigned short * lr;890 unsigned short lr=0; 891 891 unsigned char tmp[] = { 0x21, 0xC1, 0x01, 0x00, 0x00 }; 892 892 tmp[3] = reader->ifsc; // Information Field size 893 893 tmp[4] = reader->ifsc ^ 0xE1; 894 Protocol_T1_Command (reader, tmp, sizeof(tmp), rsp, lr);894 Protocol_T1_Command (reader, tmp, sizeof(tmp), rsp, &lr); 895 895 } 896 896 return OK; -
trunk/csctapi/ifd_sci.h
r2556 r3794 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); 9 10 int Sci_GetStatus (struct s_reader *reader, int * status); 10 11 int Sci_Reset (struct s_reader *reader, ATR * atr); -
trunk/csctapi/protocol_t0.h
r1951 r3794 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); 34 35 35 36 #endif /* _PROTOCOL_T0_ */
Note:
See TracChangeset
for help on using the changeset viewer.