Is there a way to specify the dbg level of output for the muscle card library? I would like to figure out where this library is getting hung up and fix it instead of re-implementing a similar abstraction for my specific application. I have been looking at the musclecard library code and it appears that you wrote it and it last changed in ~2006, is there a more up to date version of this library that I can try? Also is there an authoritative list of devices supported by the muscle card library? Cheers, J On Wed, Jun 3, 2009 at 11:31 PM, Ludovic Rousseau < ludovic.rousseau@gmail.com> wrote:
2009/6/3 Johnny Alaska <johnnyalaska@gmail.com>:
I am trying to develop a mac os X application (in cocoa) that uses the pcscd to access a couple of CCID compliant devices. The long term goal is to use these devices to recognize which user is interacting w/ the program. At the moment I am just getting started and trying to figure out how to use the pcscd.
To get started I wrote the following routine to list the smart card devices that are attached to my mac...
[...]
rv = MSCListTokens( MSC_LIST_KNOWN, NULL, &listSize );
Can anyone suggest any debugging next steps?
MSCListTokens() has nothing to do with PC/SC. It is a function provided by libmusclecard [1]. Unless you have a card supported by libmusclecard you should not use this library.
The PC/SC API is described in [2].
Bye
[1] http://svn.debian.org/wsvn/pcsclite/trunk/libmusclecard/doc/#_trunk_libmuscl... [2] http://pcsclite.alioth.debian.org/api/group__API.html
-- Dr. Ludovic Rousseau