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

IrREADY IrModem profile V1

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

Infrared Data Association

IrREADY

Serial Port Profile

And

IrModem Profile (With Test Profile)

Version 1.0

Jan 7th 2002

Nokia

Link Evolution

NTT

i

Author:

James Scales,

James.scales@nmp.nokia.com (IrMC Interlop WG, Nokia Mobile Phones)

Gontaro Kitazumi,

gontaro.kitazumi@LinkEvoluton.co.jp (Link Evolution Corp.)

Contributors:

James Scales,

James.scales@nmp.nokia.com (IrMC Interlop WG, Nokia Mobile Phones)

Stephane Bouet,

stephane.bouet@nokia.com (Nokia)

Editor:

Gontaro Kitazumi,

gontaro.kitazumi@LinkEvoluton.co.jp (Link Evolution Corp.)

James Scales,

James.scales@nmp.nokia.com (IrMC Interlop WG, Nokia Mobile Phones)

Stephane Bouet

stephane.bouet@nokia.com (Nokia)

Special thanks:

Kenichiro Shimokura

NTT

Prof. Matsumoto

Waseda University

Document Status:

Version 0.1: Initial draft.

Version 0.2: Various corrections to take IrTA into account.

Version 0.9: Combine Original Serial port profile, IrModem profile and IrTA Profile. Directional and Draft Voting version

Version 1.0: Final Voting version

ii

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 nonmembers 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 good standing 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 LICENSE ONLY. 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.

iii

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 (wordmark alone and with IR logo), IrDA (acronym mark alone and with IR logo), IR logo, IR DATA CERTIFIED (composite mark), and MEMBER IrDA (wordmark alone and with IR logo). Any unauthorized use of IrDA trademarks is strictly prohibited.

2.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 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:

iv

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.

v

IrREADY Serial Port Profile / IrModem Profile Draft Version 0.9

Table of Contents

1 INTRODUCTION ................................................................................................................................

3

1.1

Symbols and Conventions ..............................................................................................................

3

1.2

General IrDA References ...............................................................................................................

3

1.3

Profile specific references ..............................................................................................................

3

2

IR SERIAL PORT PROFILE OVERVIEW .....................................................................................

4

 

2.1

Configuration and Roles.................................................................................................................

4

 

2.2

User Scenarios................................................................................................................................

4

 

2.3

Protocol Stack.................................................................................................................................

5

 

2.4

Conformance ..................................................................................................................................

5

3

APPLICATION LAYER .....................................................................................................................

6

4

IRCOMM INTEROPERABILITY REQUIREMENTS...................................................................

7

 

4.1

Service Types .................................................................................................................................

7

 

4.2

Service Interface.............................................................................................................................

7

 

4.3

Control Parameters .........................................................................................................................

7

 

4.3.1

 

Packet size considerations ......................................................................................................

7

 

4.3.2 Service Type Control parameter.............................................................................................

8

 

4.3.3 Port Communication Settings parameters...............................................................................

8

 

4.3.3.1

At connection establishment:..............................................................................................

8

 

4.3.3.2

During data transfer:...........................................................................................................

8

 

4.3.4

 

V.24 Control Parameters ........................................................................................................

8

 

4.3.4.1

At connection establishment...............................................................................................

8

5

IRDA LOW LEVEL LAYER REQUIREMENTS............................................................................

9

 

5.1

Physical Layer ................................................................................................................................

9

 

5.2

IrLAP..............................................................................................................................................

9

 

5.3

IrLMP / Tiny-TP Requirements .....................................................................................................

9

 

5.3.1

 

Discovering DevB ..................................................................................................................

9

 

5.3.2 Establishing a Tiny TP Connection ........................................................................................

9

 

5.4

IAS Requirements ..........................................................................................................................

9

6

IR MODEM PROFILE OVERVIEW ..............................................................................................

11

 

6.1

In Case of Generic Cell Phone or Modems ..................................................................................

11

 

6.2

In Case of Terminal Adapters.......................................................................................................

11

 

6.3

Configuration and Roles...............................................................................................................

11

 

6.4

User Scenarios..............................................................................................................................

12

 

6.5

Protocol Stack...............................................................................................................................

12

 

6.5.1 In Case of Generic Cell Phone or Modems ..........................................................................

12

 

6.5.2 In Case of Generic Cell Phone or Modems ..........................................................................

13

 

6.6

Conformance ................................................................................................................................

14

7

APPLICATION LAYER ...................................................................................................................

15

8

DIALING AND CONTROL INTEROPERABILITY REQUIREMENTS ..................................

16

 

8.1

AT Command set used .................................................................................................................

16

 

8.2

Result codes..................................................................................................................................

17

9

SERIAL PORT PROFILE REQUIREMENTS...............................................................................

18

 

9.1

In case of Cell Phone or Modem ..................................................................................................

18

i

IrREADY Serial Port Profile / IrModem Profile

Draft Version 0.9

9.2

In case of Terminal Adapter .........................................................................................................

18

9.3

Communication settings negotiation ............................................................................................

18

9.4

Flow control requirements............................................................................................................

18

9.4.1

Incase of Cell Phone or Generic Modem..............................................................................

18

9.4.2

Incase of Terminal Adapter ..................................................................................................

19

9.5

Network disconnect......................................................................................................................

19

9.6

IAS Requirements ........................................................................................................................

19

10

TEST GUIDELINE........................................................................................................................

20

10.1

Introduction of tests......................................................................................................................

20

10.1.1

Purpose .................................................................................................................................

20

10.1.2

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

20

 

10.1.2.1

Serial Port Test Scope...................................................................................................

20

10.1.3

Device Types ........................................................................................................................

20

10.2

Environment .................................................................................................................................

20

10.2.1

Hardware ..............................................................................................................................

20

10.2.2

Software................................................................................................................................

21

10.2.3

Typical Test Environment ....................................................................................................

21

 

10.2.3.1

Type-1 Device Test Environment.................................................................................

21

 

10.2.3.2

Type-2 Device Test Environment.................................................................................

21

10.3

Overview Compliance Tests.........................................................................................................

21

10.3.1

What Tests Apply to Your Product? ....................................................................................

21

 

10.3.1.1

GW / Initiator/Responder .............................................................................................

21

 

10.3.1.2

IrModem Protocol Levels............................................................................................

22

10.3.2

General Test Steps................................................................................................................

22

10.4 IrModem Application Tests over IrCOMM .................................................................................

22

10.4.1

Test Sequence.......................................................................................................................

22

 

10.4.1.1

V.25 ter Command Test................................................................................................

23

11

TEST RESULT TEMPLATE........................................................................................................

24

ii

IrREADY Serial Port Profile / IrModem Profile

Draft Version 0.9

1 INTRODUCTION

1.1 Symbols and Conventions

The application profile must use the following scheme to define the support for individual features. The following symbols are used:

M

Mandatory support. Refers to capabilities that shall be used in the profile.

O

Optional support. Refers to capabilities that can be used in the profile.

C

Conditional support. Refers to capabilities that shall be used in when certain other capabilities

 

are also used.

X

Excluded. Refers to capabilities that may be supported by the device but shall never be used

 

in this profile.

N/A

Not applicable in the given context. It is impossible to use this capability.

Some excluded capabilities are capabilities that, according to the relevant IrDA specification, are mandatory. These are features that may degrade operation of devices following this profile. Therefore, these features shall never be activated while a device is operating as a device within this profile.

1.2 General IrDA References

[IrLAP]

Serial Infrared Link Access Protocol, IrLAP, Version 1.1, Infrared Data

 

Association

[IrLMP]

Link Management Protocol, IrLMP, Version 1.1, Infrared Data Association

 

 

[IrPHY]

Serial Infrared Physical Layer Link Specification, IrPHY, Version 1.3, Infrared

 

Data Association

[TINYTP]

Tiny TP: A Flow Control Mechanism for use with IrLMP, Version 1.1, Infrared

 

Data Association

[LITE]

Minimal IrDA Protocol Implementation, IrDA Lite, Version 1.0, Infrared Data

 

Association

[IrCOMM]

IrDA; Serial and Parallel Port Emulation over IR (Wire Replacement) Version 1.0,

 

November 7, 1995

[IrCOMM Test]

IrCOMM Compliance Tests, Infrared Data Version 1.0 March 12th, 1999

[IrMC]

IrMC (IR Mobile Communications) Specification, Version 1.1, February 1999,

 

Infrared Data Association.

1.3 Profile specific references

[RS232]

EIA/TIA-232-F Interface between Data Terminal Equipment and Data Circuit-

 

Terminating Equipment Employing Serial Binary Data Interchange

 

 

[V24]

ITU-T V.24: List of Definitions for Interchange Circuits Between Data Terminal

 

Equipment and Data Circuit Terminating Equipment.

[V250]

Series V - Data communication over the telephone network Control procedures

 

Serial asynchronous automatic dialing and control

 

Published as V.25 ter (07/97), renumbered in February 98

[V110]

ITU-T recommendation V110 – Support of data terminal equipment (DTEs) with V-

 

series type interfaces by an integrated services digital network (ISDN)

[GSM0707]

ETS 300 642 - AT Command Set for GSM Mobile Equipment - September 1996

[PnP]

IrDA Plug and Play Extensions to Link Management Protocol

3

IrREADY Serial Port Profile / IrModem Profile

Draft Version 0.9

2 IR SERIAL PORT PROFILE OVERVIEW

2.1 Configuration and Roles

Emulated Serial Link

DevB

DevA

User Data

Control Signalling

Data terminal

Terminal

Adapter +

Gateway

Figure 1 IrDA Dial Up example between a mobile phone and a laptop PC / PDA

The typical usage model of Infrared Serial port is described in the Figure 1. Device A (PC or PDA) always does role of Initiator and Device B (ME or TA/GW) always does role of Responder. In NDM, Device B side is waiting for connection from Device A. Device A is configured to DTE side and Device B is configured to DCE side.

 

 

Support in DevA

Support in DevB

1

IrCOMM Initiator

M

N/A

2

IrCOMM Responder

N/A

M

3

DTE Device

M

N/A

4

DCE Device

N/A

M

2.2 User Scenarios

The Ir Serial Port Profile covers the following usage case:

Setting up virtual serial ports (or equivalent) on two devices and connecting these devices with IrDA to emulate a serial cable between the two devices. Any legacy application may run on either of the two devices as if there were a real serial cable connecting the two devices (with RS232 control signals)

The following restrictions apply to this profile:

The profile supports only one connection at a time i.e. point to point configurations

This profile does not provide emulation of [GSM0710]. There is no provision for any multiplexing above the IrDA virtual serial port in this profile.

4

IrREADY Serial Port Profile / IrModem Profile

Draft Version 0.9

2.3 Protocol Stack

Application

Serial Port Emulation

or other API

IrCOMM

Tiny TP

IAS

 

 

IrLMP

IrLAP

IrDA Hardware

Application

Serial Port Emulation

or other API

IrCOMM

Tiny TP

IAS

 

 

IrLMP

IrLAP

IrDA Hardware

DevA

DevB

IrDA Hardware is governed by the [IrPHY]

IrLAP is the link level protocol specified in [IrLAP].

IrLMP is a multiplexing layer specified in [IrLMP]

TinyTP provides flow control and is specified in [TINYTP]

IAS is the Information Access Service specified in [IrLMP]

Virtual Port

Interface

IrCOMM Service

Interface

IrCOMM is the IrDA emulation of RS-232 [232-F] serial ports and the Centronics parallel ports specified in [IrCOMM].

Serial Port Emulation is the entity emulating the serial port or providing an API to applications specified in [IrCOMM Annex ].

Application includes legacy applications that would normally make use of a cable RS232 connection.

2.4 Conformance

If conformance to this profile is claimed, all capabilities indicated mandatory for this profile should be supported in the specified manner. This also applies for all optional and conditional capabilities for which support is indicated. All mandatory capabilities, and optional and conditional capabilities for which support is indicated, are subject to verification as part of the IrReady certification program.

5

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