1、 International Telecommunication Union ITU-T V.254TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (09/2010) SERIES V: DATA COMMUNICATION OVER THE TELEPHONE NETWORK Control procedures Asynchronous serial command interface for assistive and multi-functional communication devices Recommendation ITU-T V
2、.254 ITU-T V-SERIES RECOMMENDATIONS DATA COMMUNICATION OVER THE TELEPHONE NETWORK General V.1V.9 Interfaces and voiceband modems V.10V.34 Wideband modems V.35V.39 Error control V.40V.49 Transmission quality and maintenance V.50V.59 Simultaneous transmission of data and other signals V.60V.99 Interwo
3、rking with other networks V.100V.199 Interface layer specifications for data communication V.200V.249 Control procedures V.250V.299Modems on digital circuits V.300V.399 For further details, please refer to the list of ITU-T Recommendations. Rec. ITU-T V.254 (09/2010) i Recommendation ITU-T V.254 Asy
4、nchronous serial command interface for assistive and multi-functional communication devices Summary Recommendation ITU-T V.254 is applicable to the interconnection of multi-functional communication devices (such as mobile phones) with devices intended to provide assistive capabilities for those comm
5、unication devices. It defines a range of serial binary commands that comply to the format and general rules of Recommendation ITU-T V.250 via a range of suitable interfaces. History Edition Recommendation Approval Study Group 1.0 ITU-T V.254 2010-09-13 16 ii Rec. ITU-T V.254 (09/2010) FOREWORD The I
6、nternational Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical
7、, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in t
8、urn, produce Recommendations on these topics. The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. In some areas of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. NO
9、TE In this Recommendation, the expression “Administration“ is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure,
10、 e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words “shall“ or some other obligatory language such as “must“ and the negative equivalents are used to express requirements. The use of such words does no
11、t suggest that compliance with the Recommendation is required of any party. INTELLECTUAL PROPERTY RIGHTS ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning th
12、e evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, w
13、hich may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at http:/www.itu.int/ITU-T/ipr/. ITU 2011 All rights reserved. No part of this publication
14、 may be reproduced, by any means whatsoever, without the prior written permission of ITU. Rec. ITU-T V.254 (09/2010) iii CONTENTS Page 1 Scope 1 2 References. 1 3 Definitions 1 3.1 Terms defined elsewhere 1 3.2 Terms defined in this Recommendation . 1 4 Abbreviations and acronyms 2 5 Conventions on
15、error codes 2 6 Assistive device commands 2 6.1 Calendar 2 6.2 Modify display parameters . 3 6.3 Cursor control . 4 6.4 Menu . 6 6.5 Screen . 8 6.6 Speech-to-text . 8 6.7 Text telephony 9 6.8 Text-to-speech 10 6.9 Time-out . 11 6.10 Volume . 11 Appendix I Mobile device functionality and their comman
16、ds 13 Bibliography. 16 Rec. ITU-T V.254 (09/2010) 1 Recommendation ITU-T V.254 Asynchronous serial command interface for assistive and multi-functional communication devices 1 Scope This Recommendation builds upon the current asynchronous DCE control in ITU-T V.250 to include command protocols that
17、support the interfacing of assistive controlling devices with communication devices over a range of suitable serial binary data interfaces. 2 References The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Re
18、commendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other ref
19、erences listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. ITU-T V.250 Recommendation ITU-T V.250 (2003), Serial asynchronous aut
20、omatic dialling and control. ETSI TS 127 007 ETSI TS 127 007 V9.4.0 (2010), Digital cellular telecommunications system (Phase 2+);Universal Mobile Telecommunications System (UMTS); LTE; AT command set for User Equipment (UE). ISO 639-1 ISO 639-1 (2002), Codes for the representation of names of langu
21、ages Part 1: Alpha-2 code. ISO 639-2 ISO 639-2 (1998), Codes for the representation of names of languages Part 2: Alpha-3 code. ISO/IEC 24751-2 ISO/IEC 24751-2 (2008), Information technology - Individualized adaptability and accessibility in e-learning, education and training Part 2: “Access for all
22、“ personal needs and preferences for digital delivery. 3 Definitions 3.1 Terms defined elsewhere None. 3.2 Terms defined in this Recommendation This Recommendation defines the following terms: 3.2.1 assistive technology device: Device used by a person with disabilities to prevent, compensate, reliev
23、e or neutralize any resulting handicap and that has the ability to interface to an ICT device. NOTE The term “external device“ is used for either a mobile external device or an assistive technology device. 3.2.2 object exchange protocol: Protocol for the exchange of data objects between devices. 2 R
24、ec. ITU-T V.254 (09/2010) 4 Abbreviations and acronyms This Recommendation uses the following abbreviations and acronyms: AT Attention IrDA Infrared Data Association MMS Multimedia Messaging Service OBEX Object Exchange SMS Short Message Service USB Universal Serial Bus 5 Conventions on error codes
25、Refer to clause 9.2 of ETSI TS 127 007 for general information on the use of error codes in assistive devices. 6 Assistive device commands Some communication devices provide users with a variety of applications (e.g., games, navigation and location tracking, photograph manipulation, currency convers
26、ion) either built-in when purchased, or added later. The use of application functionality at a content and information level is beyond the scope of this Recommendation, but all applications should provide input, output and control functionality that is usable by all users. The following clauses defi
27、ne ITU-T V.250-like commands that allow assistive devices to interact with multi-functional communication devices over a serial binary data interface. 6.1 Calendar The following sets of commands allow users to be able to use a calendar function on a multi-functional communication device, including r
28、eading and writing calendar objects. 6.1.1 Read vCalendar Execute syntax: +CCALR=, Description: This command causes the reading of vCalendar information within the parameters specified. The results are the vCalendar objects between the , and . There can be any number of calendar objects. Defined val
29、ues: None. Result codes: , OK +CCALR ERROR: Read syntax: Same as the Execute syntax. Test syntax: +CCALR=? If the functionality is supported, the response is , Implementation: Calendar information is transferred using the vCalendar format. Rec. ITU-T V.254 (09/2010) 3 6.1.2 Write vCalendar Execute s
30、yntax: +CCALW= Description: The +CCALW command writes vCalendar objects. Defined values: : vCalendar exchange format. Result codes: +CCALW: OK +CCALW: ERROR: Read syntax: None. Test syntax: +CCALW=? Implementation: Calendar information is transferred using the vCalendar format. 6.2 Modify display pa
31、rameters The following command set supports the reading and modification of a display appearance. This includes character and background colour, and the font size. 6.2.1 Read or write current font colour Execute syntax: +CFCLR=, Description: The +CFCLR command sets font/text colours of a visual disp
32、lay. Defined values: : The value of the red colour component, in the range 0255: The value of the green colour component, in the range 0255: The value of the blue colour component, in the range 0255 Result codes: +CFCLR: OK +CFCLR ERROR: Read syntax: +CFCLR? The receiving device shall transmit one o
33、r two strings of information text to the assistive device, consisting of: +CFCLR:, Test syntax: +CFCLR=? Response consists of three integers in the range 0255 representing the , , colour components 6.2.2 Read and modify font size Execute syntax: +CFSZ= Description: The +CFSZ command allows an assist
34、ive device to read and modify the font size of characters used on display of a multi-functional communication device. Defined values: is the preferred font size in pixels. The maximum value of depends of the capability of the device. Result codes: +CFSZ: OK +CFSZ ERROR: 4 Rec. ITU-T V.254 (09/2010)
35、Read syntax: +CFSZ? The response to this query is the current font size of the text being displayed on the communication device. +CFSZ: where is from 1 - Max . Test syntax: +CFSZ=? 6.2.3 Read or modify background colour Execute syntax: +CBKG=, Description: The +CBKG command sets the background colou
36、rs of the display of a multi-functional communication device. Defined values: : The value of the colour red, in the range 0255: The value of the colour green, in the range 0255: The value of the colour blue, in the range 0255 Result codes: +CBKG: OK +CBKG ERROR: Read syntax: +CBKG? The response to t
37、his query is the current background colour set of the display of the communication device: +CBKG=, Test syntax: +CBKG=? 6.3 Cursor control Mobility-impaired users may need alternative pointing devices to control the on-screen cursor/pointer. The user shall be able to make a click on a specific coord
38、inate X, Y. The clicks can be various numbers such as single click or double click. Clicks can be done with various buttons, so the buttons being used for the click may also be defined. 6.3.1 Pointing device click Execute syntax: +CCLIK=, Description: This command provides the option to click on a s
39、pecific coordinate X, Y with alternative pointing devices. The clicks can be various numbers such as for single click or double click. Defined values: : Integer representing the coordinate in the x-direction. : Integer representing the coordinate in the y-direction. : Number of clicks. Defines what
40、button is used for the click. Result codes: +CCLIK: OK +CCLIK ERROR: Read syntax: +CCLIK? The response to this command is Rec. ITU-T V.254 (09/2010) 5 Test syntax: +CCLIK=? The response to this command is the following string: Max , Max , Max , Max 6.3.2 Pointing device move Execute syntax: +CMOV=,
41、Description: This command allows the user to be able to move the cursor to a specific coordinate X, Y. This command can be used several times in order to show the motion. Defined values: : Integer representing the coordinate in the x-direction. : Integer representing the coordinate in the y-directio
42、n. Result codes: +CMOV: OK +CMOV ERROR: Read syntax: +CMOV? OK Test syntax: +CMOV=? The response to this command is the following string: Max , Max 6.3.3 Pointing device drag Execute syntax: +CDRG=, Description: The user shall be able to drag something with the cursor to a specific coordinate X, Y.
43、This command can be used several times in order to show the motion. Defined values: is an integer representing the coordinate in the x-direction. The value range is 0Max, where Max depends on the device capability. is an integer representing the coordinate in the y-direction, with a value in the ran
44、ge 0Max. is an integer value that represents the status of the drag operation: 0 Start Drag 1 Move Drag 2 Release Drag 9 No Drag (Cancelling of the drag operation, e.g., by pressing ESC) Result codes: +CDRG: OK +CDRG ERROR: Read syntax: +CDRG? OK Test syntax: +CDRG=? The response to this command is
45、the following string: Max , Max , 6 Rec. ITU-T V.254 (09/2010) Example: The following illustrates an example sequence of commands (in the order listed below): AT+CDRG=27, 39, 0 (27 is X coordinate, 39 is Y coordinate and 0 is Start Drag) AT+CDRG=30, 42, 1 AT+CDRG=35, 47, 1 AT+CDRG=40, 52, 1 AT+CDRG=
46、45, 57, 1 AT+CDRG=50, 62, 2 (50 is X coordinate, 62 is Y coordinate and 2 is Release Drag) 6.4 Menu The purpose of the functionality for this set of commands is to the means to customize and provide menus that suit user needs. NOTE Several menus could have the same name, therefore it is necessary th
47、at menus have a unique numeric identifier. 6.4.1 Notification of menu changes Execute syntax: +CMEN= Description: Set command controls the presentation of an unsolicited result code +CMEN: , , , , , Each time there is a change in the menu on the mobile, the unsolicited result code is transmitted to
48、the external device. : Integer defining the unique identifier of the menu. : Text string. : Integer indicating which of the menu items is highlighted. The menu items are numbered from 1 to N. The value 0 indicates that no item is highlighted. consists of the following: = ,: text string : 0 normal it
49、em (in plain text) 1 radio button 2 checkbox : 0 not ticked 1 ticked NOTE 1 The is only relevant when the is a radio button or checkbox. Rec. ITU-T V.254 (09/2010) 7 NOTE 2 Menus can be displayed as a list of items or as a set of icons on the multi-functional communication device. However, the logical representation will remain as defined in the present clauses. Examples: 1) “Main menu“, “Phone book“, “text“, “, “Messaging“, “text“, “, etc. 2) “Ask to save“, “On“, “radio“, “unselected“, “Off“, “radio“, “selected“ Defined value