ETSI
ETSI TS 102 221 V7.11.0 (2008
6.3 Answer To Reset content .................................................................................................................................28
6.3.1 Coding of historical bytes...........................................................................................................................29
6.3.2 Speed enhancement.....................................................................................................................................29
6.3.3 Global Interface bytes.................................................................................................................................29
6.4 PPS procedure..................................................................................................................................................30
6.5 Reset procedures ..............................................................................................................................................30
6.5.1 Cold reset....................................................................................................................................................30
6.5.2 Warm reset..................................................................................................................................................30
6.5.3 Reaction to resets........................................................................................................................................30
6.6 Clock stop mode...............................................................................................................................................31
6.7 Bit/character duration and sampling time.........................................................................................................31
6.8 Error handling ..................................................................................................................................................31
6.9 Compatibility....................................................................................................................................................31
7 Transmission protocols...........................................................................................................................31
7.1 Physical layer ...................................................................................................................................................32
7.2 Data link layer..................................................................................................................................................32
7.2.1 Character frame ..........................................................................................................................................33
7.2.1.1 Low impedance I/O line behaviour.......................................................................................................33
7.2.2 Transmission protocol T = 0.......................................................................................................................34
7.2.2.1 Timing and specific options for characters in T = 0..............................................................................34
7.2.2.2 Command header ..................................................................................................................................34
7.2.2.3 Command processing............................................................................................................................34
7.2.2.3.1 Procedure bytes ...............................................................................................................................34
7.2.2.3.2 Status bytes......................................................................................................................................35
7.2.2.4 Error detection and correction...............................................................................................................35
7.2.3 Transmission protocol T = 1.......................................................................................................................35
7.2.3.1 Timing and specific options for blocks sent with T = 1........................................................................36
7.2.3.1.1 Information field size ......................................................................................................................36
7.2.3.1.2 Character waiting integer.................................................................................................................36
7.2.3.1.3 Character waiting time ....................................................................................................................36
7.2.3.1.4 Block waiting time ..........................................................................................................................36
7.2.3.1.5 Block guard time .............................................................................................................................36
7.2.3.1.6 Waiting time extension....................................................................................................................37
7.2.3.1.7 Error detection code ........................................................................................................................37
7.2.3.2 Block frame structure............................................................................................................................37
7.2.3.2.1 Prologue field ..................................................................................................................................37
7.2.3.2.2 Epilogue field ..................................................................................................................................39
7.2.3.2.3 Block notations................................................................................................................................39
7.2.3.3 Error free operation...............................................................................................................................39
7.2.3.4 Error handling for T = 1........................................................................................................................40
7.2.3.4.1 Protocol initialization ......................................................................................................................40
7.2.3.4.2 Block dependent errors....................................................................................................................41
7.2.3.5 Chaining................................................................................................................................................41
7.2.3.5.1 Rules for chaining............................................................................................................................41
7.3 Transport layer .................................................................................................................................................41
7.3.1 Transportation of an APDU using T = 0.....................................................................................................42
7.3.1.1 Mapping of APDUs to TPDUs..............................................................................................................42
7.3.1.1.1 Case 1 ..............................................................................................................................................42
7.3.1.1.2 Case 2 ..............................................................................................................................................43
7.3.1.1.3 Case 3 ..............................................................................................................................................43
7.3.1.1.4 Case 4 ..............................................................................................................................................44
7.3.1.1.5 Use of procedure bytes '61xx' and '6Cxx'........................................................................................45
7.3.2 Transportation of a APDU using T = 1.......................................................................................................46
7.3.2.1 Case 1....................................................................................................................................................46
7.3.2.2 Case 2....................................................................................................................................................46
7.3.2.3 Case 3....................................................................................................................................................47
7.3.2.4 Case 4....................................................................................................................................................47
7.4 Application layer..............................................................................................................................................47
7.4.1 Exchange of APDUs...................................................................................................................................48
7.4.2 CAT layer ...................................................................................................................................................48
7.4.2.1 Proactive command...............................................................................................................................48