| 591 |
DEBUG_INFO2("Firmware: %s", rx_buffer); |
DEBUG_INFO2("Firmware: %s", rx_buffer); |
| 592 |
} |
} |
| 593 |
|
|
| 594 |
|
/* perform a command to configure GemPC Twin reader card movement |
| 595 |
|
* notification to synchronous mode: the card movement is notified _after_ |
| 596 |
|
* the host command and _before_ the reader anwser */ |
| 597 |
|
{ |
| 598 |
|
unsigned char tx_buffer[] = { 0x01, 0x01, 0x01}; |
| 599 |
|
unsigned char rx_buffer[50]; |
| 600 |
|
unsigned int rx_length = sizeof(rx_buffer); |
| 601 |
|
|
| 602 |
|
if (IFD_SUCCESS != CmdEscape(reader_index, tx_buffer, sizeof(tx_buffer), |
| 603 |
|
rx_buffer, &rx_length)) |
| 604 |
|
{ |
| 605 |
|
DEBUG_CRITICAL("Change card movement notification failed."); |
| 606 |
|
return STATUS_UNSUCCESSFUL; |
| 607 |
|
} |
| 608 |
|
} |
| 609 |
|
|
| 610 |
return STATUS_SUCCESS; |
return STATUS_SUCCESS; |
| 611 |
} /* OpenSerialByName */ |
} /* OpenSerialByName */ |
| 612 |
|
|