Thomas,
I tried your suggestion and I now have it responding to card insertion / removal, well
sort of ! the card inserted method:
public void cardInserted(CardTerminalEvent event)
{
if (smartcard == null){
CardRequest cr = new CardRequest(CardRequest.ANYCARD, null, null);
try{
smartcard = SmartCard.getSmartCard(event,cr);
terminal = event.getCardTerminal();
slotID = event.getSlotID();
System.out.println("Card Inserted - SmartCard, CAD and Slot reference set");
}
catch (Exception e){
�System.out.println(e.toString());
}
}
}
throws an error:
opencard.core.terminal.CardTerminalException: PcSc10CardTerminal: PCSC Exception in
method SCardConnect: PC/SC Error SCardConnect return code 00000079
is there any glaring errors I have made there ? I am using Schlumberger Reflex 72
PCSC reader w/Cyberflex Access JavaCards.
Thanking you,
Paul
_____________________________________
Get your free E-mail at http://www.ireland.com
---
> 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.