This is from Pcsc10CardTerminal....
/** connect to the card */
private void cardConnect() throws CardTerminalException {
// we use the EXCLUSIVE mode of PCSC, so we cannot connect to the reader
without a card inserted
Integer returnedProtocol = new Integer(0);
try {
itracer.debug("cardConnect", "connect to smartcard");
cardHandle = pcsc.SCardConnect(context,
getName(),
Pcsc10Constants.SCARD_SHARE_EXCLUSIVE,
Pcsc10Constants.SCARD_PROTOCOL_T0 |
Pcsc10Constants.SCARD_PROTOCOL_T1,
returnedProtocol);
itracer.debug("cardConnect", "got card handle: " + cardHandle);
} catch(PcscException e) {
throw translatePcscException(e);
}
}
What does this mean? What does EXCLUSIVE have to do with cards being
inserted?
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.