2013/6/26 Anand Renju <[email protected]>:
> Any idea, control code 0x00312004 ( 0x42000801 at the pcsc side) is what
> feature.

0x42000801 is not defined in reader.h
http://anonscm.debian.org/viewvc/pcsclite/trunk/PCSC/src/PCSC/reader.h?view=markup

Your conversion function can be generalized.
control_code = (control_code & 0x3ffc) >> 2;
control_code = SCARD_CTL_CODE(control_code);

The only documented control code I know is:
#define CM_IOCTL_GET_FEATURE_REQUEST SCARD_CTL_CODE(3400)


> 0x00313520 is equivalent to 0x42000801 ( 3400 - GET_FEATURE_REQUEST)

???

> IFDHControl() gives ''Card not transacted'' error for 0x00312004 (
> 0x42000801)

Maybe it is a proprietary code for your Windows driver and/or application.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com

Reply via email to