Dear OCF builder,

Except in interfaces
* com.ibm.opencard.terminal.pcsc10.Pcsc10Constants,
* com.ibm.opencard.terminal.pcscmig.PcscMigConstants
and class
* com.ibm.opencard.terminal.pcsc.PcscError

i can't find any reference of all 000000xx statuses often met in this 
mail-list; howover (some of) these statuses seem to map the (microsoft) 
PC/SC library errors (the SCARD_.... constants); is there really no list of 
OCF specific errors ?

does 79h stands for "BHERR_PROTOCOL_NOT_REGISTERED" or it is the value 
"RETURN_CODE" (in com.ibm.opencard.script.Code) ?

in Pcsc10LockableTerminal and Pcsc10CardTerminal classes, you use the 79h 
value (hard-coded) to check a semaphore timeout, is it the right meaning of 
this number ? do other statuses have dedicated meaning ? can we find them 
somewhere ?

thank for assistance.
Sylvain Ferey.




At 16:30 28/02/00 +0100, Susanne Guth wrote:
>Hello there!
>
>I am having trouble with the PC/SC Error Code. I do not find a detailed
>explanation for code "00000079"! When I try to connect to my card via PC/SC I
>always get the following error message:
>
>[DEBUG    ] opencard.core.event.EventGenerator.updateCards
>--- message   notified CTListeners
>--- thread    Thread[Thread-2,5,applet-SignDoc.class]
>--- source    class opencard.core.event.EventGenerator
>
>opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC 
>Exception
>in method SCardConnect: PC/SC Error SCardConnect
>return code = 00000079
>
>   at java.lang.Throwable.<init>(Compiled Code)
>   at java.lang.Exception.<init>(Compiled Code)
>   at java.io.IOException.<init>(Compiled Code)
>   at opencard.core.OpenCardException.<init>(Compiled Code)
>   at opencard.core.terminal.CardTerminalException.<init>(Compiled Code)
>   at
>com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.translatePcscException( 
>Compiled
>Code)
>   at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.cardConnect(Compiled
>Code)
>   at
>com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.internalOpenSlotChannel 
>(Compiled
>Code)
>   at opencard.core.terminal.CardTerminal.openSlotChannel(Compiled Code)
>   at opencard.core.service.CardServiceRegistry.getSmartCard(Compiled Code)
>   at opencard.core.service.SmartCard.getSmartCard(Compiled Code)
>   at opencard.core.service.CardWaiter.cardInserted(Compiled Code)
>* at opencard.core.event.EventGenerator.updateCards(Compiled Code)
>   at opencard.core.terminal.CardTerminalRegistry.cardInserted(Compiled Code)
>   at opencard.core.terminal.CardTerminal.cardInserted(Compiled Code)
>   at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.poll(Compiled Code)
>   at opencard.core.event.EventGenerator.run(Compiled Code)
>   at java.lang.Thread.run(Compiled Code)
>
>Does somebody has an idea what causes this message or where I can find the 
>error
>code definition?
>
>Greeting from Cologne/Germany
>Susanne Guth
>Sema Group CGTec GmbH
>+49 211 98175-23
>[EMAIL PROTECTED]
>



---
> 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.

Reply via email to