|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wang Yongqing (qinwyo2008
yahoo.com)
Date: Thu Jan 17 2008 - 01:40:48 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear All,
I want to use the PCSC user API SCardControl() to transmit with my smartcard reader on the Tiger, but I find that the SCardControl can not send the data to the IFDHControl. For example, following is my SCardControl
SCardControl(hcard, sendBuffer, sendLength, receiveBuffer, receiveLength);
In my driver, the IFDHControl only reads the sendBuffer and sets the return data to the recevieBuffer.
The problem is, when I run my driver and the test application, the driver can't enter into the IFDHControl function. Because Mac OS X 10.4 provides pcsc-lite based on 1.1.2, I read the source code about the pcsc-lite 1.1.2 on the Linux. I find the SCardControl() which in the source file winscard.c just returns SCARD_S_SUCCESS and doesn't do anything.
So I want to know whether the SCardControl based on the Mac OS X 10.4 also just returns SCARD_S_SUCCESS and does nothing. If it is, how can I use the SCardControl API rightly on the Tiger.
Any advice I will appreciate!
yongqing
2008-01-17
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]