Thanks Ludovic.
On Wed, Jun 26, 2013 at 10:33 PM, Ludovic Rousseau < [email protected]> wrote: > 2013/6/26 Anand Renju <[email protected]>: > > Hi, > > Hello, > > > In pcsc-lite, do we have any api which tells that reader is a class 2 > > reader. Does SCardGetAttrib have attrib id to query this? > > A class 2 reader is a pinpad reader with verify and modify PIN code > done by the reader? > > You can use SCardControl() with CM_IOCTL_GET_FEATURE_REQUEST to know > if the reader + driver supports FEATURE_VERIFY_PIN_DIRECT and > FEATURE_MODIFY_PIN_DIRECT. This is documented in PC/SC v2 part 10 > specification [1] > > You can have a look at the scardcontrol.c code [2]. This program is > licensed under GPL v2+. > > Bye > > [1] http://www.pcscworkgroup.com/specifications/specdownload.php > [2] > http://anonscm.debian.org/viewvc/pcsclite/trunk/Drivers/ccid/examples/scardcontrol.c?view=markup > > -- > Dr. Ludovic Rousseau > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com >
_______________________________________________ Muscle mailing list [email protected] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
