Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

IrUT V1

.0.pdf
Скачиваний:
11
Добавлен:
23.08.2013
Размер:
919.26 Кб
Скачать

Infrared Data Association

Infrared Universal Translator (IrUT)

For High-Speed Radio

NEC

NTT DoCoMo

Matsushita/Panasonic

Sharp

Version 1.0

October 26, 1999

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

Authors:

Yusuke Kushida, kushida@cet.yrp.nttdocomo.co.jp (NTT DoCoMo)

Kazuya Anzawa, anzawa@cet.yrp.nttdocomo.co.jp (NTT DoCoMo)

Katsunori Hamada, hamada@cet.yrp.nttdocomo.co.jp (NTT DoCoMo)

Contributors:

Noriyuki Ogawa, oga@milh.mei.co.jp (Matsushita/Panasonic)

Kuniaki Sugimoto, sugimoto@milh.mei.co.jp (Matsushita/Panasonic)

Shuichiro Ono, ono@shpcsl.sharp.co.jp (SHARP)

Hiroshi Ono, ono@mcd.yh.nec.co.jp (NEC)

Special thanks to

Robert K.Lockhart, lob.lockhart@mot.com (Motorola)

Editor:

Yusuke Kushida

Document Status:

Infrared Universal Translator (IrUT) for High-speed Radio version 1.0 (October25, 1999)

ii

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

INFRARED DATA ASSOCIATION (IrDA) - NOTICE TO THE TRADE -SUMMARY:

Following is the notice of conditions and understandings upon which this document is made available to members and non-members of the Infrared Data Association. Availability of Publications, Updates and Notices

Full Copyright Claims Must be Honored

Controlled Distribution Privileges for IrDA Members Only Trademarks of IrDA - Prohibitions and Authorized Use No Representation of Third Party Rights

Limitation of Liability

Disclaimer of Warranty

Certification of Products Requires Specific Authorization from IrDA after Product Testing for IrDA Specification Conformance

IrDA PUBLICATIONS and UPDATES:

IrDA publications, including notifications, updates, and revisions, are accessed electronically by IrDA members in goodstanding during the course of each year as a benefit of annual IrDA membership. Electronic copies are available to the public on the IrDA web site located at irda.org. IrDA publications are available to non-IrDA members for a pre-paid fee. Requests for publications, membership applications or more information should be addressed to: Infrared Data Association, P.O. Box 3883,Walnut Creek, California, U.S.A. 94598; or e-mail address: info@irda.org; or by calling John LaRoche at (510) 943-6546 or faxing requests to (510) 934-5600.

COPYRIGHT:

1.Prohibitions: IrDA claims copyright in all IrDA publications. Any unauthorized reproduction, distribution, display or modification, in whole or in part, is strictly prohibited.

2.Authorized Use: Any authorized use of IrDA publications (in whole or in part) is under NONEXCLUSIVE USE LICENSEONLY. No rights to sublicense, assign or transfer the license are granted and any attempt to do so is void.

DISTRIBUTION PRIVILEGES for IrDA MEMBERS ONLY:

IrDA Members Limited Reproduction and Distribution Privilege: A limited privilege of reproduction and distribution of IrDA copyrighted publications is granted to IrDA members in good standing and for sole purpose of reasonable reproduction and distribution to non-IrDA members who are engaged by contract with an IrDA member for the development of IrDA certified products. Reproduction and distribution by the non-IrDA member is strictly prohibited.

TRANSACTION NOTICE to IrDA MEMBERS ONLY:

Each and every copy made for distribution under the limited reproduction and distribution privilege shall be conspicuously marked with the name of the IrDA member and the name of the receiving party. Upon reproduction for distribution, the distributing IrDA member shall promptly notify IrDA (in writing or by e-mail) of the identity of the receiving party. A failure to comply with the notification requirement to IrDA shall render the reproduction and distribution unauthorized and IrDA may take appropriate action to enforce its copyright, including but not limited to, the termination of the limited reproduction and distribution privilege and IrDA membership of the non-complying member.

TRADEMARKS:

1.Prohibitions: IrDA claims exclusive rights in its trade names, trademarks, service marks, collective membership marks and certification marks (hereinafter collectively "trademarks"), including but not limited to the following trademarks: INFRARED DATA ASSOCIATION (word mark alone and with IR logo), IrDA (acronym mark alone and with IR logo), IR logo, IR DATA CERTIFIED (composite mark), and MEMBER IrDA (word mark alone and with IR logo). Any unauthorized use of IrDA trademarks is strictly prohibited.

2.Authorized Use: Any authorized use of a IrDA collective membership mark or certification mark is by NONEXCLUSIVE USE LICENSE ONLY. No rights to sublicense, assign or transfer the license are granted and any attempt to do so is void.

3.Third party brands, trademarks, registered trademarks, service marks, and names are the property of their respective owners.

NO REPRESENTATION of THIRD PARTY RIGHTS:

IrDA makes no representation or warranty whatsoever with regard to IrDA member or third party ownership, licensing or infringement/non-infringement of intellectual property rights. Each recipient of IrDA publications, whether or not an IrDA member, should seek the independent advice of legal counsel with regard to any possible violation of third party

iii

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

rights arising out of the use, attempted use, reproduction, distribution or public display of IrDA publications. IrDA assumes no obligation or responsibility whatsoever to advise its members or non-members who receive or are about to receive IrDA publications of the chance of infringement or violation of any right of an IrDA member or third party arising out of the use, attempted use, reproduction, distribution or display of IrDA publications.

LIMITATION of LIABILITY:

BY ANY ACTUAL OR ATTEMPTED USE, REPRODUCTION, DISTRIBUTION OR PUBLIC DISPLAY OF ANY IrDA PUBLICATION, ANY PARTICIPANT IN SUCH REAL OR ATTEMPTED ACTS, WHETHER OR NOT A MEMBER OF IrDA, AGREES TO ASSUME ANY AND ALL RISK ASSOCIATED WITH SUCH ACTS, INCLUDING BUT NOT LIMITED TO LOST PROFITS, LOST SAVINGS, OR OTHER CONSEQUENTIAL, SPECIAL, INCIDENTAL OR PUNITIVE DAMAGES. IrDA SHALL HAVE NO LIABILITY WHATSOEVER FOR SUCH ACTS NOR FOR THE CONTENT, ACCURACY OR LEVEL OF ISSUE OF AN IrDA PUBLICATION.

DISCLAIMER of WARRANTY:

All IrDA publications are provided "AS IS" and without warranty of any kind. IrDA (and each of its members, wholly and collectively, hereinafter "IrDA") EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND WARRANTY OF NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. IrDA DOES NOT WARRANT THAT ITS PUBLICATIONS WILL MEET YOUR REQUIREMENTS OR THAT ANY USE OF A PUBLICATION WILL BE UN-INTERRUPTED OR ERROR FREE, OR THAT DEFECTS WILL BE CORRECTED. FURTHERMORE, IrDA DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING USE OR THE RESULTS OR THE USE OF IrDA PUBLICATIONS IN TERMS OF THEIR CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NO ORAL OR WRITTEN PUBLICATION OR ADVICE OF A REPRESENTATIVE (OR MEMBER) OF IrDA SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY.

LIMITED MEDIA WARRANTY:

IrDA warrants ONLY the media upon which any publication is recorded to be free from defects in materials and workmanship under normal use for a period of ninety (90) days from the date of distribution as evidenced by the distribution records of IrDA. IrDA's entire liability and recipient's exclusive remedy will be replacement of the media not meeting this limited warranty and which is returned to IrDA. IrDA shall have no responsibility to replace media damaged by accident, abuse or misapplication.

ANY IMPLIED WARRANTIES ON THE MEDIA, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE LIMITED IN DURATION TO NINETY (90) DAYS FROM THE DATE OF DELIVERY. THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS, AND YOU MAY ALSO HAVE OTHER RIGHTS WHICH VARY FROM PLACE TO PLACE.

CERTIFICATION and GENERAL:

Membership in IrDA or use of IrDA publications does NOT constitute IrDA compliance. It is the sole responsibility of each manufacturer, whether or not an IrDA member, to obtain product compliance in accordance with IrDA rules for compliance. All rights, prohibitions of right, agreements and terms and conditions regarding use of IrDA publications and IrDA rules for compliance of products are governed by the laws and regulations of the United States. However, each manufacturer is solely responsible for compliance with the import/export laws of the countries in which they conduct business. The information contained in this document is provided as is and is subject to change without notice.

iv

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

TABLE OF CONTENTS

1.

Introduction

.........................................................................................................................

 

1

 

1.1

Scope............................................................................................................................

 

 

1

 

1.2

Framework....................................................................................................................

1

 

1.3

References ...................................................................................................................

3

 

1.4

Acronyms......................................................................................................................

 

3

 

1.5

Byte Ordering ...............................................................................................................

3

2. Infrared Universal Translator (IrUT) ..................................................................................

4

 

2.1

Data transmission overview..........................................................................................

4

 

2.2

Basic requirements.......................................................................................................

5

 

2.3

Frame Format...............................................................................................................

5

 

2.3.1 Frame Format of UT-Units Field ..............................................................................

5

 

2.3.2 UT-Unit for Real-Time Data Transmission...............................................................

7

 

2.3.2.1

UT-Unit for Real-Time Data Control ................................................................

7

 

2.3.2.2

UT-Unit for Real-Time Data Transmission...................................................................

9

 

2.3.3 UT-Units for Non-real-time Data Transmission......................................................

10

 

2.3.3.1

UT-Unit for Non-real-time Data Control .....................................................................

10

 

2.3.3.2

UT-Data Unit for Non-real-time Data Transmission ...................................................

10

 

2.4

IrUT service primitives ................................................................................................

11

 

2.4.1

Connect Service .....................................................................................................

11

 

2.4.2

Disconnect Service ................................................................................................

12

 

2.4.3

Data Service...........................................................................................................

12

 

2.4.4

Real-time Data Service ..........................................................................................

12

 

2.4.5

Status Service ........................................................................................................

13

 

2.4.6

Local Flow Service .................................................................................................

13

 

2.5

Internal Organization of the IrUT layer .......................................................................

14

 

2.6

State Charts................................................................................................................

15

 

2.6.1

The State Chart of UT Link Management Section ................................................

16

 

2.6.1.1

State Transition Diagram ...........................................................................................

16

 

2.6.1.2

State Transition Tables..............................................................................................

17

 

 

2.6.1.2.1

IDLE State ..........................................................................................................

17

 

 

2.6.1.2.2

SETUP State......................................................................................................

18

 

 

2.6.1.2.3

CONN State .......................................................................................................

19

 

 

2.6.1.2.4

NRDTR State .....................................................................................................

20

v

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

 

 

2.6.1.2.5

RDTR State........................................................................................................

21

 

 

2.6.1.2.6

DISC State .........................................................................................................

22

 

 

2.6.1.2.7

State Definitions ................................................................................................

23

 

 

2.6.1.2.8

State Variables ..................................................................................................

23

 

 

2.6.1.2.9

Event Descriptions ............................................................................................

24

 

 

2.6.1.2.10

Action Descriptions .........................................................................................

24

 

2.6.2 The State Chart of UT Frame Management Section (UTF)...................................

25

 

2.6.2.1

State Transmission Diagram......................................................................................

25

 

2.6.2.2

State Transmission Tables ........................................................................................

26

 

 

2.6.2.2.1

IDLE State ..........................................................................................................

26

 

 

2.6.2.2.2

SETUP State......................................................................................................

27

 

 

2.6.2.2.3

CONN State .......................................................................................................

27

 

 

2.6.2.2.4

ROLE_EX State.................................................................................................

28

 

 

2.6.2.2.5

ROLE_EX WAIT State......................................................................................

28

 

 

2.6.2.2.6

RECONN State..................................................................................................

29

 

 

2.6.2.2.7

RECONN_WAIT State ....................................................................................

30

 

 

2.6.2.2.8

DTR_PEND State .............................................................................................

31

 

 

2.6.2.2.9

RDTR State........................................................................................................

32

 

 

2.6.2.2.10

NRDTR State...................................................................................................

35

 

 

2.6.2.2.11

DISC State ......................................................................................................

38

 

 

2.6.2.2.12

State Definitions ..............................................................................................

38

 

 

2.6.2.2.13

Event Descriptions ..........................................................................................

39

 

 

2.6.2.2.14

State Variables ................................................................................................

40

 

 

2.6.2.2.15

Action Descriptions .........................................................................................

40

 

2.7

Connection Establishment Procedure ........................................................................

42

 

2.7.1 The first IrUT link establishment procedure (see Figure 2.7-1) .............................

42

 

2.7.2 Procedure to add new non-real-time data link (See figure 2.7-2) ..........................

44

 

2.7.3

Negotiation Parameters .........................................................................................

46

 

2.7.3.1

Data transmission cycle .............................................................................................

46

 

2.7.3.2

Maximum data length ................................................................................................

46

3

ISDN

....................................................................................................................................

 

 

47

 

3.1

Data Transmission Overview......................................................................................

47

 

3.2

Frame Format.............................................................................................................

47

 

3.2.1

BRI Frame Structure ..............................................................................................

47

 

3.2.2

PRI frame structure ................................................................................................

48

vi

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

 

3.2.3

Frame Descriptions ................................................................................................

48

 

3.2.3.1 Common flag field 1............................................................................................

49

 

3.2.3.2 Common flag field 2............................................................................................

50

 

3.2.3.3

Bit stream ordering..............................................................................................

50

 

3.2.3.4 Contents of UT-Parameters for ISDN ...........................................................

51

 

3.3

Basic requirements.....................................................................................................

52

 

3.4

Hardware requirement................................................................................................

52

 

3.4.1

Bit synchronization .................................................................................................

52

4.

IrOBEX ..................................................................................................................................

 

53

 

4.1

Data transmission overview........................................................................................

53

 

4.2

Frame format example ...............................................................................................

53

5.

IrCOMM...............................................................................................................................

 

54

 

5.1

Data transmission overview........................................................................................

54

 

5.2

Frame format example ...............................................................................................

54

6.

Service sequence example .................................................................................................

55

 

6.1

Primary / Secondary exchange ..................................................................................

55

7. IAS ..........................................................................................................................................

 

 

56

 

7.1

IAS Entries for Class IrDA:IrUT ..................................................................................

56

 

7.1.1

IrDA:TinyTP:LsapSel..............................................................................................

56

 

7.1.2

Parameters.............................................................................................................

56

 

7.2

IAS Entries for Class IrDA:IrUT:IrOBEX.....................................................................

59

 

7.2.1

IrDA:TinyTP:LsapSel..............................................................................................

59

 

7.2.2

Other Attributes ......................................................................................................

59

 

7.3

IAS Entries for Class IrDA:IrUT:IrCOMM ...................................................................

59

 

7.3.1

IrDA:TinyTP:LsapSel..............................................................................................

59

 

7.3.2

Other Attributes ......................................................................................................

59

 

7.4

Service Hint Bit ...........................................................................................................

60

Appendix A

Overview of procedure for errors...................................................................

61

Appendix B The Detailed Sequence of IrUT Connection ..................................................

62

 

B-1

The First Link Connection Establishment Procedure. ................................................

62

 

B-2

Data Transmission Procedure ....................................................................................

63

vii

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

B-3

Communication Error Occurs .....................................................................................

64

B-4

The Second Link Connection Establishment Procedure............................................

65

B-5

The Last Link Disconnect Procedure. ........................................................................

66

viii

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

1.Introduction

1.1Scope

This document describes the real-time data transmission function for phase 2 IrMC specification. This specification set new protocol layer named IrUT, which offers a data translation function between an infrared interface and other interfaces. With IrUT, an infrared interface can provide real-time data services such as video conferencing.

1.2Framework

The IrMC (the phase 1 IrMC specifications) defines the rules for object exchange, voice communication, and call control utilization through an infrared interface. In this specification, the targeted data transmission speed is 4 Mbps (or higher).

 

 

 

Handset

PC with IrDA device

PDA

Pager

(Car Cradle)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Voice+C.C.

PC

Object

Ethernet

Exchange

 

IrDA

Data

 

ADAPTER

Transmission

I.430

 

I.431

Unrestricted Digital

 

IrDA

(64 * n kbps)

 

ADAPTER

 

Video Conference

 

Phone

 

(ISDN Terminal)

 

Figure 1-1 Possible services provided in IrMC phase 2 specification

1

Infrared Universal Translator For High-Speed Radio

Version 1.0 Draft

Figure 1-1 shows the infrared data transmission services that will be provided by phase 2 IrMC specification. As the figure shows, phase2 IrMC can handle real-time applications such as TV conference through the ISDN network. Of course, applications supported by the phase 1 IrMC, such as IrOBEX, IrCOMM, etc., should be supported in this phase.

In order to ensure real-time data transmission, devices should continue to send / receive infrared data frame at the beginning of every fixed cycle. During a cycle, no data from other applications can be transmitted because doing so would change the period of the cycle. However, this restriction is not practical as capability to transmit non-real-time data, such as vCard, during the real-time data transmission. To cope with such a situation, one can define a function that combines the data of every application into a single frame.

Figure 1-2 shows the practical implementation of the IrUT layer; the IrUT layer fits on top of the IrDA protocol stack. As shown by the solid line, not only real-time applications, but also the data issued by the phase 1 IrMC applications (IrOBEX and IrCOMM), can be wrapped together into the same IrUT frame. Combines these applications, in this way, ensures compatibility with phase 1 IrMC devices. Of course, such data can be transmitted directly to the TinyTP layer, without going through IrUT layer (This case is shown by the broken line.)

TV

Data

.......

Web

vCard/

Conference +Control

 

Access

vCalender

ISDN

W-CDMA .......

IrCOMM

OBEX

IrUT

 

 

 

 

 

 

Tiny TP

 

IAS

 

 

 

 

 

 

IrLMP

IrLAP

IrPHY

The case of multi-application transmission through IrUT layer.

The case of existing IrDA application transmission without IrUT layer.

Figure 1-2

Protocol stack

2

Соседние файлы в предмете Электротехника