ETSI TS 102 695-3 V11.0.0 (2016-08)
Smart Cards; Test specification for the Host Controller Interface (HCI); Part 3: Host Controller features (Release 11)
Smart Cards; Test specification for the Host Controller Interface (HCI); Part 3: Host Controller features (Release 11)
RTS/SCP-00HCIHvb00
General Information
Standards Content (Sample)
TECHNICAL SPECIFICATION
Smart Cards;
Test specification for the Host Controller Interface (HCI);
Part 3: Host Controller features
(Release 11)
Release 11 2 ETSI TS 102 695-3 V11.0.0 (2016-08)
Reference
RTS/SCP-00HCIHvb00
Keywords
smart card, terminal
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE
Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88
Important notice
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 2016.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are Trade Marks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
GSM® and the GSM logo are Trade Marks registered and owned by the GSM Association.
ETSI
Release 11 3 ETSI TS 102 695-3 V11.0.0 (2016-08)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
Introduction . 8
1 Scope . 9
2 References . 9
2.1 Normative references . 9
2.2 Informative references . 10
3 Definitions, symbols, abbreviations and formats . 10
3.1 Definitions . 10
3.2 Symbols . 10
3.3 Abbreviations . 10
3.4 Formats . 11
3.4.1 Format of the table of optional features . 11
3.4.2 Format of the applicability table . 11
3.4.3 Status and Notations . 11
3.4.4 Format of the conformance requirements tables . 12
4 Test environment . 13
4.1 Table of optional features . 13
4.2 Applicability table . 14
4.3 Information to be provided by the device supplier . 16
4.4 Test equipment . 16
4.4.0 Base Requirements . 16
4.4.1 Measurement / setting uncertaintie s . 17
4.4.2 Default conditions for DUT operation . 17
4.4.2.1 General . 17
4.4.2.2 Status of UICC interfaces . 17
4.4.3 Minimum/maximum conditions for DUT operation . 17
4.4.4 Conventions . 17
4.5 Test execution . 17
4.5.1 Parameter variations . 17
4.5.2 Execution requirements . 17
4.6 Pass criterion . 18
4.6.0 Principle . 18
4.6.1 Unanticipated behaviour from the DUT . 18
5 Test cases . 18
5.1 HCI architecture . 18
5.1.1 Overview . 18
5.1.2 Hosts . 18
5.1.3 Gates . 19
5.1.3.1 Conformance requirements . 19
5.1.4 Pipes. 19
5.1.4.1 Conformance requirements . 19
5.1.5 Registries . 20
5.1.5.1 Conformance requirements . 20
5.2 HCP . 20
5.2.1 HCP packets. 20
5.2.1.1 Conformance requirements . 20
5.2.2 HCP message structure . 21
5.2.2.1 Conformance requirements . 21
5.2.3 Message fragmentation . 21
5.2.3.1 Conformance requirements . 21
ETSI
Release 11 4 ETSI TS 102 695-3 V11.0.0 (2016-08)
5.3 Instructions . 21
5.3.1 Commands . 21
5.3.1.1 Overview . 21
5.3.1.1.1 Conformance requirements . 21
5.3.1.2 Generic commands . 22
5.3.1.2.1 ANY_SET_PARAMETER . 22
5.3.1.2.2 ANY_GET_PARAMETER. 23
5.3.1.2.3 ANY_OPEN_PIPE . 24
5.3.1.2.4 ANY_ CLOSE_P IP E . 25
5.3.1.3 Administration commands . 25
5.3.1.3.1 ADM_CREATE_PIPE . 25
5.3.1.3.2 ADM_NOTIFY_PIPE_CREATED . 26
5.3.1.3.3 ADM_DELETE_PIPE . 26
5.3.1.3.4 ADM_NOTIFY_PIPE_DELETED . 26
5.3.1.3.5 ADM_CLEAR_ALL_PIPE . 26
5.3.1.3.6 ADM_NOTIFY_ALL_PIPE_CLEARED . 27
5.3.2 Responses . 27
5.3.2.1 Conformance requirements . 27
5.3.2.2 Test case 1: responses received out of order, previous commands sent by host . 27
5.3.2.2.1 Test execution . 27
5.3.2.2.2 Initial conditions . 27
5.3.2.2.3 Test procedure . 27
5.3.2.3 Test case 2: responses received out of order, previous commands sent by host controller . 28
5.3.2.3.1 Test execution . 28
5.3.2.3.2 Initial conditions . 28
5.3.2.3.3 Test procedure . 28
5.3.3 Events . 28
5.3.3.1 Conformance requirements . 28
5.4 GATES and subclauses . 29
5.4.1 GATES . 29
5.4.1.1 Conformance requirements . 29
5.4.2 Management gates . 29
5.4.2.1 Administration gates . 29
5.4.2.1.1 Host controller administration gate . 29
5.4.2.1.2 Host administration gate . 30
5.4.2.2 Link management gate . 30
5.4.2.2.1 Host controller link management gate . 30
5.4.2.2.2 Host link management gate . 30
5.4.2.3 Identity management gate . 31
5.4.2.3.1 Local registry . 31
5.4.2.3.2 Remote registry . 32
5.4.2.4 Loop back gate . 33
5.4.2.4.1 Conformance requirements . 33
5.4.3 Generic gates . 33
5.5 HCI procedures . 33
5.5.1 Pipe management . 33
5.5.1.1 Pipe creation . 33
5.5.1.1.1 Conformance requirements . 33
5.5.1.1.2 Test case 1: valid pipe creation from host simulator to another host . 34
5.5.1.1.3 Test case 2: pipe creation from host simulator to another host, host simulator not in other
host's WHITELIST . 34
5.5.1.1.4 Test case 3: pipe creation from host simulator to another host, other host rejects pipe creation . 35
5.5.1.1.5 Test case 4: valid pipe creation from host controller to host simulator . 35
5.5.1.1.6 Test case 5: pipe creation from host simulator to host controller, pipe not supported by host
controller . 36
5.5.1.2 Pipe deletion . 36
5.5.1.2.1 Conformance requirements . 36
5.5.1.2.2 Test case 1: valid pipe deletion from host simulator to another host . 37
5.5.1.3 Clear all Pipes . 37
5.5.1.3.1 Conformance requirements . 37
5.5.1.3.2 Test case 1: clear all pipes from host controller - static pipes, dynamic pipes to host . 37
5.5.2 Registry access . 38
ETSI
Release 11 5 ETSI TS 102 695-3 V11.0.0 (2016-08)
5.5.3 Host and Gate discovery . 38
5.5.4 Session initialization . 38
5.5.4.1 Conformance requirements . 38
5.5.5 Loop back testing . 39
5.5.5.1 Conformance requirements . 39
5.5.5.2 Test case 1: pipe creation . 39
5.5.5.2.1 Test execution . 39
5.5.5.2.2 Initial conditions . 39
5.5.5.2.3 Test procedure . 39
5.6 Contactless card emulation . 39
5.6.1 Overview . 39
5.6.1.1 Conformance requirements . 39
5.6.2 Void . 40
5.6.3 Gates . 40
5.6.3.1 Void. 40
5.6.3.2 Identity management gate . 40
5.6.3.2.1 Conformance requirements . 40
5.6.3.3 Card RF gates . 40
5.6.3.3.1 Overview . 40
5.6.3.3.2 Commands . 40
5.6.3.3.3 Events and subclauses . 40
5.6.3.3.4 Registry and subclauses . 41
5.6.3.4 Card application gates . 47
5.6.3.4.1 Overview . 47
5.6.3.4.2 Commands . 47
5.6.3.4.3 Events and subclauses . 47
5.6.3.4.4 Registry . 48
5.6.4 Procedures. 49
5.6.4.1 Use of contactless card application . 49
5.6.4.1.1 Conformance requirements . 49
5.6.4.2 Non ISO/IEC 14443-4 type A . 50
5.6.4.2.1 Conformance requirements . 50
5.6.4.3 Type B' RF technology . 50
5.6.4.3.1 Conformance requirements . 50
5.6.4.4 Type F RF technology . 50
5.6.4.4.1 Conformance requirements . 50
5.6.4.4.2 Test case 1: NFCIP-1 command is not forwarded to UICC . 51
5.6.4.5 Update RF technology settings . 52
5.6.4.5.1 Conformance requirements . 52
5.6.4.6 Identity check . 52
5.6.4.6.1 Conformance requirements . 52
5.7 Contactless reader. 52
5.7.1 Overview . 52
5.7.1.1 Conformance requirements . 52
5.7.2 Reader RF gates . 53
5.7.2.1 Overview . 53
5.7.2.2 Command . 53
5.7.2.2.1 WR_XCHG_DATA . 53
5.7.2.3 Registries . 54
5.7.2.3.1 Type A reader RF gate . 54
5.7.2.3.2 Type B reader RF gate . 55
5.7.2.4 Events and subclauses . 55
5.7.2.4.1 Events . 55
5.7.2.4.2 EVT_READER_REQUESTED . 56
5.7.2.4.3 EVT_END_OPERATION. 56
5.7.2.4.4 EVT_READER_STATUS . 56
5.7.2.5 Responses . 56
5.7.2.5.1 Conformance requirements . 56
5.7.3 Reader application gates . 57
5.7.3.1 Overview . 57
5.7.3.2 Command . 57
5.7.3.2.1 Conformance requirements . 57
ETSI
Release 11 6 ETSI TS 102 695-3 V11.0.0 (2016-08)
5.7.3.3 Registry . 57
5.7.3.3.1 Conformance requirements . 57
5.7.3.4 Events and subclauses . 57
5.7.3.4.1 Events . 57
5.7.3.4.2 EVT_TARGET_DISCOVERED . 57
5.7.4 Procedures. 58
5.7.4.1 Use of contactless reader application . 58
5.7.4.1.1 Conformance requirements . 58
5.7.4.2 Contactless reader not available . 58
5.7.4.2.1 Conformance requirements . 58
5.7.4.3 Error management . 58
5.7.4.3.1 Conformance requirements . 58
5.8 Connectivity . 58
5.8.1 Overview . 58
5.8.2 Connectivity gate and subclauses . 59
5.8.2.1 Connectivity gate . 59
5.8.2.2 Commands . 59
5.8.2.2.1 PRO_HOST_REQUEST . 59
5.8.2.3 Events and subclauses . 59
5.8.2.3.1 Events . 59
5.8.2.3.2 EVT_CONNECTIVITY . 59
5.8.2.3.3 Void . 59
5.8.2.3.4 EVT_OPERATION_ENDED . 59
5.8.2.3.5 EVT_TRANSACTION . 60
5.8.2.4 Registry . 60
5.8.2.4.1 Conformance requirements . 60
5.8.3 Connectivity application gate and subclauses . 60
5.8.3.1 Connectivity application gate . 60
5.8.3.1.1 Conformance requirements . 60
5.8.3.2 Commands . 60
5.8.3.2.1 Conformance requirements . 60
5.8.3.3 Events and subclauses . 60
5.8.3.3.1 Events . 60
5.8.3.3.2 EVT_STANDBY . 61
5.8.3.4 Registry . 61
5.8.3.4.1 Conformance requirements . 61
5.8.4 Procedures. 61
5.8.4.1 Use of connectivity gate . 61
Annex A (informative): Bibliography . 62
Annex B (informative): Core specification version information . 63
Annex C (informative): Change history . 64
History . 65
ETSI
Release 11 7 ETSI TS 102 695-3 V11.0.0 (2016-08)
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (https://ipr.etsi.org/).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Foreword
This Technical Specification (TS) has been produced by ETSI Technical Committee Smart Card Platform (SCP).
The contents of the present document are subject to continuing work within TC SCP and may change following formal
TC SCP approval. If TC SCP modifies the contents of the present document, it will then be republished by ETSI with
an identifying change of release date and an increase in version number as follows:
Version x.y.z
where:
x the first digit:
0 early working draft;
1 presented to TC SCP for information;
2 presented to TC SCP for approval;
3 or greater indicates TC SCP approved document under change control.
y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections,
updates, etc.
z the third digit is incremented when editorial only changes have been incorporated in the document.
The present document is part 3 of a multi-part deliverable covering the Test specification for the Host Controller
Interface (HCI), as identified below:
Part 1: "Terminal features";
Part 2: "UICC features";
Part 3: "Host Controller features".
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
Release 11 8 ETSI TS 102 695-3 V11.0.0 (2016-08)
Introduction
The present document defines test cases for the terminal relating to the Host Controller Interface (HCI) as specified in
ETSI TS 102 622 [1].
The aim of the present document is to ensure interoperability between the terminal and the UICC independently of the
respective manufacturer, card issuer or operator.
ETSI
Release 11 9 ETSI TS 102 695-3 V11.0.0 (2016-08)
1 Scope
The present document covers additional test cases for the Host Controller to those specified in ETSI TS 102 695-1 [10].
The present document specifies the test cases for:
• the HCI core as described in the first part of ETSI TS 102 622 [1];
• the contactless platform as described in the second part of ETSI TS 102 622 [1].
Test cases for the UICC and terminal relating to ETSI TS 102 622 [1] and test cases for the Single Wire Protocol (SWP)
covering both terminal and UICC are out of scope of the present document.
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
• In the case of a reference to a TC SCP document, a non specific reference implicitly refers to the latest version
of that document in the same Release as the present document.
Referenced documents which are not found to be publicly available in the expected location might be found at
http://docbox.etsi.org/Reference.
NOTE: While any hyperlinks included in this clause were valid at the time of publication ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] ETSI TS 102 622: "Smart Cards; UICC - Contactless Front-end (CLF) Interface; Host Controller
Interface (HCI)".
[2] ETSI TS 102 613: "Smart Cards; UICC - Contactless Front-end (CLF) Interface; Part 1: Physical
and data link layer characteristics".
[3] ETSI TS 102 223: "Smart Cards; Card Application Toolkit (CAT)".
[4] ISO/IEC 18092: "Information technology - Telecommunications and information exchange
between systems - Near Field Communication - Interface and Protocol (NFCIP-1)".
[5] ISO/IEC 14443-2: "Identification cards - Contactless integrated circuit(s) cards - Proximity cards -
Part 2: Radio frequency power and signal interface".
[6] ISO/IEC 14443-3: "Identification cards - Contactless integrated circuit(s) cards - Proximity cards -
Part 3: Initialization and anticollision".
[7] ISO/IEC 14443-4: "Identification cards - Contactless integrated circuit(s) cards - Proximity cards -
Part 4: Transmission Protocol".
[8] ISO/IEC 7816-4: "Information technology - Identification cards - Part 4: Organization, security
and commands for interchange".
[9] ISO/IEC 9646-7: "Information technology - Open Systems Interconnection - Conformance testing
methodology and framework - Part 7: Implementation Conformance Statements".
[10] ETSI TS 102 695-1: "Smart Cards; Test specification for the Host Controller Interface (HCI);
Part 1: Terminal features".
ETSI
Release 11 10 ETSI TS 102 695-3 V11.0.0 (2016-08)
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
Not applicable.
3 Definitions, symbols, abbreviations and formats
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ETSI TS 102 622 [1] and the following
apply:
allowed error response code: response code which is not ANY_OK and which is allowed for the referenced command
as specified in ETSI TS 102 622 [1]
non-occurrence RQ: RQ which has been extracted from ETSI TS 102 622 [1], but which indicates a situation which
should never occur
NOTE: The consequence is that such RQs cannot be explicitly tested.
user: any logical or physical entity which controls the test equipment in a way that it is able to trigger activities of the
DUT
3.2 Symbols
For the purposes of the present document, the symbols given in ETSI TS 102 622 [1] and the following apply:
PIPE0 the static pipe connected to the link management gate of the device under test.
PIPE1 the static pipe connected to the administration gate of the device under test.
3.3 Abbreviations
For the purposes of the present document, the abbreviations given in ETSI TS 102 622 [1] and the following apply:
AC Alternating Current
DUT Device Under Test
FFS For Further Study
HCUT Host Controller Under Test
HS Host Simulator
ICRx Initial Condition Requirement (where x is a number)
NOTE: As used in the applicability table; see clauses 4.2 and 4.5.2.
NAA Network Access Application
PCD Proximity Coupling Device
PICC Proximity Card
RFU Reserved for Future Use
RO Read-Only
RQ Conformance requirement
RW Read-Wr
...








Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.
Loading comments...