[prev in list] [next in list] [prev in thread] [next in thread]
List: ms-smartcardddk
Subject: Re: Unrecognized PC/SC Compliance Test Card
From: Klaus Schutz <kschutz () MICROSOFT ! COM>
Date: 1998-06-30 17:27:27
[Download RAW message or body]
Tristan,
the released version of smclib does not handle the G&D card correctly.
Please take smclib from the new DDK which will be released soon or is
already available on the net. (MSDN download forum)
Klaus U. Schutz
Microsoft
-----Original Message-----
From: L.W.You [mailto:lwyou@BTC.COM.TW]
Sent: Monday, June 29, 1998 7:15 PM
To: SmartCardDDK@DISCUSS.MICROSOFT.COM
Subject: Re: Unrecognized PC/SC Compliance Test Card
Thank you Klaus:
I have another question.In those 6 PC/SC test cards,when the ifdtest
issues IOCTL_SMARTCARD_SET_PROTOCOL to my driver and pass to smartcard
library,
only the G&D card gets an error,the library returns 16h (C0000184h
STATUS_INVALID_DEVICE_STATE).When I reset the card,I set the state of reader
to
SCARD_NEGOTIABLE,and when I want to set protocol,the library returns 16h.I
also set the
state to SCARD_POWERED ,the library returns 16h too.What state should it be?
Regards.
Tristan
-----原始郵件-----
寄件者: Klaus Schutz <kschutz@MICROSOFT.COM>
收件者: SmartCardDDK@DISCUSS.MICROSOFT.COM
<SmartCardDDK@DISCUSS.MICROSOFT.COM>
日期: 1998年6月30日 AM 01:38
主旨: Re: Unrecognized PC/SC Compliance Test Card
>Tristan,
>
>all ATRs miss the very last byte.
>IBM: 43
>G&D: 9b
>SNI: 4d
>
>I would say that your reader omits the checksum of the ATR for T=1 cards,
>this is why you get the error from SmartcardUpdateCardCapabilities().
>
>Klaus U. Schutz
>Microsoft Corp.
>
>-----Original Message-----
>From: L.W.You [mailto:lwyou@BTC.COM.TW]
>Sent: Friday, June 26, 1998 1:58 AM
>To: SmartCardDDK@DISCUSS.MICROSOFT.COM
>Subject: Unrecognized PC/SC Compliance Test Card
>
>
>Hello Klaus:
> I use 6 test cards (they are IBM,G&D,Bull,Siemens,Schlumberger and
>AMMI) to test my driver.
>When I reset these cards and get the ATR string,there are 3 cards
>unrecognized by smartcard library.
>These cards are IBM,G&D and Siemens test card.When I get ATR and call
>SmartcardUpdateCardCapabilities
>routine,it returns 0XC0000014(STATUS_UNRECOGNIZED_MEDIA).How does the error
>occur?
>
>These ATR is as follow:
>IBM:
> 3b ef 00 ff 81 31 86 45
> 49 42 4d 20 4d 46 43 34
> 30 30 30 30 38 33 31
>G&D:
> 3b bf 18 00 80 31 70 35
> 53 54 41 52 43 4f 53 20
> 53 32 31 20 43 90 00
>Siemens:
> 3b ef 00 00 81 31 20 49
> 00 5c 50 43 54 10 27 f8
> d2 76 00 00 38 33 00
>
>Thanks for your answers
>
>Tristan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic