|
TECHNICAL SPECIFICATION
Smart Cards;
UICC - Contactless Front-end (CLF) Interface;
Host Controller Interface (HCI)
(Release 15)
---------------------- Page: 1 ----------------------
Release 15 2 ETSI TS 102 622 V15.0.0 (2018-12)
Reference
RTS/SCP-THCIvf00
Keywords
smart card
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:
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
If you find errors in the present document, please send your comment to one of the following services:
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.
© ETSI 2018.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM TM
3GPP and LTE are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and
of the oneM2M Partners.
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI
---------------------- Page: 2 ----------------------
Release 15 3 ETSI TS 102 622 V15.0.0 (2018-12)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 9
3 Definition of terms, symbols and abbreviations . 9
3.1 Terms . 9
3.2 Symbols . 10
3.3 Abbreviations . 10
3.4 Void . 10
3A Coding conventions . 11
4 HCI architecture . 11
4.1 Overview . 11
4.2 Hosts . 12
4.3 Gates . 12
4.4 Pipes . 13
4.5 Registries . 14
5 HCP . 15
5.1 HCP packets . 15
5.2 HCP message structure . 15
5.3 Message fragmentation . 16
6 Instructions . 17
6.0 Foreword . 17
6.1 Commands . 17
6.1.1 Overview . 17
6.1.2 Generic commands . 18
6.1.2.1 ANY_SET_PARAMETER . 18
6.1.2.2 ANY_GET_PARAMETER . 18
6.1.2.3 ANY_OPEN_PIPE . 18
6.1.2.4 ANY_CLOSE_PIPE . 19
6.1.3 Administration commands . 19
6.1.3.1 ADM_CREATE_PIPE . 19
6.1.3.2 ADM_NOTIFY_PIPE_CREATED . 19
6.1.3.3 ADM_DELETE_PIPE . 20
6.1.3.4 ADM_NOTIFY_PIPE_DELETED . 20
6.1.3.5 ADM_CLEAR_ALL_PIPE . 20
6.1.3.6 ADM_NOTIFY_ALL_PIPE_CLEARED . 21
6.2 Responses . 21
6.3 Events . 22
6.3.1 Generic events . 22
6.3.2 EVT_HOT_PLUG parameters. 23
6.3.3 EVT_TERMINAL_HOST_REQUEST parameters . 23
6.3.4 EVT_TERMINAL_HOST_INFORMATION parameters . 23
7 Gates . 24
7.0 Generic gate events and command support . 24
7.1 Management gates . 25
7.1.1 Administration gates . 25
7.1.1.1 Host controller administration gate . 25
7.1.1.2 Host administration gate . 28
7.1.2 Link management gate . 28
ETSI
---------------------- Page: 3 ----------------------
Release 15 4 ETSI TS 102 622 V15.0.0 (2018-12)
7.1.2.1 Host controller link management gate. 28
7.1.2.2 Host link management gate . 28
7.1.3 Identity management gate . 28
7.1.4 Loop back gate . 29
7.2 Generic gates . 29
8 HCI procedures . 30
8.1 Pipe management . 30
8.1.1 Pipe creation . 30
8.1.2 Pipe deletion . 32
8.1.3 Clear all Pipes . 33
8.2 Registry access . 33
8.3 Host and Gate discovery . 34
8.4 Session initialization. 35
8.5 Loop back testing . 36
9 Contactless card emulation . 37
9.1 Overview . 37
9.2 Void . 38
9.3 Gates . 38
9.3.1 Void . 38
9.3.2 Identity management gate . 38
9.3.3 Card RF gates . 39
9.3.3.1 Overview . 39
9.3.3.2 Commands . 39
9.3.3.3 Events . 39
9.3.3.3.0 Supported events . 39
9.3.3.3.1 EVT_SEND_DATA . 39
9.3.3.4 Registry . 39
9.3.3.4.0 Registries persistence . 39
9.3.3.4.1 RF technology type A . 40
9.3.3.4.2 RF technology type B . 41
9.3.3.4.3 RF technology type B' . 43
9.3.3.4.4 RF technology Type F (ISO/IEC 18092 212 kbps/424 kbps card emulation only) . 43
9.3.4 Card application gates . 44
9.3.4.1 Overview . 44
9.3.4.2 Commands . 44
9.3.4.3 Events . 44
9.3.4.3.0 Supported events . 44
9.3.4.3.1 EVT_FIELD_ON . 44
9.3.4.3.2 EVT_CARD_DEACTIVATED . 44
9.3.4.3.3 EVT_CARD_ACTIVATED . 44
9.3.4.3.4 EVT_FIELD_OFF . 44
9.3.4.3.5 EVT_SEND_DATA . 45
9.3.4.4 Registry . 45
9.4 Procedures . 45
9.4.0 Overview and basic rule . 45
9.4.1 Use of contactless card application . 45
9.4.2 Non ISO/IEC 14443-4 type A applications . 47
9.4.3 Type B' RF technology . 47
9.4.4 Type F RF technology . 47
9.4.5 Update RF technology settings . 48
9.4.6 Identity check . 48
10 Contactless reader . 49
10.1 Overview . 49
10.2 Reader RF gates . 50
10.2.1 Overview . 50
10.2.2 Command . 50
10.2.2.1 WR_XCHG_DATA . 50
10.2.3 Registries . 51
10.2.3.1 Type A reader RF gate . 51
10.2.3.2 Type B reader RF gate . 52
ETSI
---------------------- Page: 4 ----------------------
Release 15 5 ETSI TS 102 622 V15.0.0 (2018-12)
10.2.4 Events . 53
10.2.4.0 Supported events . 53
10.2.4.1 EVT_READER_REQUESTED . 53
10.2.4.2 EVT_END_OPERATION . 53
10.2.5 Responses . 54
10.3 Reader application gates . 54
10.3.1 Overview . 54
10.3.2 Command . 54
10.3.3 Registry . 54
10.3.4 Events . 54
10.3.4.0 Supported events . 54
10.3.4.1 EVT_TARGET_DISCOVERED . 54
10.3.4.2 EVT_READER_STATUS . 55
10.4 Reader mode procedures . 56
10.4.1 Use of contactless reader application . 56
10.4.2 Contactless reader not available . 57
10.4.3 Error management. 57
11 Connectivity . 58
11.1 Overview . 58
11.2 Connectivity gate . 58
11.2.0 Overview . 58
11.2.1 Commands . 59
11.2.1.1 PRO_HOST_REQUEST . 59
11.2.2 Events . 59
11.2.2.0 Supported events . 59
11.2.2.1 EVT_CONNECTIVITY . 59
11.2.2.2 Void. 59
11.2.2.3 EVT_OPERATION_ENDED . 60
11.2.2.4 EVT_TRANSACTION . 60
11.2.2.5 EVT_MH_NOTIFICATION . 60
11.2.3 Registry . 60
11.3 Connectivity application gate . 61
11.3.0 Overview . 61
11.3.1 Commands . 61
11.3.2 Events . 61
11.3.2.0 Supported events . 61
11.3.2.1 EVT_STANDBY . 61
11.3.2.2 EVT_HOST_NOTIFICATION . 61
11.3.3 Registry . 62
11.4 Connectivity gate procedures . 62
11.4.1 Use of connectivity gate . 62
12 APDU Transport . 62
12.1 Overview . 62
12.2 APDU gate . 63
12.2.0 Description . 63
12.2.1 Commands . 63
12.2.2 Events . 63
12.2.2.0 Supported events . 63
12.2.2.1 EVT_C-APDU . 63
12.2.2.2 EVT_ABORT . 64
12.2.2.3 EVT_END_OF_APDU_TRANSACTION . 64
12.2.3 Registry . 64
12.3 APDU application gate . 64
12.3.0 Description . 64
12.3.1 Commands . 64
12.3.2 Events . 64
12.3.2.0 Supported events . 64
12.3
...