AT Commands User Manual. Version: VR1.0.9 Date:

Transcription

1 AT Commands User Manual Version: VR1.0.9 Date:

2 Confidential Material This document contains information highly confidential to Fibocom Wireless Inc. (Fibocom). Fibocom offers this information as a service to its customers, to support application and engineering efforts that use the products designed by Fibocom. The information provided is based upon requirements specifically provided to Fibocom by the customers. All specifications supplied herein are subject to change. Disclosure of this information to other parties is prohibited without the written consent of Fibocom. Copyright Transmittal, reproduction, dissemination and/or editing of this document as well as utilization of its contents and communication thereof to others without express authorization are prohibited. Offenders will be held liable for payment of damages. All rights created by patent grant or registration of a utility model or design patent are reserved. Copyright 2013 Fibocom Wireless Inc. All rights reserved. Trademarks Notice The FIBOCOM Logo is registered by Fibocom Wireless Inc. All other product or service names or logos are the property of their respective owners. Copyright 2013 Fibocom Wireless Inc. All rights reserved. Revision History Version Date Remarks V Initial Version V Modify: AT&V/AT&W/ATS24/ATO/AT+CPAS/AT+CLCC/AT+CLCK/AT+CBAUD/AT+IP R/AT+CFUN/ Add: AT+GTGIS/AT+GTSET/AT+GTTS V ,To modify at+cgmm example 2,Modify "D>mem<n>[;]" to "D>"mem"<n>[;]" 3,Modify "+CLCK: ERROR" to "+CLCK: ERROR" 4, Add chapter 15 V , change number type 129 to 161 and 128 to 129 2,Change CDS to ODM 3,Add UART2 configuration 4,Add ERROR CODE 5, Update IPR baud rate AT Commands User Manual Page 2 of 215

11 1 Preface 1.1 Manual Scope This manual introduces the AT command set, and describes how software developers can use these commands to communicate with the device, and to create software applications that communicate with the module using these commands. Note: The integrator should read the corresponding SW release notes for the module version he is using to get information about differences from this manual. 1.2 Target Audience This manual is intended for software developers who communicate with the module using the AT commands, and create applications to communicate with the module using the AT commands. AT Commands User Manual Page 11 of 215

12 2 Introduction to AT Commands 2.1 AT Commands Overview AT commands are sets of commands used for communication with the cellular modem. AT commands are comprised of assemblies of ASCII characters which start with the "AT" prefix (except the commands A/ and +++). The AT prefix is derived from the word Attention, which asks the modem to pay attention to the current request (command). AT commands are used to request services from the cellular modem, such as: Call services: dial, answer and hang up Cellular utilities: send/receive SMS Modem profiles: Auto Answer Cellular Network queries: GSM signal quality 2.2 General System Abbreviations The basic system configuration contains a modem and a terminal. The G5xx/G6xx is the modem and may be referred to as the DCE or TA, such as the phone, the mobile or the radio. The terminal (PC or MCU) may be referred to as the DTE or the TE. 2.3 AT Commands Protocol The AT commands interface is basically a Modem Services upon Request. Communication (almost) always begins from the TE side. This means that any service should be requested from the TE. Thus a request is called a "Command". Each command must be answered by a "Results code" from the TA. The results code reports the command status to the TE. Some commands may include several "Results code" to send data back to the TE. Some commands may initiate a mode in which, when specified events are generated in the G5xx/G6xx, "Indicator" messages are sent data asynchronously. The indicators can be called Unsolicited results code. The G5xx/G6xx can echo characters received from the TE (commands) back to the TE. TE Command TA (G5xx/G6xx) Results code AT Commands User Manual Page 12 of 215

13 TE Command TA (G5xx/G6xx) Results code TE TA (G5xx) Unsolicited results code 2.4 AT Commands Structure General Symbols Used in AT Commands Description The following syntax definitions apply in this chapter: Syntax Definition <CR> <LF> < > Carriage returns character, specified by the value of the S3-register. Line-feed character, specified by the value of the S4-register. Name enclosed in angle brackets is a syntax element. The brackets themselves do not appear in the command line. [...] Optional sub-parameter of a command or an optional part of terminal information response, enclosed in square brackets. The brackets themselves do not appear in the command line. When the sub-parameter is not provided in the parameter type commands, the new value equals its previous value. In action type commands, the action should be performed on the basis of the recommended default setting of the sub-parameter. // Denotes a comment, and should not be included in the command Command Structure Each AT command has the "AT" or at prefix string (except the commands A/ and +++). Each AT command has the suffix <CR> (except the commands A/ and +++). AT Commands User Manual Page 13 of 215

14 AT+CSQ<CR> ATS24?<CR> An AT command line may contain one or more commands. Delimiters are used to separate the commands from each other. The delimiter is either a semicolon ";" or none, meaning space (basic commands). ATS0=1V1Q0E0<CR> AT+IFC=0,0;+ICF=3,4;+CNMI =2,1,0,0,0<CR> Results Code Structure By default, the module responds with verbose response codes. The results code prefix is <CR><LF>. The results code suffix is <CR><LF>. <CR><LF>+CSQ: 99,99<CR><LF> <CR><LF><CR><LF> The Unsolicited results code is same as the Results code. 2.5 Command Syntax Execute command syntax AT+xxx ATxxx ATxxx; Parameter set command syntax AT+xxx=<Value> ATxxx=<Value> Parameter read Command syntax AT+xxx? ATxxx? Parameter test Command syntax AT+ xxx =? ATxxx? <Value> consists of either a numeric constant or a string constant. <compound_value> consist of several <value> parameters separated by commas. Example of compound_value: <value1>,<value2>,,<valuen> Numeric Constants Numeric constants are expressed in decimal, hexadecimal, or binary form. In the module, the definition of each command specifies which form is used for values associated with that command. String Constants AT Commands User Manual Page 14 of 215

15 String constants consist of a sequence of characters, bounded at the beginning and end by the double-quote character ("). AT Commands User Manual Page 15 of 215

21 The following table shows the +CNUM parameters. <Parameter> Description <MSISDN type> Phone number type 161 Use for local call 145 Use + for international access code 129 Unknown AT+CNUM? +CNUM: "Voic "," ", CLAC, List of All Available AT Commands Command Syntax Response/Action Remarks Execute +CLAC List of available AT The Execute command displays a list of all commands the AT commands supported by the module. AT Commands User Manual Page 21 of 215

22 4 Modem Control and Status 4.1 Modem Register Commands The module holds certain data items in selected memory space, named Software Registers (S-registers) and Modem Registers. Some of these registers are used as bitmaps, where one register holds more than one data item. All S-registers can be accessed using the S command, described in S, Bit Map Registers. Some registers can also be accessed using dedicated commands, detailed below V, Module Response Format This command determines the response format of the data adapter and the contents of the header and trailer transmitted with the result codes and information responses. This command also determines whether the result codes are transmitted in a numeric or an alphabetic ("verbose") form. The text portion of information responses is not affected by this setting. The following table shows the effect that setting this parameter has on the format of information text and result codes. V0 V1 Information Responses <ATV0><cr><lf> <ATV1><cr><lf> 0 - "" <numeric code><cr> <verbose code><cr><lf> 1 - "CONNECT" 2 - "RING" 3 - "NO CARRIER" 4 - "ERROR" 5 - "NO DIALTONE" 6 - "BUSY" 7 - "NO ANSWER" 8 - NOT SUPPORT 9 - INVALLID COMMAND LINE 10 - \r\n Command Syntax Response/Action Remarks Set ATV<value> or: +CME ERROR: <err> The Set command sets the format of information responses and result codes. AT Commands User Manual Page 22 of 215

23 The following table shows the V parameters. <Parameter> Description <value> 0 Transmits limited headers and trailers, and numeric text. 1 Transmits full headers and trailers, and verbose response text. The default value is 1. ATV0 0 ATV Q, Result Code Suppression This command determines whether to output the result codes. Information text transmitted in response to commands is not affected by the setting of this parameter. Command Syntax Response/Action Remarks Set ATQ<value> or: The set commands sets whether or not to output result codes. +CME ERROR: <err> Read ATQ? Q: <value> The following table shows the parameters. <Parameter> Description <value> 0 Transmit result codes. 1 Suppress result codes. The default value is 0. ATQ0 ATQ? AT Commands User Manual Page 23 of 215

24 Q: 0 ATQ4 ERROR ATQ1 ATQ4 //No response because result codes are suppressed. //No response because result codes are suppressed E, Command Echo This command defines whether input characters are echoed to output. If so, these characters are echoed at the same rate, parity and format at which they were received. Command Syntax Response/Action Remarks Set ATE<value> or: The Set command sets whether or not to echo characters. +CME ERROR: <err> Read ATE? <value> The Test command for E is not defined by ITU, and therefore is not supported by the module. The module returns an error. The following table shows the E parameters. <Parameter> Description <value> 000 Does not echo characters 001 Echoes characters The default value is 1. ATE? 001 AT Commands User Manual Page 24 of 215

25 4.1.4 S, Bit Map Registers This command reads/writes values of the S-registers. The module supports this command for various S values, according to official specifications (ITU-I, ETSI, or manufacturer specific). Command Syntax Response/Action Remarks Set ATSn=<value> or: +CME ERROR: <err> The Set command is allowed for read/write S-registers, and not allowed for read-only S-registers. Read ATSn? <current value of S-register n> or: +CME ERROR: <err> Test The Test command for Sn is not defined by ITU, and therefore is not supported by the Module. The G5xx returns an error. The following table shows the different S-registers and their associated values. Sn Description Min Value Max Value Default Value S0 Sets/gets number of rings before auto answer S3 Sets/gets carriage return code character S4 Sets/gets line feed code character S5 Sets/gets command line editing character (backspace). S12 Sets/gets guard time (in units of 50 msec) for the escape character during ODM connections Note: S0 (Auto Answer) should work regardless of the DTR HW line state. This is a deviation from the ITU V. 25-ter standard. ATS0? 000 ATS0=3 ATS0? AT Commands User Manual Page 25 of 215

26 S12 This command handles the selection of the guard time, which is stored in S-Register 12, and specifies the behavior of escape characters during ODM connection. Note: For a guard time specified by S-Register 12, no character should be entered before or after "+++". The duration between escape codes must be smaller than the guard time. Command Syntax Response/Action Remarks Set S12=<guard_tim The Set command sets the ODM e> +CME ERROR: <err> escape character guard time value if all parameters are valid. Read S12? <guard_time> The Read command displays the current ODM escape character guard time. The following table shows the S12 parameters. <Parameter> Description <guard_time> ODM escape character guard time (units of 50 msec). Range is 0 to 255. The default value is &V, View Configuration This command reports the current S-registers. Command Syntax Response/Action Remarks Execute &V ACTIVE PROFILE:... (profile data) STORED PROFILE 0:... (profile data) or The Execute command displays the current active configuration. AT Commands User Manual Page 26 of 215

28 4.1.8 Z, Reset to Default Configuration This command drops the current call, and resets the values to default configuration. Command Syntax Response/Action Remarks Set ATZ<value> or: +CMS ERROR: <err> Read The Read command for Z is not defined, and therefore is not supported by the Module. The Module returns an error. Test The Test command for Z is not defined, and therefore is not supported by the Module. The Module returns an error. The following table shows the Z parameters. <Parameter> Description <value> 0 Set to user profile 0 The default value is 0. ATZ &W, Store User Profile This command saved the active profile to one of two user profiles. Note: The user must power off the module in regular process. Otherwise, this command cannot be in effect. Command Syntax Response/Action Remarks Set &W[<n>] or: Set command stores the current active configuration to user profile 0. +CME ERROR: <err> The following table shows the &W parameters. <Parameter> Description <n> profile number: AT Commands User Manual Page 28 of 215

29 0 Store to user s profile 0 AT&W CRSM, Restricted SIM Access This command provides limited access to the Elementary Files on the SIM. Access to the SIM database is restricted to the commands which are listed at <command>. All parameters of AT+CRSM are used as specified by GSM version As response to the command, the Module sends the actual SIM information parameters and response data. Error result code "+CME ERROR" may be returned if the command cannot be transferred to the SIM, e.g. if the SIM is not inserted, or defected, or PIN1/PUK authentication required, or required input parameters not present. However, failure in the execution of the command in the SIM is reported in <sw1> and <sw2> parameters. Some AT+CRSM commands require PIN/PIN2 authentication. Command Syntax Response/Action Remarks Set AT+CRSM=<comman +CRSM: Set command transmits the SIM d>[,<file_id>[,<p1>,< <sw1>,<sw2>[,<response> <command> and its required P2>,<P3>[,<data>]]] ] parameters to the ME. ME sends the actual SIM infor- mation or: parameters and response data. +CME ERROR: <err> Test AT+CRSM=? +CRSM: The test command returns the (list of possible ranges of CRSM supported<command>s), Parameters. (possible <file_id>s range value),(possible <P1> range value), (possible <P2> range value),(possible <P3>range value), or: +CME ERROR: <err> AT Commands User Manual Page 29 of 215

Application Note 010 GSM AT Set GSM AT Set Technical specifications and claims may be subject to variation without prior notice. UbiNetics has endeavoured to ensure that the information in this document

OnCell G2150I AT Set Third Edition, June 2008 www.moxa.com/product 2008 Moxa Inc., all rights reserved. Reproduction without permission is prohibited. OnCell 2150I AT Set The software described in this

AT Command Set for Nokia GSM Products Copyright Nokia Mobile Phones 2000. All rights reserved. Reproduction, transfer, distribution or storage of part or all of the contents in this document in any form

GPRS AT s AT s Reference Guide Copyright and Technical Support GPRS AT s Reference Guide This Set Applies to the Following Products: MultiModem GPRS (MTCBA-G) MultiModem GPRS-USB (MTCBA-G-U) MultiModem

M72 Cellular Engine AT Commands Set Document Title: M72 AT Commands Set Revision: 1.0 Date: 2011-01-05 Status: Document Control ID: Release General Notes offers this information as a service to its customers,

TAP Interface Specifications This Document is for those who want to develop their own paging control software or add an interface for the WaveWare v9 Series Paging Encoder to their existing software applications.

GSM Desktop phone DPH101 User manual v1.00 LEGAL NOTICE Copyright 2011 TELTONIKA Ltd. All rights reserved. Reproduction, transfer, distribution or storage of part or all of the contents in this document

locate, communicate, accelerate AT Commands Examples Examples for u-blox GSM/GPRS modules Application Note Abstract This document provides detailed examples of how to use AT commands with u-blox GSM/GPRS

CDMA-C1 AT s Reference Guide Copyright and Technical Support CDMA C1 AT s Reference Guide S000478C, Version C Use this AT Guide with the following: SocketModem Cell MTSMC-C1, MTSMC-C1-V MultiModem icell

Campus Component Pvt. Ltd. DISCLAIMER Information furnished is believed to be accurate and reliable at the time of publication. However, Campus Component Pvt. Ltd. assumes no responsibility arising from

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide Version 2.1, 4/2010 Disclaimer While every effort has been made to ensure that the information in this guide is accurate

locate, communicate, accelerate LEON-G100/G200 Quad Band GSM/GPRS Data and Voice Modules AT Commands Manual Abstract Description of standard and proprietary AT Commands used with u-blox LEON-G100 and LEON-G200

Version 1.3 Page 1/29 ACN 051 775 556 The information contained in this document was correct at the time of printing. However, in order to improve its products, Telstra reserves the right to modify the

WCDMA&GSM Module_Extra_Function_for_Network Document Title: Ve rsion : Date: Status: Document Control ID: General Notes SIMCom offers this information as a service to its customers, to support application

First Edition, October 2011 www.moxa.com/product 2011 Moxa Inc. All rights reserved. The software described in this manual is furnished under a license agreement and may be used only in accordance with

AUG: 003 Rev.: 1.0 How To GPRS Contents: This guide will explain how to set up the Internet connection of your ewon for the Talk2M connection. Table of Contents 1. Hardware and software requirements...

Polycom HDX Systems, Version 3.0.5 A warning about operating in a maximum security environment The maximum security profile is designed to lock down communications to the most stringent requirements of

SECURITY SYSTEM MANAGEMENT SOFTWARE FOR WINDOWS WINLOAD MODEM SETUP The modem setup is a very important step in the connection process. If the modem setup is not properly completed communication between

SIP-T22P User s Guide Thank you for choosing this T-22 Enterprise IP Phone. This phone is especially designed for active users in the office environment. It features fashionable and sleek design, and abundant