On 28/12/06, Robert Nagy <[EMAIL PROTECTED]> wrote:
Hi.I am having a problem and i am unable to figure out what the problem is. I am trying to read a string which is 9 chars long. that is written to the card. Here is the code I use: The card that i am trying to read is a SLE 4442. Please give me some pointers. Thank you! ---8<--- #!/usr/bin/perl use warnings; use strict; use Chipcard::PCSC; use Chipcard::PCSC::Card; my $hContext = new Chipcard::PCSC (); my $hCard = new Chipcard::PCSC::Card ($hContext, "CASTLES EZ100PU 00 00", $Chipcard::PCSC::SCARD_SHARE_DIRECT, $Chipcard::PCSC::SCARD_PROTOCOL_RAW);
Why are you using SCARD_PROTOCOL_RAW instead of SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1? Is it supported by the reader driver? Bye, -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
