Changeset 768
- Timestamp:
- 09/23/05 15:44:01 (7 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
-
ctapi/ctapi.h (modified) (1 diff)
-
ifd/cardman.h (modified) (2 diffs)
-
ifd/ifd-ccid.c (modified) (1 diff)
-
ifd/ifd-cm4000.c (modified) (1 diff)
-
ifd/ifd-kaan.c (modified) (1 diff)
-
ifd/ifd-pertosmart1030.c (modified) (4 diffs)
-
ifd/ifd-towitoko.c (modified) (1 diff)
-
ifd/ria.h (modified) (1 diff)
-
tools/openct-tool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ctapi/ctapi.h
r655 r768 42 42 CTAPI_DAD_CT = 1, 43 43 CTAPI_DAD_HOST = 2, 44 CTAPI_DAD_ICC2 = 3 ,44 CTAPI_DAD_ICC2 = 3 45 45 }; 46 46 -
trunk/src/ifd/cardman.h
r656 r768 132 132 unsigned char atr_len; 133 133 unsigned char bIFSD, bIFSC; 134 unsigned char ta1; / / TA(1) specifies Fi over b8 to b5, Di over b4 to b1134 unsigned char ta1; /* TA(1) specifies Fi over b8 to b5, Di over b4 to b1 */ 135 135 unsigned char pts[4]; 136 136 … … 161 161 int op; 162 162 unsigned char proto; 163 int ttl, ttl_hi, / /CWT164 bwt, / /BWT165 ptsttl; / /PTS retry163 int ttl, ttl_hi, /* CWT */ 164 bwt, /* BWT */ 165 ptsttl; /* PTS retry */ 166 166 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) 167 167 int open; -
trunk/src/ifd/ifd-ccid.c
r767 r768 707 707 st->reader_type = TYPE_APDU; 708 708 st->voltage_support |= AUTO_VOLTAGE; 709 st->ifsd=1; / / ?709 st->ifsd=1; /* ? */ 710 710 st->maxmsg = CCID_MAX_MSG_LEN; 711 st->flags = FLAG_AUTO_ATRPARSE|FLAG_NO_PTS; //|FLAG_NO_SETPARAM;711 st->flags = FLAG_AUTO_ATRPARSE|FLAG_NO_PTS; /*|FLAG_NO_SETPARAM; */ 712 712 713 713 reader->driver_data = st; -
trunk/src/ifd/ifd-cm4000.c
r732 r768 99 99 /* propriatary driver doesn't check return value here, too */ 100 100 101 / / CM_IOCGATR101 /* CM_IOCGATR */ 102 102 if (ioctl(dev->fd, CM_IOCGATR, &cmatr) != 0) { 103 103 ifd_debug(1, "error during ioctl(CM_IOCGATR)\n"); -
trunk/src/ifd/ifd-kaan.c
r677 r768 19 19 enum { 20 20 TYPE_KAAN, 21 TYPE_B1 ,21 TYPE_B1 22 22 }; 23 23 -
trunk/src/ifd/ifd-pertosmart1030.c
r748 r768 38 38 PS_EXCHANGE_APDU = 0xa0, 39 39 PS_EXCHANGE_T1_FRAME = 0xa1, 40 PS_POWER_OFF = 0x81 ,40 PS_POWER_OFF = 0x81 41 41 } ps_instruction_t; 42 42 … … 57 57 PS_2WIRE_CARD_TYPE = 0x06, 58 58 PS_3WIRE_CARD_TYPE = 0x05, 59 PS_I2C_CARD_TYPE = 0x02 ,59 PS_I2C_CARD_TYPE = 0x02 60 60 } ps_card_type_t; 61 61 … … 474 474 475 475 for(i = 0, k = 0; i < in_len; i++) { 476 / / convert the most significant nibble476 /* convert the most significant nibble */ 477 477 out[k++] = PS_ASCII_TO_HEX(in[i] >> 4); 478 / / convert the less significant nibble478 /* convert the less significant nibble */ 479 479 out[k++] = PS_ASCII_TO_HEX(in[i] & 0x0f); 480 480 } 481 481 482 / / return the number of byte copied to output buffer482 /* return the number of byte copied to output buffer */ 483 483 return k; 484 484 } … … 744 744 /* header is present */ 745 745 if(PS_HEADER != protocol_bytes[PS_HEADER_IDX]) { 746 / / receive error746 /* receive error */ 747 747 rc = IFD_ERROR_COMM_ERROR; 748 748 goto out; -
trunk/src/ifd/ifd-towitoko.c
r683 r768 20 20 TWT_LED_RED, 21 21 TWT_LED_GREEN, 22 TWT_LED_YELLOW ,22 TWT_LED_YELLOW 23 23 }; 24 24 -
trunk/src/ifd/ria.h
r662 r768 52 52 RIA_SERIAL_SET_CONFIG, 53 53 54 RIA_DATA = 0x80 ,54 RIA_DATA = 0x80 55 55 }; 56 56 -
trunk/src/tools/openct-tool.c
r712 r768 43 43 CMD_MF, 44 44 CMD_READ, 45 CMD_VERSION ,45 CMD_VERSION 46 46 }; 47 47
Note: See TracChangeset
for help on using the changeset viewer.
