On 12/12/06, Marcus Andersson <[EMAIL PROTECTED]> wrote:
Hi,
Hello,
I have a "Precise Biometrics Precise 200 MC" reader and some kind of
JCOP31 card. I use JPCSC. When I have successfully connected to the
card, I want to fetch the PCSC.SCARD_ATTR_VENDOR_IFD_SERIAL_NO. I get
the following error.
SCardGetAttrib(): 0x32, General error.
at com.linuxnet.jpcsc.Card.NativeGetAttrib(Native Method)
at com.linuxnet.jpcsc.Card.GetAttrib(Card.java:439)
at se.fyrplus.bioticket.CardManager.run(Unknown Source)
at java.lang.Thread.run(Thread.java:568)
What could cause this error?
Is SCARD_ATTR_VENDOR_IFD_SERIAL_NO the serial number of the card, the
reader or something else?
The SCARD_ATTR_* "commands" are driver specific.
In your case I suppose SCARD_ATTR_VENDOR_IFD_SERIAL_NO is not
supported by your smart card driver. I think it should return the
serial number of the IFD (the driver) and not the serial number of the
card.
Contact your driver author to have a list of supported SCARD_ATTR_*
commands. For example, for my CCID driver [1] the list of supported
attributes is available at [1].
Bye
[1] http://pcsclite.alioth.debian.org/ccid.html
[2]
http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/SCARDGETATTRIB.txt?op=file&rev=0&sc=0
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle