Hi, 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? Regards, RH. # " This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system." #
_______________________________________________ Muscle mailing list [email protected] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
