logo资料库

高通AT命令文档.pdf

第1页 / 共78页
第2页 / 共78页
第3页 / 共78页
第4页 / 共78页
第5页 / 共78页
第6页 / 共78页
第7页 / 共78页
第8页 / 共78页
资料共78页,剩余部分请下载后查看
AT Command Set in AMSS
Contents
Figures
Tables
1 Introduction
1.1 Purpose
1.2 Scope
1.3 Conventions
1.4 Revision history
1.5 References
1.6 Technical assistance
1.7 Acronyms
2 AT Command Support
2.1 AT command set
2.2 DTE-TA/DCE interface commands
2.2.1 General commands
2.2.1.1 Basic commands
2.2.1.2 UMTS general commands
2.2.1.3 ITU-T V.25ter generic DCE control commands
2.2.1.4 PCCA STD-101 commands
2.2.2 Call control commands
2.2.2.1 UMTS call control commands
2.2.2.2 ITU-T V.25ter call control commands
2.2.2.3 ITU-T V.25ter data compression commands
2.2.3 Network service-related commands
2.2.4 Mobile equipment commands
2.2.5 UMTS packet domain commands
2.2.5.1 UMTS-specific packet domain commands
2.2.5.2 Packet domain modem compatibility commands
2.2.6 SMS commands
2.2.7 Vendor-specific commands
2.2.8 FAX commands
2.2.9 Synchronous Data mode commands
3 AT Command Processor
3.1 ATCoP and related source files
3.2 ATCoP overview
3.2.1 General architecture and control flow
3.2.2 SIO data preprocessor
3.2.3 AT command parser
3.2.4 AT command processor
3.2.4.1 Aborting AT commands
3.2.4.2 Asynchronous event handling
3.2.4.3 AT command response generator
3.2.4.4 AT command tables and command processing functionality
3.2.4.5 ATCoP command tables
3.2.4.6 Command table structure
3.2.5 Command table entry
3.2.5.1 dsati_cmd_type
3.2.5.2 dflm_type
3.2.5.3 def_list_type
3.2.5.4 mixed_def_s_type and dsat_mixed_param_val_type
3.2.5.5 tokens_struct_type
3.2.6 Command tables
3.3 ATCoP asynchronous event handler tables
3.3.1 Asynchronous event handler table structure
3.3.2 Asynchronous event table entry
3.3.2.1 dsati_async_event_table_entry_type
3.3.2.2 dsati_async_event_handler_type
3.3.3 Asynchronous event handler table
3.4 Adding a new AT command
3.4.1 Adding a new asynchronous AT command
A List of Unsupported Commands
AT Command Set in AMSS Application Note 80-VF696-1 B July 10, 2008 Submit technical questions at: https://support.cdmatech.com 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m Qualcomm Confidential and Proprietary Restricted Distribution. Not to be distributed to anyone who is not an employee of either Qualcomm or a subsidiary of Qualcomm without the express approval of Qualcomm’s Configuration Management. Not to be used, copied, reproduced in whole or in part, nor its contents revealed in any manner to others without the express written permission of Qualcomm. Qualcomm reserves the right to make changes to the product(s) or information contained herein without notice. No liability is assumed for any damages arising directly or indirectly by their use or application. The information provided in this document is provided on an “as is” basis. This document contains Qualcomm confidential and proprietary information and must be shredded when discarded. QUALCOMM is a registered trademark of QUALCOMM Incorporated in the United States and may be registered in other countries. Other product and brand names may be trademarks or registered trademarks of their respective owners. CDMA2000 is a registered certification mark of the Telecommunications Industry Association, used under license. ARM is a registered trademark of ARM Limited. QDSP is a registered trademark of QUALCOMM Incorporated in the United States and other countries. This technical data may be subject to U.S. and international export, re-export, or transfer (“export”) laws. Diversion contrary to U.S. and international law is strictly prohibited. QUALCOMM Incorporated 5775 Morehouse Drive San Diego, CA 92121-1714 U.S.A. Copyright © 2007-2008 QUALCOMM Incorporated. All rights reserved.
Contents 1 Introduction...................................................................................................... 6 1.1 Purpose................................................................................................................................ 6 1.2 Scope ................................................................................................................................... 6 1.3 Conventions......................................................................................................................... 6 1.4 Revision history................................................................................................................... 6 1.5 References ........................................................................................................................... 7 1.6 Technical assistance ............................................................................................................ 7 1.7 Acronyms ............................................................................................................................ 7 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m 2 AT Command Support .................................................................................... 8 2.1 AT command set ................................................................................................................. 8 2.2 DTE-TA/DCE interface commands .................................................................................... 9 2.2.1 General commands ............................................................................................... 11 2.2.1.1 Basic commands ...................................................................................... 11 2.2.1.2 UMTS general commands ....................................................................... 11 2.2.1.3 ITU-T V.25ter generic DCE control commands...................................... 12 2.2.1.4 PCCA STD-101 commands..................................................................... 13 2.2.2 Call control commands......................................................................................... 14 2.2.2.1 UMTS call control commands................................................................. 14 2.2.2.2 ITU-T V.25ter call control commands..................................................... 18 2.2.2.3 ITU-T V.25ter data compression commands........................................... 20 2.2.3 Network service-related commands ..................................................................... 20 2.2.4 Mobile equipment commands............................................................................... 24 2.2.5 UMTS packet domain commands ........................................................................ 26 2.2.5.1 UMTS-specific packet domain commands.............................................. 26 2.2.5.2 Packet domain modem compatibility commands .................................... 32 2.2.6 SMS commands.................................................................................................... 33 2.2.7 Vendor-specific commands .................................................................................. 35 2.2.8 FAX commands.................................................................................................... 38 2.2.9 Synchronous Data mode commands..................................................................... 40 3 AT Command Processor............................................................................... 41 3.1 ATCoP and related source files......................................................................................... 41 3.2 ATCoP overview............................................................................................................... 43 3.2.1 General architecture and control flow .................................................................. 44 3.2.2 SIO data preprocessor........................................................................................... 47 80-VF696-1 B MAY CONTAIN U.S. EXPORT CONTROLLED INFORMATION 3 Qualcomm Confidential and Proprietary
AT Command Set in AMSS Contents 3.2.3 AT command parser ............................................................................................. 47 3.2.4 AT command processor........................................................................................ 47 3.2.4.1 Aborting AT commands .......................................................................... 48 3.2.4.2 Asynchronous event handling.................................................................. 48 3.2.4.3 AT command response generator ............................................................ 49 3.2.4.4 AT command tables and command processing functionality .................. 49 3.2.4.5 ATCoP command tables .......................................................................... 49 3.2.4.6 Command table structure......................................................................... 50 3.2.5 Command table entry............................................................................................ 51 3.2.5.1 dsati_cmd_type ........................................................................................ 51 3.2.5.2 dflm_type................................................................................................. 57 3.2.5.3 def_list_type............................................................................................. 58 3.2.5.4 mixed_def_s_type and dsat_mixed_param_val_type .............................. 59 3.2.5.5 tokens_struct_type ................................................................................... 63 3.2.6 Command tables ................................................................................................... 64 3.3 ATCoP asynchronous event handler tables....................................................................... 65 3.3.1 Asynchronous event handler table structure......................................................... 65 3.3.2 Asynchronous event table entry............................................................................ 65 3.3.2.1 dsati_async_event_table_entry_type ....................................................... 66 3.3.2.2 dsati_async_event_handler_type ............................................................. 66 3.3.3 Asynchronous event handler table........................................................................ 67 3.4 Adding a new AT command.............................................................................................. 67 3.4.1 Adding a new asynchronous AT command.......................................................... 71 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m A List of Unsupported Commands ................................................................. 77 80-VF696-1 B MAY CONTAIN U.S. EXPORT CONTROLLED INFORMATION 4 Qualcomm Confidential and Proprietary
AT Command Set in AMSS Contents Figures Figure 3-1 Basic ATCoP architecture and data flow .................................................................... 45 Figure 3-2 Control flow for AT commands processing................................................................ 46 Figure 3-3 AT command table structure....................................................................................... 50 Figure 3-4 Relationship between command data structures ......................................................... 56 Figure 3-5 Asynchronous event handler table structure ............................................................... 65 Tables Table 1-1 Revision history.............................................................................................................. 6 Table 1-2 Reference documents and standards............................................................................... 7 Table 2-1 Column headings............................................................................................................ 8 Table 2-2 ITU-T V.25ter DTE-DCE interface commands ............................................................. 9 Table 2-3 Basic commands........................................................................................................... 11 Table 2-4 UMTS general commands............................................................................................ 11 Table 2-5 ITU-T V.25ter generic DCE control commands .......................................................... 12 Table 2-6 PCCA STD-101 commands.......................................................................................... 13 Table 2-7 UMTS call control commands..................................................................................... 14 Table 2-8 ITU-T V.25ter call control commands ......................................................................... 18 Table 2-9 ITU-T V.25ter data compression commands................................................................ 20 Table 2-10 Network service-related commands ........................................................................... 20 Table 2-11 Mobile equipment commands .................................................................................... 24 Table 2-12 UMTS specific packet domain commands................................................................. 26 Table 2-13 Packet domain modem compatibility commands....................................................... 32 Table 2-14 SMS text and PDU mode commands ......................................................................... 33 Table 2-15 Vendor-specific commands ........................................................................................ 35 Table 2-16 FAX ITU-T T.31 commands for GSM....................................................................... 38 Table 2-17 ITU-T V.80ter Synchronous Data mode commands .................................................. 40 Table 3-1 AT command processor source files ............................................................................ 41 Table 3-2 Data services task source files...................................................................................... 43 Table 3-3 AT command attributes ................................................................................................ 52 Table 3-4 Mode argument............................................................................................................. 54 Table 3-5 Execution function return values................................................................................. 54 Table 3-6 Command syntax flags ................................................................................................. 63 Table 3-7 Command categories .................................................................................................... 64 Table 3-8 Asynchronous event handler function return values .................................................... 67 Table A-1 List of unsupported commands.................................................................................... 77 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m 80-VF696-1 B MAY CONTAIN U.S. EXPORT CONTROLLED INFORMATION 5 Qualcomm Confidential and Proprietary
1 Introduction 1.1 Purpose 1 2 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 This document specifies the AT command set for all Qualcomm Universal Mobile Telecommunications Systems (UMTS) chipsets. It groups AT commands into several categories. Each category identifies all AT commands applicable to that category, specifies supported targets, and describes the applicable mode. Information in this document is preliminary and subject to change and does not represent a commitment on the part of QUALCOMM Incorporated. NOTE 8 1.2 Scope 1.3 Conventions 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m This document provides a description of the AT commands that will be supported in the various Qualcomm UMTS chipsets. This document is intended for those who are interested in using the AT commands. Function declarations, function names, type declarations, and code samples appear in a different font, e.g., #include. 1.4 Revision history The revision history for this document is shown in Table 1-1. Table 1-1 Revision history Version A B Date Jun 2007 Jul 2008 Description Initial release Updated Table 2-2, Table 2-5, Table 2-8, Table 2-10, Table 2-12, Table 2-14, Table 2-15 and Appendix; added Table 2-6 and Chapter 3 80-VF696-1 B MAY CONTAIN U.S. EXPORT CONTROLLED INFORMATION 6 Qualcomm Confidential and Proprietary
1 2 3 4 5 6 7 8 9 10 11 12 13 AT Command Set in AMSS Introduction 1.5 References Reference documents, which may include QUALCOMM®, standards, and resource documents, are listed in Table 1-2. Reference documents that are no longer applicable are deleted from this table; therefore, reference numbers may not be sequential. Table 1-2 Reference documents and standards Document Ref. QUALCOMM Q1 Standards S1 S2 S3 S4 S5 S6 Application Note: Software Glossary for Customers AT command set for 3GPP User Equipment (UE) Equipment (DTE - DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS) Serial Asynchronous Automatic Dialing and Control Data Transmission Systems and Equipment — Serial Asynchronous Automatic Dialing and Control for Character Mode DCE on Wireless Data Services In-band DCE control and synchronous data modes for asynchronous DTE Asynchronous Facsimile DCE Control, Service Class I 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m CL93-V3077-1 3GPP TS 27.007 (Release 4) 3GPP TS 27.005 (Release 7) ITU-T V.25ter (Jul 1997) PCCA STD-101 (Jun 1995) ITU-T V.80 (Aug 1996) ITU-T T.31 (Aug 1995) 1.6 Technical assistance For assistance or clarification on information in this guide, submit a Service Request to Qualcomm CDMA Technologies at https://support.cdmatech.com/. If you do not have access to the CDMATech Support Service Requests site, you may send email to support.cdmatech@qualcomm.com. 1.7 Acronyms For definitions of terms and abbreviations, refer to [Q1] 80-VF696-1 B MAY CONTAIN U.S. EXPORT CONTROLLED INFORMATION 7 Qualcomm Confidential and Proprietary
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 AT Command Support The following categories of AT commands shall be supported for UMTS: DTE-TA interface General Call control Network service-related Mobile equipment UMTS packet domain Short Message Service (SMS) Vendor-specific FAX Synchronous Data mode The TA/DCE shall only accept AT commands at one fixed data rate. Automatic baud rate detection shall not be supported. 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m 2.1 AT command set Specific AT commands for each category of supported commands are defined in the remaining sections of this document. Each section contains tables listing all AT commands applicable to that category of command. The tables contain several column headings defining the AT command. A description of these column headings is given in Table 2-1. Table 2-1 Column headings Heading Command Description 3GPP TS 27.007 or 3G TS 27.005 or ITU-T T.31 requirement Explanation Description Defines the AT command name in its ASCII character string format Short explanation of the command and its values ETSI requirement column specifies whether the AT command set specifications classify the command as: Mandatory Optional Not applicable (N/A) Provides insight into the reasoning behind the implementation 80-VF696-1 B MAY CONTAIN U.S. EXPORT CONTROLLED INFORMATION 8 Qualcomm Confidential and Proprietary
AT Command Set in AMSS AT Command Support Heading Supported targets Applicable mode Description “All” indicates MSM6250®, MSM6275™, MSM6260™, MSM6245™, MSM6280™, MSM6290™, MSM6246™, MSM6240™, MSM6270™, MSM7200™, MSM7200A™ and MSM7225™ ASICs; if the command is not supported in a particular target/release, it is indicated as “All except rel x” Specifies which modes the AT command works in: WCDMA and GSM GSM only WCDMA only Not applicable (N/A) 2.2 DTE-TA/DCE interface commands For UMTS, support the DTE-TA/DCE interface commands as indicated in Table 2-2. Command support shall be as specified in [S1] and [S3]. 1 2 3 4 5 NOTE The following table has been updated. Table 2-2 ITU-T V.25ter DTE-DCE interface commands 2010.04.07 at 17:52:12 P DT zhanghua-grcd m a.co m requirement Mandatory 3GPP TS 27.007 Mandatory Mandatory Description Explanation Command S3 S4 S5 E Q V X Command line termination character; values per specifications Response formatting character; values per specifications Command line editing character; values per specifications Command echo; values per specifications Result code suppression; values per specifications DCE response format; values per specifications Result code selection and call progress monitoring control; values per specifications &C Circuit 109 DCE RLSD (DCD) behavior; values per specifications Circuit 108 DTE DTR behavior; values per specifications &D Supported targets Applicable mode All All All All All All All All All WCDMA and GSM WCDMA and GSM WCDMA and GSM WCDMA and GSM WCDMA and GSM WCDMA and GSM WCDMA and GSM WCDMA and GSM WCDMA and GSM Mandatory Mandatory Mandatory Mandatory Mandatory Mandatory Currently, data rates display supported only for CS data &C2 is a QUALCOMM implementation 80-VF696-1 B MAY CONTAIN U.S. EXPORT CONTROLLED INFORMATION 9 Qualcomm Confidential and Proprietary
分享到:
收藏