CHIPDRIVE CLOUD 4700F 905511 数据表

产品代码
905511
下载
页码 98
CLOUD
 
47
X
0
 
F
 
R
EFERENCE 
M
ANUAL
  
51 
 
6.3. 
Escape commands for the CLOUD 47x0 F 
 
With Amendment 1 of the PC/SC specification, Part 3, a method to define vendor specific 
commands has been introduced. 
CLOUD 47x0 F provides the command 
READER_GENERIC_ESCAPE
 to send commands 
using this method. However, most of the escape commands listed here are not defined 
according to this method because of backward compatibility reasons. 
All newly defined commands will adhere to this new standard. See the command 
CONTACT_READ_INSERTION_COUNTER
 as an example. 
6.3.1.  Sending Escape commands to CLOUD 47x0 F 
A developer can use the following methods to send Escape commands to CLOUD 47x0 F 
SCardControl method defined in PC/SC API 
SCardTransmit method defined in PC/SC API in conjunction with the Escape 
command APDU 
defined in this manual
  
Please note, that SCardTransmit will only work when connected to a card. 
 
In Windows, in order to be able to send Escape commands for the CLOUD 47x0 F, the feature 
has got to be enabled by setting a REG_DWORD value named ‘EscapeCommandEnable’ in 
the registry to a value of ‘1’. 
For Windows XP and Windows Vista, the key to hold the value would be 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_04E6&PID_58
10\ Device-Instance-xxxx \Device Parameters
 
For Windows 7 and Windows 8, that would be 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_04E6&PID_58
10\Device-Instance-xxxx \Device Parameters\WUDFUsbccidDriver
 
Device-Instance-xxxx has got to be equal to the serial number of the reader used, so this 
modification has got to be made for every physical reader intended to be used on the machine 
in question. The reader has got to be plugged in at least once for the mentioned key to exist 
and the driver has got to be restarted for this setting to take effect. (Unplug and re-plug the 
reader). 
To be able to work with synchronous memory cards using our MCard API, the same setting will 
have to be established. 
See appendix B for some sample code sending Escape commands to the reader.