Smart Card Reader Driver Program Reference Manual
rev 1.1 Sept, 2003
Advanced Card Systems Ltd.
Page 15 of 34
Options
Type
Value
character delay between the reader
and the host
Set the communication to the
highest possibility
ACO_SET_BAUD_HIGHEST 0
Reset the reader
(hReader is not necessary valid)
ACO_RESET_READER AC_COM1
AC_COM2
Enable the reader to issue the
GET_RESPONSE command
automatically
(only valid for the MCU card)
ACO_ENABLE_GET_RESPONSE
SW1 + “00”
(GET_RESPONSE will be issued
automatically when this SW1 is
returned from the card)
Disable the automatic issue of the
GET_RESPONSE command
(this is the default option of the
reader)
ACO_DISABLE_ GET_RESPONSE
0
Eject card from the card reader
(if applicable)
ACO_EJECT_CARD 0
Check the reader is supporting the
“eject card” option or not*
ACO_GET_READER_CAPABILITIE
S
0
Enable / Disable card insertion /
removal notification message
ACO_SET_NOTIFICATION
1 =enable notification
2 =disable notification
* Function return 0 when that option is supported, otherwise it is not supported
Examples:
// Set the communication baud rate to the highest possible setting
INT16 RtnCode;
RtnCode = AC_SetOption(hReader, ACO_SET_BAUD_HIGHEST, 0);
if (RtnCode < 0)
printf("Set option failed\n");
Notes:
Please notice that many options are not available for the ACR10 reader. You will have an error return if you are
calling it with the ACR10 reader.