1、raising standards worldwide NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAW BSI Standards Publication Information technology Mobile item identification and management Part 1: Mobile RFID interrogator device protocol for ISO/IEC 18000-63 Type C BS ISO/IEC 29173-1:2012National f
2、oreword This British Standard is the UK implementation of ISO/IEC 29173-1:2012. The UK participation in its preparation was entrusted to Technical Committee IST/34, Automatic identification and data capture techniques. A list of organizations represented on this committee can be obtained on request
3、to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2012 Published by BSI Standards Limited 2012 ISBN 978 0 580 81264 4 ICS 35.040 Compliance with a British Sta
4、ndard cannot confer immunity from legal obligations. This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 December 2012. Amendments issued since publication Amd. No. Date Text affected BRITISH STANDARD BS ISO/IEC 29173-1:2012 Reference number I
5、SO/IEC 29173-1:2012(E) ISO/IEC 2012INTERNATIONAL STANDARD ISO/IEC 29173-1 First edition 2012-12-01 Information technology Mobile item identification and management Part 1: Mobile RFID interrogator device protocol for ISO/IEC 18000-63 Type C Technologies de linformation Gestion et identification dlme
6、nt mobile Partie 1: Protocole de dispositif interrogateur RFID mobile pour lISO/CEI 18000-63 Type C BS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2012 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in a
7、ny form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing 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 7
8、49 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2012 All rights reservedBS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) ISO/IEC 2012 All rights reserved iiiContents Page Foreword iv Introduction . v 1 Scope 1 2 Normative references 1 3 Terms, definitions, symbols
9、and abbreviated terms . 1 3.1 Terms and definitions . 1 3.2 Abbreviated terms . 2 3.3 Notation 3 4 Overview . 4 5 Message format of mobile RFID interrogator device protocol . 4 5.1 Overview . 4 5.2 Preamble field and end mark field . 4 5.3 Header field 4 5.4 Payload field 5 5.5 Endian format and tra
10、nsmission order format . 8 5.6 Method of describing small-size data in fixed-size field . 8 5.7 Cyclic Redundancy Check (CRC) field 8 6 Summary and list of command, response, and notification . 9 6.1 Overview . 9 6.2 Interrogator control/management category 9 6.3 Tag read category 10 6.4 Tag write c
11、ategory . 11 6.5 Tag kill/lock/erase category . 12 6.6 Additional function category 12 6.7 Result code 12 6.8 Vendor-specific command and response . 14 6.9 Notification . 14 7 Details of command, response, and notification . 14 7.1 Interrogator control/management category 14 7.2 Tag read category 26
12、 7.3 Tag write category . 31 7.4 Tag kill/lock/erase category . 32 7.5 Additional function category 34 7.6 Appendices for command, response, and notification . 36 8 Test mode . 38 8.1 Test mode . 38 8.2 Protocol message in test mode . 38 8.3 Procedure for processing protocol message in test mode 39
13、8.4 Test the receive sensitivity of the interrogator 39 Annex A (informative) The scope diagram 41 Annex B (informative) Schematic of 16-bit cyclic redundancy check (CRC) . 42 Bibliography 43 BS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) iv ISO/IEC 2012 All rights reservedForeword ISO (the Internat
14、ional 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 participate in the development of International Standards through technical committees established
15、 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, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field
16、 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. The main task of the joint technical committee is to prepare International Standards. Draft I
17、nternational 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 bodies casting a vote. Attention is drawn to the possibility that some of the elements of this doc
18、ument 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 29173-1 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 31, Automatic identification and data capture technique
19、s. ISO/IEC 29173 consists of the following parts under the general title Information technology Mobile item identification and management: Part 1: Mobile RFID interrogator device protocol for ISO/IEC 18000-63 Type C BS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) ISO/IEC 2012 All rights reserved vInt
20、roduction This International Standard provides a mobile RFID interrogator device protocol defining the interface between a mobile AIDC application platform and a mobile RFID interrogator. Without this standard protocol, manufacturers of mobile RFID interrogators would likely develop multiple mobile
21、RFID interrogator device drivers for different mobile AIDC application platforms. Moreover, they also would likely develop a proprietary interface protocol between the mobile AIDC application platform and the mobile RFID interrogator. On the other hand, if both the mobile AIDC application platform a
22、nd the Mobile RFID interrogator developers follow this standardized mobile RFID interrogator device protocol, various independent products will be mutually interoperable without extra costs. Previously, the ISO and EPC standards defined an interrogator protocol that supports connection of an RFID in
23、terrogator to a host through a network. Those standards are applied mainly in cases in which an RFID interrogator is connected through a network. In mobile RFID systems, an RFID interrogator is mounted inside a mobile phone or attached to a mobile phone in a dongle configuration. Such RFID systems r
24、equire a protocol that enables a main control unit of the mobile phone to control the RFID interrogator. Therefore, the Mobile RFID system requires a new interface protocol between the mobile AIDC application platform and the mobile RFID interrogator to meet the new requirements. There are alternati
25、ve techniques to meet the use case addressed by this International Standard, and one is the use of EPC and ONS. Those interested in this technique are encouraged to contact GS1 for further information. BS ISO/IEC 29173-1:2012INTERNATIONAL STANDARD ISO/IEC 29173-1:2012(E) ISO/IEC 2012 All rights rese
26、rved 1Information technology Mobile item identification and management Part 1: Mobile RFID interrogator device protocol for ISO/IEC 18000-63 Type C 1 Scope This part of ISO/IEC 29173 defines an interface protocol between a device driver of a mobile AIDC application platform and a mobile RFID interro
27、gator within a mobile AIDC terminal. It is intended that this part of ISO/IEC 29173 be implemented in both the device driver of a mobile AIDC application platform and the mobile RFID interrogator. In accordance with the ISO/IEC 18000-63 type C RFID air interface, this part of ISO/IEC 29173 includes:
28、 types of command/response/notification protocol messages and their usages, protocol message format, and protocol message exchange procedures. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cite
29、d applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 18000-63, Information technology Radio frequency identification for item management: Part 63: Parameters for air interface communications at 860 MHz to 960 MHz Type C ISO/IEC
30、19762 (all parts), Information technology Automatic identification and data capture (AIDC) techniques Harmonized vocabulary ISO/IEC 29143, Information technology Mobile item identification and management Air interface specification for Mobile RFID interrogators ISO/IEC TR 29172, Information technolo
31、gy Mobile item identification and management Reference architecture for Mobile AIDC services 3 Terms, definitions, symbols and abbreviated terms 3.1 Terms and definitions For the purposes of this document, the terms and definitions given in ISO/IEC 19762, ISO/IEC 18000-63, ISO/IEC TR 29172 and the f
32、ollowing apply. BS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) 2 ISO/IEC 2012 All rights reserved3.1.1 mobile AIDC application platform set of computer instructions as the place to launch a mobile AIDC application in a mobile AIDC terminal ISO/IEC TR 29172 3.1.2 mobile AIDC terminal electronic devic
33、e equipped with one or more mobile AIDC device(s) to support the functions of Mobile Item Identification and Management (MIIM) technologies ISO/IEC TR 29172 3.1.3 mobile RFID AIDC technique supporting the Mobile Item Identification and Management (MIIM) technologies of radio frequency identification
34、 (RFID) ISO/IEC TR 29172 3.1.4 mobile RFID interrogator electronic equipment that retrieves information from radio frequency tags by transmitting and receiving radio frequency signals to and from the tags 3.1.5 mobile RFID MIIM content name description of the object associated with MIIM services, su
35、ch as brand name, company name, food name, movie title, building name, etc. 3.2 Abbreviated terms AFID Application Family ID A/I Air Interface AM tag memory Access Mode AP Access Password Arg Argument BM Byte Mask CRC Cyclic Redundancy Check DR TRcal Divide Ratio EAC Embedded Application Code EnMAC
36、Enable MAC H/W Hardware KP Kill Password LD Lock Data MB Tag Memory Bank MB01EC UII Memory Bank (01) data except the CRC BS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) ISO/IEC 2012 All rights reserved 3MB01ECL MB01EC Length MD Memory Data of TID or content name MDL Memory Data Lengh MI Modulation In
37、dex MII Mobile Item Identifier MSA Memory Start Address MT Message Type MTIME Maximum elapsed Time to tagging NUMT Number of Maximum Tag to read PL Payload Length PNTR Pointer RC Repeat Cycle for inventory RFU Reserved for Future Use RSV Reserved SDF Storage Data Format SeKey Security Key SelFM Sele
38、ct Frequency Mode SelSeM Select Security Mode S/N Serial Number TID Tag Identifier TN Tag Number TR TRcal (Tag-to-interrogator Calibration symbol) UID Unique Identifier UII Unique Item Identifier URI Uniform Resource Identifier WD Write Data WDL Write Data Length b bit 3.3 Notation This document use
39、s the following notational conventions: 0bNNNN binary notation 0xNNNN hexadecimal notation BS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) 4 ISO/IEC 2012 All rights reserved4 Overview This part of ISO/IEC 29173 is organized as follows: Clause 5 describes the message format of a mobile RFID interrogat
40、or device protocol. Clause 6 summarizes and lists all commands, responses and notifications defined in this part of ISO/IEC 29173. Clause 7 describes the details of each command, response, and notification. Clause 8 describes the test mode protocol used for testing a mobile RFID interrogator. The ro
41、le of this part of ISO/IEC 29173 in mobile RFID is described in ISO/IEC TR 29172. 5 Message format of mobile RFID interrogator device protocol 5.1 Overview A mobile RFID interrogator device protocol includes a preamble, a header, a payload, and an end mark. Fig. 1 illustrates a message format of a m
42、obile RFID interrogator device protocol. 0 7 8 15 16 31 Message Type Code Payload Lengt h (unit of byte) Preamble (0xBB) Header Payload End Mar k (0x7E) CRC-16 (0xNNNN) 8 bits 32 bits N*8 bits 8 bits 16 bits Figure 1 Message format 5.2 Preamble field and end mark field A preamble includes informatio
43、n for indicating the start of a protocol message, which is used to discern protocol messages. For example, the preamble may be configured in 8 bits and may have a value of 0xBB. A header includes information for indicating the message type, a corresponding code, and a payload length. That is, the pa
44、yload length information is stored in the header and the information received from the RFID tag is stored in the payload. An end mark includes information for indicating the end of a protocol message, which is used to discern the protocol messages together with the preamble. For example, the end mar
45、k may be configured in 8 bits and may have a value of 0x7E. 5.3 Header field 5.3.1 General The header includes three fields describing: 1) an RFID tag type, 2) command/response/notification type and code, and 3) the payload length. The message type field is used to discern a command that is transmit
46、ted from the processor to the interrogator and a response and notification transmitted from the interrogator to the processor. The code field is used to discern a variety of types of commands, responses or notifications. The code field includes information about the success or failure of commands in
47、 response and notification. The payload length field includes information indicating the length, in bytes, of the payload. BS ISO/IEC 29173-1:2012ISO/IEC 29173-1:2012(E) ISO/IEC 2012 All rights reserved 55.3.2 Message type field The message type field associates commands, responses and notifications
48、 with the corresponding code value represented in 8 bits. The message type (e.g., command, response and notification) can be discerned using the values shown in Table 1 below. Table 1 Command/Response/Notification type and corresponding code value Command/Response/Notification type Corresponding cod
49、e value (Hexadecimal) Command 0x00 Response 0x01 Notification 0x02 Test mode 0x03 Reserved 0x04-0xFF As shown in Table 1, a code value indicating a command is 0x00, a code value indicating a response is 0x01, a code value indicating a notification is 0x02, a code value indicating a test mode is 0x03, and code values indicating “Reserved“ are 0x04 0xFF. The command, the response, the notification, and the test mode shown in Table 1 will be described