2013/3/11 HARBI-ASSYSTEM Rachid (MORPHO) <[email protected]>: > Hi,
Hello, > I am trying to send proprietary commands to a smart card reader through the > PC/SC SCardControl interface using the FEATURE_CCID_ESC_COMMAND feature. > What I noticed is that the Microsoft CCID driver supports time extension > requests in escape commands while the generic CCID driver libccid does not: > the CmdEscape() function in Drivers/ccid/src/commands.c only sets a static > timeout to 30 seconds since revision 3354. > > > > I know this feature is in the first place dedicated to the card for > notifying the host it needs more time to process the command but AFAIK the > CCID specifications > (http://www.usb.org/developers/devclass_docs/DWG_Smart-Card_CCID_Rev110.pdf) > do not forbid the utilization of time extension requests in RDR_to_PC_Escape > messages. And a way for smart card readers to notify they need extra time to > process a proprietary escape command is very useful. > > > > Is there a specific reason explaining that the Time Extension bit of bStatus > byte in RDR_to_PC_Escape messages is ignored? No specific reason. That is a missing feature. I just opened a new bug at [1] to not forget it. If you can provide a patch that would be great. Bye [1] https://alioth.debian.org/tracker/index.php?func=detail&aid=314061&group_id=30105&atid=410088 -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
