1、 Reference number ISO/IEC 23917:2005(E) ISO/IEC 2005INTERNATIONAL STANDARD ISO/IEC 23917 First edition 2005-11-01Information technology Telecommunications and information exchange between systems NFCIP-1 Protocol Test Methods Technologies de linformation Tlcommunications et change dinformation entre
2、 systmes NFCIP-1 Mthodes dessai du protocole ISO/IEC 23917:2005(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed
3、 on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products
4、used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, pleas
5、e inform the Central Secretariat at the address given below. ISO/IEC 2005 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writ
6、ing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2005 All rights reservedISO/IE
7、C 23917:2005(E) ISO/IEC 2005 All rights reserved iii Contents Page 1 Scope1 2 Conformance.1 3 Normative references1 4 Notational conventions.1 4.1 Representation of numbers1 4.2 Names.1 4.3 Test report2 5 Terms and definitions .2 5.1 Activation in Active communication Mode.2 5.2 Activation in Passiv
8、e communication Mode 2 5.3 Active communication Mode2 5.4 Operating volume2 5.5 Passive communication Mode .2 5.6 Single Device Detection (SDD).2 5.7 Scenario.2 5.8 Test commands .2 6 Acronyms and abbreviations .3 7 General description.5 7.1 Apparatus for Testing .5 7.1.1 Generating the I/O characte
9、r timing in reception mode5 7.1.2 Measuring and monitoring the RF I/O protocol5 7.1.3 Test scenario and report.5 7.1.4 RFU bits5 7.1.5 General rules5 8 Target test methods 5 8.1 Apparatus for testing the Target (Target-test-apparatus).5 8.2 List of protocol test methods related to ISO/IEC 18092 6 8.
10、3 Activation in Passive communication Mode at 212 and 424 kbps .7 8.3.1 Activation time.7 8.3.2 Frame format8 8.3.3 SDD at 212 and 424 kbps8 8.4 Activation in Active communication Mode.9 8.4.1 RF Collision Avoidance 9 8.5 Logical operation of the Target Transport Protocol 10 8.5.1 Handling of ATR_RE
11、Q.10 8.5.2 Handling of PSL_REQ.11 8.5.3 Handling of DEP_REQ Information PDUs.13 8.5.4 Handling of DEP_REQ Information PDUs with the “more information“ bit set to ONE .14 8.5.5 Handling of DEP_REQ supervisory PDUs with timeout bit set to ONE 19 8.5.6 Handling of DEP_REQ supervisory PDUs with timeout
12、bit set to ZERO.20 8.5.7 Handling of DSL_REQ.21 8.5.8 Handling of RLS_REQ.22 8.5.9 Handling of WUP_REQ (Active communication Mode Only)24 9 Initiator test methods26 9.1 Apparatus for testing the Initiator (Initiator-test-apparatus).26 9.1.1 Initiator test apparatus concept.26 Foreword.v Introduction
13、 .viISO/IEC 23917:2005(E) iv ISO/IEC 2005 All rights reserved 9.1.4 Protocol activation procedures for Active communication Mode. 27 9.2 List of protocol test methods for Initiators 27 9.3 Activation in Passive communication Mode at 212 and 424 kbps 28 9.3.1 Frame format. 28 9.3.2 SDD at 212 and 424
14、 kbps . 28 9.4 Activation in Active communication Mode 29 9.4.1 Initial RF Collision Avoidance . 29 9.4.2 Response RF Collision Avoidance with time jitter n=0 29 9.5 Logical operation of the Transport Protocol . 30 9.5.1 Handling of ATR_RES 30 9.5.2 Handling of PSL_RES. 31 9.5.3 Handling of DEP_RES
15、Information PDUs. 32 9.5.4 Handling of DEP_RES Information PDUs with more information bit set to ONE 34 9.5.5 Handling of DEP_RES supervisory PDUs with timeout bit set to ONE 37 9.5.6 Handling of DEP_RES supervisory PDUs with timeout bit set to ZERO. 39 9.5.7 Handling of DSL_RES 40 9.5.8 Handling of
16、 RLS_RES 41 Annex A (normative) Test report template for Target tests. 43 Annex B (normative) Test report template for Initiator tests. 48 9.1.2 Protocol activation procedure for Passive communication Mode at 106 kbps 26 9.1.3 Protocol activation procedures for Passive communication Mode at 212 and
17、424 kbps27ISO/IEC 23917:2005(E) ISO/IEC 2005 All rights reserved v Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC parti
18、cipate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmenta
19、l and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
20、The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodie
21、s casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 23917 was prepared by Ecma International (as ECMA-362) and was adop
22、ted, under a special “fast- track procedure”, by Joint Technical Committee ISO/IEC JTC 1, Information technology, in parallel with its approval by national bodies of ISO and IEC. ISO/IEC 23917:2005(E) vi ISO/IEC 2005 All rights reserved Introduction In 2002, Ecma International formed Task Group 19 o
23、f Technical Committee 32 to specify Near Field Communication (NFC) signal interfaces and protocols. The NFC devices are wireless closely coupled devices communicating at 13,56 MHz. The General Assembly of December 2002 adopted Near Field Communication Interface and Protocol-1 (NFCIP-1) as Standard E
24、CMA-340 (ISO/IEC 18092). This International Standard specifies protocol tests for ECMA-340 (ISO/IEC 18092) and complements ECMA-356 (ISO/IEC 22536), which specifies the RF interface tests for ECMA-340 (ISO/IEC 18092). INTERNATIONAL STANDARD ISO/IEC 23917:2005(E) ISO/IEC 2005 All rights reserved 1 1
25、Scope This International Standard specifies protocol test methods for ISO/IEC 18092 in addition to those specified in ISO/IEC 22536. 2 Conformance In addition to conforming to ISO/IEC 22536, implementations of ISO/IEC 18092 shall pass all normative tests and requirements specified herein; test resul
26、ts shall be recorded using Annex A and Annex B of this International Standard. 3 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the ref
27、erenced document (including any amendments) applies. ISO/IEC 10373-6:2001, Identification cards Test methods Part 6: Proximity cards ISO/IEC 18092:2004, Information technology Telecommunications and information exchange between systems Near Field Communication Interface and Protocol (NFCIP-1) ISO/IE
28、C 22536:2005, Information technology Telecommunications and information exchange between systems NFCIP-1 - RF interface test methods 4 Notational conventions 4.1 Representation of numbers The following conventions and notations apply in this document unless otherwise stated. Letters and digits in pa
29、rentheses represent numbers in hexadecimal notation. The setting of bits is denoted by ZERO or ONE. Numbers in binary notation and bit patterns are represented by strings of digits 0 and 1 shown with the most significant bit to the left. Within such strings, X may be used to indicate that the settin
30、g of a bit is not specified within the string. 4.2 Names The names of basic elements, e.g. specific fields, are written with a capital initial letter. Information technology Telecommunications and information exchange between systems NFCIP-1 Protocol Test Methods ISO/IEC 23917:2005(E) 2 ISO/IEC 2005
31、 All rights reserved 4.3 Test report The test report includes the number of passed tests versus the total number of tests, the number of different samples and the date of the tests, see Annexes A and B. 5 Terms and definitions For the purposes of this document, the following terms and definitions ap
32、ply 5.1 Activation in Active communication Mode flow to activate the DUT in Active communication Mode as defined in ISO/IEC 18092, which includes initialisation and protocol activation. 5.2 Activation in Passive communication Mode flow to activate the DUT in Passive communication Mode as defined in
33、ISO/IEC 18092, which includes initialisation and protocol activation. 5.3 Active communication Mode in the Active communication Mode scheme, as defined in ISO/IEC 18092, both the Initiator and the Target use their own RF field to enable the communication. 5.4 Operating volume a volume with a field s
34、trength of at least H minand not exceeding H maxgenerated by a NFC device at manufacturer specified positions. 5.5 Passive communication Mode the Initiator is generating the RF field and the Target responds to an Initiator command in a load modulation scheme as defined in ISO/IEC 18092. 5.6 Single D
35、evice Detection (SDD) SDD is an algorithm used by the initiator to detect one out of several Targets in its RF field. 5.7 Scenario a scenario is a protocol and application specific sequence test operations. Scenario description tables list all individual test operations. A horizontal line in a scena
36、rio description table indicates that the device shall be reset to initial conditions. 5.8 Test commands Commands defined for dedicated functional behaviour on an implemented system according to ISO/IEC 18092. The PDUs that are actually used in these commands shall be recorded in the test report (see
37、 Annex A and Annex B). Definitions valid for all test commands: xx PNI ISO/IEC 23917:2005(E) ISO/IEC 2005 All rights reserved 3 The following test commands are specified based on PDUs specified in ISO/IEC 18092: A(ACK) xx DEP_REQ or DEP_RES PDU coded as ACK/NACK PDU with ACK/NACK bit set to ZERO and
38、 PNI set to xx. A(NACK) xx DEP_REQ or DEP_RES PDU coded as ACK/NACK PDU with ACK/NACK bit set to ONE and PNI set to xx. S(A) DEP_REQ or DEP_RES PDU coded as Supervisory PDU (as defined in ISO/IEC 18092) with the Timeout bit set to ZERO. No PNI is used for this command. S(TO) DEP_REQ or DEP_RES PDU c
39、oded as Supervisory PDU (as defined in ISO/IEC 18092) with the Timeout bit set to ONE. No PNI is used for this command. TEST_COMMAND1 xxDefault Test command, it is a DEP_REQ frame coded as information PDU with “More Information“ bit set to ZERO (no chaining) and the PNI set to xx. The Initiator or t
40、he target-test-apparatus sends this PDU. TEST_RESPONSE1 xxResponse to TEST_COMMAND1 (DEP_RES) with the PNI set to xx. TEST_COMMAND2 xxTest command used for tests of the chaining procedure. This command forces the counterpart (either Initiator or Target) to use chaining in the next DEP_REQ. This comm
41、and is a DEP_REQ or DEP_RES frame, for an Initiator or Target respectively, with its “More Information“ bit set to ZERO and it uses the same PDU as TEST_COMMAND1, but this PDU has different data. TEST_COMMAND3B xxThis command marks the beginning of a DEP_REQ or DEP_RES frame, for an Initiator or Tar
42、get respectively, with its “More Information“ bit set to ONE and the PNI set to xx. TEST_COMMAND3n xxThis command is sent after TEST_COMMAND3B and before TEST_COMMAND3E. The lower case n represents a number ranging from 0 to 9. This command has the “More Information“ bit set to ONE and the PNI set t
43、o xx. TEST_COMMAND3E xxThis command marks the end of the chaining procedure and is a DEP_REQ or DEP_RES frame, for an Initiator or Target respectively, with the “More Information“ bit set to ZERO and the PNI set to xx. TEST_RESPONSE3 xxis the response to the chaining command. Shall be a DEP_REQ or D
44、EP_RES frame, for an Initiator or Target respectively, with the “More Information“ bit set to ZERO and the PNI set to xx. TEST_COMMAND4 xxTest command used for tests dealing with frame waiting time. The Initiator sends this command and forces the Target to use a Supervisory PDU with the timeout bit
45、set to ONE and the PNI set to xx. TEST_RESPONSE4 xxis the response to TEST_COMMAND4. It is a DEP_RES with the “More Information“ bit set to ZERO and the PNI set to xx. It may be the same as TEST_RESPONSE1. 6 Acronyms and abbreviations ATR_REQ ATtribute Request command as defined in ISO/IEC 18092 ATR
46、_RES Response to the ATR_REQ CRC Cyclic Redundancy Check as defined in Annex A of ISO/IEC 18092 CRC CRC as defined above with all bits inverted ISO/IEC 23917:2005(E) 4 ISO/IEC 2005 All rights reserved DEP_REQ Data Exchange Protocol Request as defined in ISO/IEC 18092 DEP_RES Response to the Data Exc
47、hange Protocol Request DID Device ID as defined in ISO/IEC 18092 DSL_REQ DeSeLect Request command as defined in ISO/IEC 18092 DSL_RES Response to the DSL_REQ DUT Device Under Test fc Frequency of operating field (carrier frequency) as defined in ISO/IEC 18092 Hmax Maximum field strength of the Initi
48、ator antenna field as defined in ISO/IEC 18092 Hmin Minimum field strength of the Initiator antenna field as defined in ISO/IEC 18092 HThreshold Defined in ISO/IEC 18092 ID Identification number LT Lower Tester the Target-emulation part of the Initiator-Test-apparatus Mute No response within a speci
49、fied timeout PDU Protocol Data Unit as defined in ISO/IEC 18092 PNI Package Number Information as defined in ISO/IEC 18092 POL_REQ POlling Request command as defined in ISO/IEC 18092 POL_RES Response to the Polling Request PSL_REQ Parameter SeLect Request command as defined in ISO/IEC 18092 PSL_RES Response to the PSL_REQ RF Radio Frequency RFU Reserved for Future Use RLS_REQ ReLease Request command as defined in ISO/IEC 18092 RLS_RES Response to the RLS_REQ RTO PDU Response TimeOut exte