On Wednesday, July 10, 2002, at 11:43 am, Matthias Bruestle wrote:
> Mahlzeit > > > On Tue, Jul 09, 2002 at 10:27:20AM -0400, dave engberg wrote: >> Has anyone developed MUSCLE drivers for contactless readers/antennas >> such >> as Gemplus's GCA680? You can have a look at http://www.gemplus.com/techno/tlp_drivers/index.html for a library that would allow you to communicate with this kind of reader. However: - this is not a PCSC-lite driver; - it uses the TLP protocol which is not optimal for this kind of reader. It should be easy to write a driver based on the ifdGemPC for the 410 (it uses the GBP or Gemplus Block Protocol). > MUSCLE implements PC/SC, which is targeted for contact based smart > cards. > So the GCA680, which is btw. a MIFARE reader, has two properties which > makes is a bit difficult to use PC/SC with it: > > 1) The cards are not smart cards but prorietary memory cards with some > security logic. So there are no APDUs which could be sent to the > card. > It would be possible to define APDUs which are interpreded by the > reader(driver) like in the CT-BCS specs, but there is no standard. There is a set of APDU commands to read the records on the card. I think you should read http://www.gemplus.com/dwnld/291_E5255001.pdf (reference manual of the GCR680 which should be compatible). > 2) The cards are not contact based but contactless. There is e.g. no > slot. One way to specify a card could be to give the driver a > card ID prefix and ask for a proper card for it. Another way could > be to interate through them until a card with the correct content > is found. Both is AFAIK not supported by the current PC/SC. You could maybe use the "get first card" command (see reference manual) to detect card presence. Supporting more than one card at a time would be tricky... Cheers, JLuc. *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
