[Pcsclite-muscle] IFD polling

Ludovic Rousseau ludovic.rousseau at gmail.com
Thu Mar 5 17:59:09 UTC 2015


2015-02-28 3:38 GMT+01:00 William Roberts <bill.c.roberts at gmail.com>:

> One nice thing I can do, is detect based on the methods, and attributes of
> the
> implementing Java class, whether or not its supporting various things and
> handle
> some of the rawness of the IFD API. Which the current loader for the .so
> can't
> handle. The docs say to implement either
> IFDHCreateChannelByName or IFDHCreateChannel. However, the loader
> requires both symbols in the .so and fails if missing. It should check for
> one or
> the other, not both (both should be ok too).

You should be able to provide only IFDHCreateChannelByName.
If not please create a new thread on this list with your bug report
(with details and traces).

> Looking at IFDHTransmitToICC() the paramater PSCARD_IO_HEADER RecvPci
> is not clear to me. Looking at:
> bitbucket.org:mrts/pcsclite-softemu-ifdhandler.git
> That code doesn't even use that argument, so I guess
> I can ignore it, but whats its purpose?

It is used to indicate the protocol to use: T=0 or T=1.
You can ignore it if you don't need it.

Bye

-- 
 Dr. Ludovic Rousseau



More information about the Pcsclite-muscle mailing list