you have
PCSC.SHARE_EXCLUSIVE so i guess you have a card in your reader , you can try a connect first with SHARE_DIRECT in order to connect only to the reader without a card , this would be a good start , the strange point is that it gives you the atr of the card and then nothing ?? are you using a gemplus 410 Gempc ??? or something newer??
Raffaele Sergi <[EMAIL PROTECTED]> wrote:
I'm a developer using Jpcsc version 0.7.5 with a Gemplus USB Smart Card Reader. My os is Windows XP Professional Service Pack 1. My java sdk is j2sdk1.4.2_04
After I run APDUTool and it start connecting the smart cart reader, I can see in the main window this output:
ReaderState of Gemplus USB Smart Card Reader 0: szReader: Gemplus USB Smart Card Reader 0 dwCurrentState: 0x0 dwEventState: 0x30422 rgbAtr: 22: 3B9F95801FC38031E073FE2103B3E1026F830F90008B proto: 0 Card.Connect() failed! Error class: class com.linuxnet.jpcsc.PCSCException Error message: Connect(): 0x6f9, PCSC failed with 0x6F9: 0x6F9 (OK,--,(System))
It stops on line 169 while doing this: card = ctx.Connect(reader, PCSC.SHARE_EXCLUSIVE, PCSC.PROTOCOL_ANY);
Where the parameters are: reader = Gemplus USB Smart Card Reader 0 PCSC.SHARE_EXCLUSIVE = 1 PCSC.PROTOCOL_ANY = -2147483648
I don't understand the error... any suggestion?
_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.drizzle.com/mailman/listinfo/muscle
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Ing�nieur Reader Application Coframi Perso department av pic de bertagne, 13881 gemenos france tel 0442365401 www.gemplus.com Utilisant THunderbird www.mozilla.org %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.drizzle.com/mailman/listinfo/muscle
