Re: PCSC-LITE more than one Card Reader.
Ludovic Rousseau <[email protected]> Thu, 18 May 2017 15:14:12 +0200
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <CAGstE8BH2rj=JLRMn2X6YQ5zCs0ymm_orWeCfDidRJkox-_FHg@mail.gmail.com> |
2017-05-18 11:16 GMT+02:00 Yusuf Bülbül <[email protected]>: > Hi. > Hello, I am using pcsclite for Ubuntu 16.04 TLS. I am developping a C++ > application on QT. I have a problem about pcsclite. Can you help me? I > will be very glad, if you can. > > When I use single card reader, everything is okey. I can list readers and > communicate them. But, When I have plugged two smart card reader to usb > hub, I can't list all readers. I can take only first smart card reader > name. I can't take completed string after '0/' for mszReaders. I have > tried the install last stable version of Pcsclite and ccid driver, but, > it's same. I have stucked here. pcsc-lite version:1.8.20, ccid driver > version:1.4.99. > SCardListReaders() API documentation is at [1]. mszReaders is a *Multi-string* with list of readers. Have a look at this MSDN sample code [2]. I will also add a sample code showing how to use the multi-string returned by SCardListReaders() in pcsc-lite documentation. Thanks for the notice. Bye [1] http://pcsclite.alioth.debian.org/api/group__API.html#ga93b0 7815789b3cf2629d439ecf20f0d9 [2] https://msdn.microsoft.com/fr-fr/library/windows/desktop/aa3 79793(v=vs.85).aspx -- Dr. Ludovic Rousseau _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle