| 288 |
(void)InterruptRead(reader_index); |
(void)InterruptRead(reader_index); |
| 289 |
#endif |
#endif |
| 290 |
break; |
break; |
| 291 |
|
|
| 292 |
|
#ifndef USE_USB_INTERRUPT |
| 293 |
|
/* only if we do not use USB interrupts */ |
| 294 |
|
case GEMALTOPROXDU: |
| 295 |
|
case GEMALTOPROXSU: |
| 296 |
|
{ |
| 297 |
|
/* disable card movements notification |
| 298 |
|
* with RDR_to_PC_NotifySlotChange */ |
| 299 |
|
unsigned char cmd[] = { 0x42, 0x00 /* disable */}; |
| 300 |
|
unsigned char res[10]; |
| 301 |
|
unsigned int length_res = sizeof(res); |
| 302 |
|
|
| 303 |
|
if (CmdEscape(reader_index, cmd, sizeof(cmd), res, &length_res) == IFD_SUCCESS) |
| 304 |
|
{ |
| 305 |
|
DEBUG_COMM("NotifySlotChange disabled"); |
| 306 |
|
} |
| 307 |
|
else |
| 308 |
|
{ |
| 309 |
|
DEBUG_CRITICAL("NotifySlotChange disabling failed"); |
| 310 |
|
} |
| 311 |
|
} |
| 312 |
|
break; |
| 313 |
|
#endif |
| 314 |
} |
} |
| 315 |
|
|
| 316 |
/* ICCD type A */ |
/* ICCD type A */ |