Reference Manual
Prox–DU & Prox–SU
www.gemalto.com
DOC118569D Public Use Page 72/145
The features of the bulk-in and bulk-out pipes implemented into the Prox–DU and the Prox–
SU reader/writers are the following:
• The CCID can address one card. Each card is called a ’slot’
• The host can send only one command at a time to a slot
• The host cannot send a new command to a slot until the ending response to the last
command to that slot is received
• At each bulk out command sent by the host, there is only bulk-in answer sent by the
reader and possibly time extension requested by the card
CCID protocol and parameters selection
A CCID device announces its level of exchanges with the host, TPDU, APDU (Short and
Extended), or Character.
The Prox–DU and the Prox–SU reader/writers announce the following level of exchanges:
• Extended APDU, T=1 for the contactless interface
• TPDU, T=0 & T=1 for the contact interface
Note: the character level of exchanges is not supported by both interfaces.
TPDU level of exchange
For TPDU level exchanges, the CCID provides the transportation of host’s TPDU to the
smart card’s TPDU. The TPDU format changes according to the protocol or for PPS
exchange.
TPDU for PPS exchange has the following format:
Command TPDU:
FF PPS0 PPS1 PPS2 PPS3 PCK, with PPS1, PPS2, PPS3 optional.
Response TPDU:
FF PPS0_R PPS1_R PPS2_R PPS3_R PCK_R, with PPS1_R, PPS2_R, PPS3_R
optional.
The CCID implements and verifies timings and protocol according to its parameters settings
to assume ISO7816-3. No check on frame format is mandatory on request, and on response
the only recommended analysis is the most significant nibble of PPS0_R to compute the
number of bytes left to receive.
A CCID that implements automatic PPS should not accept TPDU for PPS exchange and
must check for PPS response validity.
T = 0 TPDU can have three formats:
- Form 1, no data to exchange with the smart card, only header:
Command TPDU = CLA INS P1 P2, the CCID is responsible to add
P3=00h.
Response TPDU = SW1 SW2
- Form 2, data expected from the smart card:
Command TPDU = CLA INS P1 P2 Le, Le=P3 from 00h to FFh (00h means
100h)
Response TPDU = Data(Le) SW1 SW2, Data(Le) is for the Le data