equal
deleted
inserted
replaced
315 #ifndef SCARD_ATR_LENGTH |
315 #ifndef SCARD_ATR_LENGTH |
316 #define SCARD_ATR_LENGTH MAX_ATR_SIZE /* Maximum ATR size */ |
316 #define SCARD_ATR_LENGTH MAX_ATR_SIZE /* Maximum ATR size */ |
317 #endif |
317 #endif |
318 |
318 |
319 /* |
319 /* |
320 * Enhanced messaging has been added to accomodate newer devices which have |
320 * Enhanced messaging has been added to accommodate newer devices which have |
321 * more advanced capabilites, such as dedicated secure co-processors which |
321 * more advanced capabilities, such as dedicated secure co-processors which |
322 * can stream and encrypt data over USB. In order to used enhanced messaging |
322 * can stream and encrypt data over USB. In order to used enhanced messaging |
323 * you must define PCSCLITE_ENHANCED_MESSAGING in the framework(library), |
323 * you must define PCSCLITE_ENHANCED_MESSAGING in the framework(library), |
324 * the daemon, and your application |
324 * the daemon, and your application |
325 */ |
325 */ |
326 #undef PCSCLITE_ENHANCED_MESSAGING |
326 #undef PCSCLITE_ENHANCED_MESSAGING |
330 #define PCSCLITE_SERVER_ATTEMPTS 5 /* Attempts to reach cl */ |
330 #define PCSCLITE_SERVER_ATTEMPTS 5 /* Attempts to reach cl */ |
331 #else |
331 #else |
332 /* |
332 /* |
333 * The message and buffer sizes must be multiples of 16. |
333 * The message and buffer sizes must be multiples of 16. |
334 * The max message size must be at least large enough |
334 * The max message size must be at least large enough |
335 * to accomodate the transmit_struct |
335 * to accommodate the transmit_struct |
336 */ |
336 */ |
337 #define PCSCLITE_MAX_MESSAGE_SIZE (1<<17) /* enhanced (128K) msg len */ |
337 #define PCSCLITE_MAX_MESSAGE_SIZE (1<<17) /* enhanced (128K) msg len */ |
338 #define MAX_BUFFER_SIZE (1<<15) /* enhanced (32K) Tx/Rx Buffer */ |
338 #define MAX_BUFFER_SIZE (1<<15) /* enhanced (32K) Tx/Rx Buffer */ |
339 #define PCSCLITE_SERVER_ATTEMPTS 200 /* To allow larger data reads/writes */ |
339 #define PCSCLITE_SERVER_ATTEMPTS 200 /* To allow larger data reads/writes */ |
340 #endif |
340 #endif |