Hello,

I have decided to enumerate friendly names in pcsc-lite by the following:

Test Reader will be:

Test Reader 0 0
if it is 1 reader and 1 slot

Test Reader 0 0
Test Reader 1 0
if it is 2 readers with 1 slot


Test Reader 0 0
Test Reader 0 1
Test Reader 1 0
Test Reader 1 1
if it is 2 readers that have 2 slots.

after examining some scenarios where a multi slot reader is inserted then a
single, remove the multislot put in a single then put in a multislot would
disrupt a just single number pattern.

My next version of pcsc-lite will support this mechanism and dwSlot that is
passed to each function in the ifdhandler will be passed as:

0xDDDDCCCC where DDDD is the readernum so one driver can handle multiple
reader instances and CCCC is the slot number requested.

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