SPRINGCARD SAS PRNHSP01 用户手册

下载
页码 118
PMD2271-BA
page 86 of 118
S
PRING
C
ARD
 PC/SC C
OUPLERS
 - H663 
GROUP
 - Developer's reference manual
5.2.2.
Using SCardTransmit (ENCAPSULATE) to exchange PDUs
ENCAPSULATE command APDU = DEP_REQ
CLA
INS
P1
P2
Lc
Data In
Le
h
FF
h
FE
h
00
h
00
XX
Transport data
bytes
h
00
Up to 255 bytes of Transport data can be transmitted this way.
The H663 adds the PFB (and the DID if required) and transmits a valid block. If the target's receive
buffer is shorter than the actual size of the transport PDU, chained blocks are automatically. NAD
is not supported.
During the reception of chained block, the H663 re-assembles them and returns a single response.
Up to 256 bytes of Transport data can be received. 
ENCAPSULATE response = DEP_RES
Data Out
SW1
SW2
Transport data
bytes
See below
ENCAPSULATE status word
SW1
SW2 Meaning
h
90
h
00
Success
h
6F
XX
Error reported by the contactless interface. See chapter 6 for the list of possible
values and their meaning.
h
62
h
82
Le is greater than actual response from target
h
6C
XX
Le is shorter than actual response from target
5.3. A
DVANCED
 
FEATURES
5.3.1.
Changing the G
I
 bytes in the ATR_REQ
The General Bytes to be transmitted in the H663's ATR_REQ (G
bytes) are stored in register 
h
E1.
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.