[Pcsclite-cvs-commit] r6226 - /trunk/Drivers/ccid/src/ccid.h
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Feb 16 09:05:04 UTC 2012
Author: rousseau
Date: Thu Feb 16 09:05:03 2012
New Revision: 6226
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6226
Log:
Define GEMALTO_FIRMWARE_FEATURES structure
Structure returned by Gemalto readers for the CCID Escape command 0x6A
Modified:
trunk/Drivers/ccid/src/ccid.h
Modified: trunk/Drivers/ccid/src/ccid.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid.h?rev=6226&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid.h (original)
+++ trunk/Drivers/ccid/src/ccid.h Thu Feb 16 09:05:03 2012
@@ -256,3 +256,59 @@
/* data rates supported by the secondary slots on the GemCore Pos Pro & SIM Pro */
#define GEMPLUS_CUSTOM_DATA_RATES 10753, 21505, 43011, 125000
+/* Structure returned by Gemalto readers for the CCID Escape command 0x6A */
+typedef struct
+{
+ UCHAR bLogicalLCDLineNumber; /* Logical number of LCD lines */
+ UCHAR bLogicalLCDRowNumber; /* Logical number of characters per LCD line */
+ UCHAR bLcdInfo; /* b0 indicates if scrolling is available */
+ UCHAR bEntryValidationCondition; /* See PIN_PROPERTIES */
+
+ /* Here come the PC/SC bit features to report */
+ UCHAR VerifyPinStart:1;
+ UCHAR VerifyPinFinish:1;
+ UCHAR ModifyPinStart:1;
+ UCHAR ModifyPinFinish:1;
+ UCHAR GetKeyPressed:1;
+ UCHAR VerifyPinDirect:1;
+ UCHAR ModifyPinDirect:1;
+ UCHAR Abort:1;
+
+ UCHAR GetKey:1;
+ UCHAR WriteDisplay:1;
+ UCHAR SetSpeMessage:1;
+ UCHAR RFUb1:5;
+
+ UCHAR RFUb2[2];
+
+ /* Additional flags */
+ UCHAR bTimeOut2:1;
+ UCHAR bListSupportedLanguages:1; /* Reader is able to indicate
+ the list of supported languages through CCID-ESC 0x6B */
+ UCHAR bNumberMessageFix:1; /* Reader handles correctly shifts
+ made by bNumberMessage in PIN modification data structure */
+ UCHAR bPPDUSupportOverXferBlock:1; /* Reader supports PPDU over
+ PC_to_RDR_XferBlock command */
+ UCHAR bPPDUSupportOverEscape:1; /* Reader supports PPDU over
+ PC_to_RDR_Escape command with abData[0]=0xFF */
+ UCHAR RFUb3:3;
+
+ UCHAR RFUb4[3];
+
+ UCHAR VersionNumber; /* ?? */
+ UCHAR MinimumPINSize; /* for Verify and Modify */
+ UCHAR MaximumPINSize;
+
+ /* Miscellaneous reader features */
+ UCHAR Firewall:1;
+ UCHAR RFUb5:7;
+
+ /* The following fields, FirewalledCommand_SW1 and
+ * FirewalledCommand_SW2 are only valid if Firewall=1
+ * These fields give the SW1 SW2 value used by the reader to
+ * indicate a command has been firewalled */
+ UCHAR FirewalledCommand_SW1;
+ UCHAR FirewalledCommand_SW2;
+ UCHAR RFUb6[3];
+} GEMALTO_FIRMWARE_FEATURES;
+
More information about the Pcsclite-cvs-commit
mailing list