Hello,

I'm going to release the best pcsc-lite yet. The new version does a great
job of events.  Here is a new feature added:

SCardGetStatusChange(hContext, INFINITE, 0, 0)

Normally you would send an LPSCARD_READERSTATES and a number.  Send two
NULLs and GetStatusChange blocks until a reader becomes available.  Then
call SCardListReaders to get the reader.  If the reader is pulled after a
connection, the next call will return an SCARD_E_READER_UNAVAILABLE  should
the reader become connected again you will get an SCARD_E_INVALID_HANDLE
until you disconnect and connect again.  I have optimized the daemon to
take less than 1% of system resources (on my AMD 400 with 64megs) when in
use.

It uses all the windows returns so any Java, Python wrappers will work on
both platforms.

I'll release next week.

Best Regards,
Dave

David Corcoran                                  Purdue University
1008 Cherry Lane
West Lafayette, IN 47906
[EMAIL PROTECTED]
765 - 427 - 5147                                http://www.linuxnet.com


***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to