[fpc-pascal] PC/SC

Johann Glaser Johann.Glaser at gmx.at
Wed Sep 1 22:40:22 CEST 2010


Hi!

Am Mittwoch, den 01.09.2010, 16:27 -0400 schrieb DaWorm:
> Project Jedi has translations for Delphi.  I don't know how easily
> they could be used for Linux and the PC/SC Lite used there, but it
> could be a helpful start.

Google pointed me to a Delphi component at
http://www.nobbi.com/download/pcsccomp.zip which looks very fine. It
includes (modified) versions of some JEDI header translations plus a
fine OOP wrapper for PC/SC. But everything is for Windows and I'm
unfamiliar with it and with components. So I thought I'd rather ask here
for some help.

> If you don't mind me asking, which Mifare reader supports PC/SC?  I
> use both chipcard and Mifare readers, but hadn't seen a PC/SC Mifare
> reader before.

Its an SCM SCL010 reader (really cheap, small and simple, exactly what I
was looking for). They offer a proprietary pcsclite driver at their
homepage, which simply installs a .so file (and a metadata file) to the
driver module directory /usr/lib/pcsc/drivers/. Interestingly the
Info.plist file says the driver was LGPL, but their homepage says its
proprietary. No source is available. :-(

I've already read the unique serial number from MiFare cards using the
"gscriptor" tool in the pcsc-tools package. So, the driver works, PC/SC
works, I only need an Pascal interface to PC/SC to start playing. :-)

Thanks
  Hansi





More information about the fpc-pascal mailing list