Le mercredi 24 septembre 2003 � 22:53:35, john a �crit:
> hi there,

Hello,

>     1.   i was making use of the ScardGetStatus change call of pcsclite
> 1.1.1 ....whenever i issue a ScardGetstatus change call it returns the
> locally stored copy of ATR and then only it queries the driver to get the
> current ATR of the Card..
> is it a bug in pcsc-lite 1.1.1 ????any suggestions to overcome the
> situation????

If I remove the card and insert a new one before SCardStatus() I get a
zero length ATR and a "Card was removed." (0x80100069) return value.

You should try the latest pcsc-lite version 1.2.0-rc2 [1].
The code in ScardGetstatus() changed quiet a lot.

>   2.even if i send the SCARD_UNPOWER_CARD or the SCARD_RESET_CARD in Scard
> disconnect only a warm reset is being sent to the card...i want that to be
> a cold reset???

I think the bug is in the reader driver you use. The option
SCARD_UNPOWER_CARD or SCARD_RESET_CARD is transmitted to the reader
driver. That's the driver job to do a cold or warn reset.

Regards,

[1] https://alioth.debian.org/project/showfiles.php?group_id=1225

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle

Reply via email to