Changeset 441 for branches/merlin/csctapi
- Timestamp:
- 09/21/09 07:10:06 (15 years ago)
- Location:
- branches/merlin/csctapi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/merlin/csctapi/config.h
r440 r441 11 11 /* Debug CT-API */ 12 12 /* #undef DEBUG_CTAPI */ 13 #define DEBUG_CTAPI 113 // #define DEBUG_CTAPI 1 14 14 15 15 /* Debug Integrated Circuit Card */ 16 16 17 17 /* #undef DEBUG_ICC */ 18 #define DEBUG_ICC 118 // #define DEBUG_ICC 1 19 19 20 20 /* Debug Interface Device */ 21 21 22 22 /* #undef DEBUG_IFD */ 23 #define DEBUG_IFD 123 // #define DEBUG_IFD 1 24 24 25 25 /* Debug IFD Handler */ 26 26 27 27 /* #undef DEBUG_IFDH */ 28 #define DEBUG_IFDH 128 // #define DEBUG_IFDH 1 29 29 30 30 /* Debug Input/Output */ 31 31 32 32 /* #undef DEBUG_IO */ 33 #define DEBUG_IO 133 // #define DEBUG_IO 1 34 34 35 35 /* Debug Protocol */ 36 36 37 37 /* #undef DEBUG_PROTOCOL */ 38 #define DEBUG_PROTOCOL 138 // #define DEBUG_PROTOCOL 1 39 39 40 40 //#define PROTOCOL_T0_ISO 1 -
branches/merlin/csctapi/pps.c
r440 r441 117 117 #ifndef PPS_USE_DEFAULT_TIMINGS 118 118 atr = ICC_Async_GetAtr(pps->icc); 119 #ifdef DEBUG_PROTOCOL 119 120 printf("atr.lenght = %u\n",atr->length); 120 121 printf("atr.TS = %u\n",atr->TS); … … 123 124 printf("atr.FI = %u\n",(atr->ib[0][ATR_INTERFACE_BYTE_TA].value & 0xF0) >> 4); 124 125 printf("atr.DI = %u\n",(atr->ib[0][ATR_INTERFACE_BYTE_TA].value & 0x0F)); 125 126 #endif 126 127 ATR_GetParameter(atr, ATR_PARAMETER_N, &(pps->parameters.n)); 127 128 ATR_GetParameter(atr, ATR_PARAMETER_D, &(pps->parameters.d)); 128 129 ATR_GetParameter(atr, ATR_PARAMETER_F, &(pps->parameters.f)); 130 #ifdef DEBUG_PROTOCOL 129 131 printf("pps->parameters.n %f\n",pps->parameters.n); 130 132 printf("pps->parameters.d %f\n",pps->parameters.d); 131 133 printf("pps->parameters.f %f\n",pps->parameters.f); 132 134 #endif 133 135 134 136 // for some unknown reason (for now):
Note:
See TracChangeset
for help on using the changeset viewer.