SPRINGCARD SAS PRNHSP01 用户手册
PMD2271-BA
page 12 of 118
S
PRING
C
ARD
PC/SC C
OUPLERS
- H663
GROUP
- Developer's reference manual
b.
PC/SC and a contactless smartcard
2.3. N
ON
-7816-4
CONTACTLESS
CARDS
–
INTRODUCING
THE
EMBEDDED
APDU
INTERPRETER
A lot of contactless cards are not actually “smartcards” because they are not ISO 7816-4
compliant. They don't comply with the ISO 14443-4 transport-level protocol, and their vendor-
specific function set can't fit directly in a single “exchange” function. Therefore, they are not
specific function set can't fit directly in a single “exchange” function. Therefore, they are not
natively supported by the system's PC/SC stack. This is the case of:
Wired-logic memory cards (Mifare, CTS, SR... families),
NFC Tags (type 1, type 2, type 3),
Even some proprietary microprocessor-based cards that use a specific communication
protocol with a frame format not compliant with ISO 7816-4 (Desfire EV0...).
protocol with a frame format not compliant with ISO 7816-4 (Desfire EV0...).
The role of the embedded APDU interpreter, running in the H663, is to 'emulate' a standard
smartcard in those cases. Doing so, the PC/SC stack (and as a consequence your application)
doesn't have to deal with the underlying protocols and chip-specific commands.
Basically, the embedded APDU interpreter exposes the card as being a T=1 compliant smartcard,
doesn't have to deal with the underlying protocols and chip-specific commands.
Basically, the embedded APDU interpreter exposes the card as being a T=1 compliant smartcard,
and provides two functions taken from ISO 7816-4: READ BINARY and UPDATE BINARY. In ISO
7816-4, those functions are intended to access data within a file (in the card's file-system), but on
7816-4, those functions are intended to access data within a file (in the card's file-system), but on
memory cards they give access to the “raw” storage, using a byte-, block- or page-based access
depending on the card technology and features.
depending on the card technology and features.
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.
PC
application
H663
C/less
reader
ISO
14443-4
smartcard
(type A or
type B)
Polling + anticollision
(REQA, REQB, ...)
Enter T=CL
(RATS or ATTRIB)
(ATS or R-ATTRIB)
Card insert event
(SCardWaitStatusChange)
Connect to the card
(SCardConnect)
C-APDU
(SCardTransmit)
C-APDU
(I-blocks)
R-APDU
(I-blocks)
R-APDU
(SCardTransmit success)
Disconnect from the card
(SCardDisconnect)
Leave T=CL
(Deselect)
(Deselect)