|
TECHNICAL SPECIFICATION
Smart Cards;
UICC - Contactless Front-end (CLF) Interface;
Host Controller Interface (HCI)
(Release 13)
---------------------- Page: 1 ----------------------
Release 13 2 ETSI TS 102 622 V13.1.0 (2019-01)
Reference
RTS/SCP-THCIvd10
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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
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 2019.
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 13 3 ETSI TS 102 622 V13.1.0 (2019-01)
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 13 4 ETSI TS 102 622 V13.1.0 (2019-01)
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 . 29
7.1.4 Loop back gate . 29
7.2 Generic gates . 30
8 HCI procedures . 30
8.1 Pipe management . 30
8.1.1 Pipe creation . 30
8.1.2 Pipe deletion . 33
8.1.3 Clear all Pipes . 34
8.2 Registry access . 34
8.3 Host and Gate discovery . 35
8.4 Session initialization. 36
8.5 Loop back testing . 37
9 Contactless card emulation . 38
9.1 Overview . 38
9.2 Void . 39
9.3 Gates . 39
9.3.1 Void . 39
9.3.2 Identity management gate . 39
9.3.3 Card RF gates . 40
9.3.3.1 Overview . 40
9.3.3.2 Commands . 40
9.3.3.3 Events . 40
9.3.3.3.0 Supported events . 40
9.3.3.3.1 EVT_SEND_DATA . 40
9.3.3.4 Registry . 40
9.3.3.4.0 Registries persistence . 40
9.3.3.4.1 RF technology type A . 40
9.3.3.4.2 RF technology type B . 42
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) . 44
9.3.4 Card application gates . 44
9.3.4.1 Overview . 44
9.3.4.2 Commands . 45
9.3.4.3 Events . 45
9.3.4.3.0 Supported events . 45
9.3.4.3.1 EVT_FIELD_ON . 45
9.3.4.3.2 EVT_CARD_DEACTIVATED . 45
9.3.4.3.3 EVT_CARD_ACTIVATED . 45
9.3.4.3.4 EVT_FIELD_OFF . 45
9.3.4.3.5 EVT_SEND_DATA . 45
9.3.4.4 Registry . 46
9.4 Procedures . 46
9.4.0 Overview and basic rule . 46
9.4.1 Use of contactless card application . 46
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 . 48
9.4.5 Update RF technology settings . 49
9.4.6 Identity check . 49
10 Contactless reader . 49
10.1 Overview . 49
10.2 Reader RF gates . 50
10.2.1 Overview . 50
10.2.2 Command . 51
10.2.2.1 WR_XCHG_DATA . 51
10.2.3 Registries . 52
10.2.3.1 Type A reader RF gate . 52
10.2.3.2 Type B reader RF gate . 53
ETSI
---------------------- Page: 4 ----------------------
Release 13 5 ETSI TS 102 622 V13.1.0 (2019-01)
10.2.4 Events . 54
10.2.4.0 Supported events . 54
10.2.4.1 EVT_READER_REQUESTED . 54
10.2.4.2 EVT_END_OPERATION . 54
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 . 55
10.3.4 Events . 55
10.3.4.0 Supported events . 55
10.3.4.1 EVT_TARGET_DISCOVERED . 55
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. 58
11 Connectivity . 58
11.1 Overview . 58
11.2 Connectivity gate . 59
11.2.0 Overview . 59
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. 60
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 . 65
12.3.2.0 Supported events . 65
12.3.2.1 EVT_R-APDU .
...