SPRINGCARD SAS PRNHSP01 用户手册

下载
页码 118
PMD2271-BA
page 54 of 118
S
PRING
C
ARD
 PC/SC C
OUPLERS
 - H663 
GROUP
 - Developer's reference manual
3.4.2.
TEST instruction
The TEST instruction has been designed to test the driver and/or the applications, with arbitrary
length of data (in and out).
TEST command APDU
CLA
INS
P1
P2
Lc
Data In
Le
h
FF
h
FD
See
below
See
below
XX
XX … XX
XX
TEST command parameters
Parameter P1 specifies the length of Data Out the application wants to receive from the H663:
h
00: empty Data Out, only SW returned
h
FF: 255 bytes of data + SW
All values between 
h
00 and 
h
FF are allowed
6 low-order bits of P2 specify the delay between command and response.
h
00: no delay, response comes immediately
h
3F: 63 seconds between command and response
All values between 0 and 63 are allowed
2 high-order bits of P2 are RFU and must be set to 0.
TEST response
Data Out
SW1
SW2
XX … XX
See below
Content of Data Out is not specified, and may contain either “random” or fixed data, depending
on the H663 version and current status.
SPRINGCARD, the SPRINGCARD logo, PRO ACTIVE and the PRO ACTIVE logo are registered trademarks of PRO ACTIVE SAS.
All other brand names, product names, or trademarks belong to their respective holders.
Information in this document is subject to change without notice. Reproduction without written permission of PRO ACTIVE is forbidden.