You are right. PC/SC doesn't formally specify how one would go about
sending events on card insertion/removal. It does provide an API though
for you to test this. I suppose an application could thread this for real
time notification but I would like to extend the specification to support
events for those readers that support interrupts on card insertion/removal
and plan to do so. Unfortunately, none of the readers that I'm currently
working with support interrupts so they would have to have a threaded
driver that throws an event on insertion/removal.
Any suggestions on how one would go about this are appreciated.
Thanks
Dave
*************************************************************
David Corcoran Internet Security/Smartcards
Home: Purdue University
2252 US Highway 52 West Department of Computer Science
West Lafayette, IN 47906 CERIAS/COAST Laboratory
(765) 463-2455
http://www.cs.purdue.edu/homes/corcordt
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
***************************************************************