Technical Information Motorola G24-L and G24-LC Developer’s Guide AT Commands Reference Manual APRIL 15, 2008 6802983C95-C
SPECIFICATIONS SUBJECT TO CHANGE WITHOUT NOTICE Notice While reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. assumes no liability resulting from any inaccuracies or omissions in this document, or from use of the information obtained herein. The information in this document has been carefully checked and is believed to be entirely reliable. However, no responsibility is assumed for inaccuracies or omissions. Motorola, Inc.
Trademarks MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. ©Copyright 2007 Motorola, Inc.
Table of Contents Manual Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Target Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Manual Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Applicable Documents . . . . . . . . . . . . .
Table of Contents TCP/UDP IP Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 TCP/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 UDP/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Subscriber Unit Identity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 +CGMI, +GMI, +FMI, Request Manufacturer ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 +CGMM, +GMM, +FMM, Request Model ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 +CGMR, +GMR, +FMR, Request Revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Supplementary Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50 +CSSN, Supplementary Service Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50 +CUSD, Unstructured Supplementary Service Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-53 +COLP, Connected Line Identification Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Hardware Information Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CBC, Battery Charger Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +MBC, Battery Charger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +CBAUD, Baud Rate Regulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Modem Configuration and Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Modem Register Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V, G24-L Response Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q, Result Code Suppression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents STK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STK Mechanisms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +MTKR, Profile Download . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +MTKE, Motorola ToolKit Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Voice Call Manipulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Call Waiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Call Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Conference Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Figures 1-1 1-2 1-3 System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 Sidetone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Echo Suppression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Figures 4-22 4-23 4-24 x Launch Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-27 Setup Event List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-28 Handset or Handsfree Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Tables 1-1 AT Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15 3-1 3-2 3-3 3-4 3-5 3-6 3-7 3-8 3-9 3-10 3-11 3-12 3-13 3-14 3-15 3-16 3-17 3-18 3-19 3-20 3-21 3-22 3-23 3-24 3-25 3-26 3-27 3-28 3-29 3-30 3-31 3-32 3-33 3-34 3-35 3-36 3-37 3-38 3-39 3-40 3-41 3-42 3-43 3-44 +CGSN, +GSN Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Tables 3-45 3-46 3-47 3-48 3-49 3-50 3-51 3-52 3-53 3-54 3-55 3-56 3-57 3-58 3-59 3-60 3-61 3-62 3-63 3-64 3-65 3-66 3-67 3-68 3-69 3-70 3-71 3-72 3-73 3-74 3-75 3-76 3-77 3-78 3-79 3-80 3-81 3-82 3-83 3-84 3-85 3-86 3-87 3-88 3-89 3-90 3-91 3-92 3-93 3-94 3-95 3-96 3-97 3-98 xii +CSCA Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-79 +CSMP Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Tables 3-99 3-100 3-101 3-102 3-103 3-104 3-105 3-106 3-107 3-108 3-109 3-110 3-111 3-112 3-113 3-114 3-115 3-116 3-117 3-118 3-119 3-120 3-121 3-122 3-123 3-124 3-125 3-126 3-127 3-128 3-129 3-130 3-131 3-132 3-133 3-134 3-135 3-136 3-137 3-138 3-139 3-140 3-141 3-142 3-143 3-144 3-145 3-146 3-147 3-148 3-149 3-150 3-151 3-152 April 15, 2008 +MPCMC Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Tables 3-153 3-154 3-155 3-156 3-157 3-158 3-159 3-160 3-161 3-162 3-163 3-164 3-165 3-166 3-167 3-168 3-169 3-170 3-171 3-172 3-173 3-174 3-175 3-176 3-177 3-178 3-179 3-180 3-255 3-181 3-182 3-183 3-184 3-185 3-186 3-187 3-188 3-189 3-190 3-191 3-192 3-193 3-194 3-195 3-196 3-197 3-198 3-199 3-200 3-201 3-202 3-203 3-204 3-205 xiv +CGDCONT Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-233 +CGQMIN Parameters . . . . . . . . . . .
List of Tables 3-206 3-207 3-208 3-209 3-210 3-211 3-212 +MIPCONF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-290 +MPING Command Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-293 +MPING Unsolicited Response Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-295 +MPINGSTAT Unsolicited Response Parameters. . . . . . . . . . . . . . . . . . . .
List of Tables xvi G24-L AT Commands Reference Manual April 15, 2008
Preface Note: All references to G24-L also apply to G24-LC, except where otherwise noted. Manual Scope This manual introduces the G24-L AT commands, and describes how software developers can use these commands to communicate with the G24-L device, and to create software applications that communicate with the G24-L using these commands. Note: The integrator should read the corresponding SW release notes for the G24-L version he is using to get information about differences from this manual.
Applicable Documents Applicable Documents • G24-L Module Hardware Description – 6802984C05 • G24-L Developer’s Kit – 6802984C10 Contact Us We at Motorola want to make this guide as helpful as possible. Keep us informed of your comments and suggestions for improvements. For general contact, technical support, report documentation errors and to order manuals, use this email address: M2M.CustomerCare@motorola.com Motorola appreciates feedback from the users of our information.
Preface Manual Banner Definitions A banner text in the page footer under the book title (for example, Preliminary or FOA) indicates that some information contained in the manual is not yet approved for general customer use. Field Service For Field Service requests, use this email address: n2csfs01@motorola.com General Safety Remember!. . .
General Safety Keep away from live circuits Operating personnel must: • not remove equipment covers. Only Factory Authorized Service Personnel or other qualified maintenance personnel may remove equipment covers for internal subassembly, or component replacement, or any internal adjustment • not replace components with power cable connected.
Preface Dangerous procedure warnings Warnings, such as the example below, precede potentially dangerous procedures throughout this manual. Instructions contained in the warnings must be followed. You should also employ all other safety precautions that you deem necessary for the operation of the equipment in your operating environment. Warning example: Warning: Dangerous voltages, capable of causing death, are present in this equipment. Use extreme caution when handling, testing, and adjusting.
Limitation of Liability CMM Compliance The disclosure table and symbols below are provided in accordance with Section 5 & 6 of the People's Republic of China's "Electronic Industry Marking Standard for Control of Pollution Caused by Electronic Information Products". The disclosure table and symbols shown below cover the electronic information product (EIP) supplied.
Preface MOTOROLA has been informed of such potential loss or damage. And in no event shall MOTOROLA's liability to CUSTOMER for damages of any nature exceed the total purchase price CUSTOMER paid for the Product at issue in the dispute, except direct damages resulting from patent and/or copyright infringement, which shall be governed by the "INDEMNITY" Section of this Agreement.
Claiming customer service department of your service provider or Motorola's call Center at n2csfs01@motorola.com. Claiming In order to claim the warranty service you must return the OEM module and/or accessories in question to Motorola's Authorized Repair or Service Center in the original configuration and packaging as supplied by Motorola. Please avoid leaving any supplementary items like SIM cards.
Preface What is Not Covered by the Warranty This warranty is not valid if the defects are due to damage, misuse, tampering, neglect or lack of care and in case of alterations or repair carried out by unauthorized persons. The following are examples of defects or damage not covered by this product warranty 1. Defects or damage resulting from use of the Product in other than its normal and customary manner. 2. Defects or damage from misuse, access to incompatible sources, accident or neglect. 3.
Revision History Revision History Manual Number 6802983C95-C Manual Title G24-L Developer’s Guide: G24-L AT Commands Reference Manual Version Information The following table lists the manual version, date of version, and remarks about the version. Revision History Version xxvi Date Issue Remarks A September 25, 2007 Initial Release B Januaty 15, 2008 Major update that include the following features: TCP/IP and STK capabilities.
Chapter 1: Product Features Connectivity Interface The user can establish two types of connections in order to establish an AT command session with the G24-L: • RS232 connection • USB connection The user can use either RS232 or USB connections, but not both simultaneously. GPRS Operation Overview The GPRS allows the service subscriber to send and receive data in an end-to-end packet-transfer mode, without utilizing network resources in circuit-switched mode.
CSD Operation 2. Upon being interrupted by the RI signal, drop the DTR line to switch to command mode (depending on the previous DTR configuration: AT&D). 3. Answer the call (suspending the GPRS session). 4. At the end of the call, pull the DTR to resume the GPRS session. CSD Operation Overview GSM CSD bearer service, the most widely used data service, provides non-transparent (error correction and flow control) data rate of 9.6 kbit/s. Data transfer over Circuit Switched Data (CSD) is possible.
Chapter 1: Product Features Improved OEM Features G24-L contains the following new and improved features: • SIM Application Toolkit (STK) • TCP/IP support • Audio (digital and analog) - path, gain and algorithm • User-defined profiles For a full list of G24-L features, refer to the G24-L Module Hardware Description manual.
Improved OEM Features Set up Idle Mode Text The proactive SIM mechanism enables the SIM to initiate actions to be handled by the G24-L. Using this service, the SIM can inform the G24-L that it has information pending for action.
Chapter 1: Product Features TCP/UDP IP Connection Overview The network capabilities are achieved by using different layers of connections. Every layer of connections provides basic connections to the layer above it. The higher the layer is, the more capabilities it can provide. Internet Site www...
Improved OEM Features 2. The G24-L opens a TCP/IP stack as one of its "sockets" (it must know the target’s IP address and port number). 3. Once the connection is established, data is transferred freely in both directions (upload and download). Connection with another G24-L using the "GPRS Manager" The following occurs when creating a TCP/IP connection with another G24-L using the "GPRS Manager": 1. The OEM on the target side (server) uses the "GPRS Manager" application.
Chapter 1: Product Features 3. Side A and B previously agree on a port number, and exchange their given IP addresses via other means of connection (SMS, CSD, Voice, DB and so on). 4. The G24-L sends and receives data to and from the targeted site as it knows the IP address and port number of the target. 5. Sending (accumulating) data is done using the +MIPSEND command. 6. Actual send is done using the +MIPPUSH command, by specifying the IP address and port number of the destination.
Improved OEM Features Technical Description Figure 1-1, “System Overview,” on page 1-5 displays the system overview which comprises the following links and layers: Physical layer links: • The terminal is connected to the G24-L using a physical RS-232 connection. • The G24-L is connected to the GGSN using a GPRS link. • The GGSN is connected to the Internet via some sort of physical connection (usually telephone or cable).
Chapter 1: Product Features sound then gets picked up again by the microphone and is again routed to the speaker, and so on. Echo suppress is designed to take care of this echo. Spkr Mic 2 1 Figure 1-2: Sidetone Echo Suppression Echo suppression suppresses a large amount of the output sound picked up by the input device (cancels all echoes).
Improved OEM Features The algorithm provides full control over activation/deactivation of audio quality features such as echo canceling and noise suppression. The user can access these features by means of AT commands. These are described later in this document.
Chapter 1: Product Features Short Message Service (SMS) Overview The SMS feature provides means for SMS messages handling and the reporting of SMS reception events. G24-L SMS implementation is based on the GSM 07.05 specification. Features The SMS, as defined within the GSM 900/1800/1900 digital mobile phone standard: • A single short message can be up to 160 characters of ASCII text in length (7-bit coded). Message text can comprise words, numbers or an alphanumeric combination.
Short Message Service (SMS) Technical Description The G24-L memory for incoming short messages is SIM-dependent. A new incoming message is saved in the first free memory location, from index 1, according to the SIM card. The G24-L memory can contain up to 73 outgoing and CB messages. A new outgoing message is saved in the next free memory location, from index 101 up to index 352. SMS Type Incoming messages SMS Index 1 Max Number of SMS SIM-dependent 2 ... 20 Outgoing and CB messages 21 250 22 ...
Chapter 1: Product Features Character Sets The following includes the references to various tables that provide conversions between the different character sets. • CS1 - GSM to UCS2. • CS2 - ASCII to/from UTF8. • CS3 - UCS2 to/from UTF8. For the full content of a specific conversion table, refer to Appendix A, Character Set Tables. ASCII Character Set Management The ASCII character set is a standard seven-bit code that was proposed by ANSI in 1963, and finalized in 1968.
Character Sets Unlike some legacy encoding, UTF-8 is easy to parse. So-called lead and trail bytes are easily distinguished. Moving forwards or backwards in a text string is easier in UTF-8 than in many other multi-byte encoding. The codes in the first half of the first row in Character Set Table CS2 (UTF-8 <-> ASCII) are replaced in this transformation format by their ASCII codes, which are octets in the range between 00h and 7F.
Chapter 1: Product Features AT Commands Summary The following list contains a summary of all the G24-L AT commands sorted by functionality. Table 1-1: AT Commands AT Command Description Page Modem ID Subscriber Unit Identity +CGMI This command displays manufacturer identification. Page 3-1 +GMI This command displays manufacturer identification. Page 3-1 +FMI This command displays manufacturer identification. Page 3-1 +CGMM This command displays the model identification.
AT Commands Summary Table 1-1: AT Commands (Cont.) AT Command Description Page DL This command places a voice call to the last number dialed. Page 3-14 H This command hangs up, or terminates a particular call. Page 3-15 A This command answers an incoming call, placing the G24-L into the appropriate mode, as indicated by the RING message. Page 3-17 +CRC This command controls whether to present the extended format of the incoming call indication.
Chapter 1: Product Features Table 1-1: AT Commands (Cont.) AT Command Description Page +CLCC This command displays a list of all current G24-L calls and their statuses, and also enables/disables the unsolicited indication of the call list. Page 3-40 +MCST This command displays the current state of the call processing, and also enables/disables the unsolicited indication of any change in the call processing state.
AT Commands Summary Table 1-1: AT Commands (Cont.) AT Command Description Page System Date and Time Access Commands +CCLK This command reads/sets the G24-L's current date and time settings. Page 3-73 +CSMS This command handles the selection of the SMS message service type. Page 3-75 +CPMS This command handles the selection of the preferred storage area for messages. Page 3-76 +CMGF This command handles the selection of message formats.
Chapter 1: Product Features Table 1-1: AT Commands (Cont.) AT Command Description Page +CGSMS This command handles the selection of the service or service preference used by the G24-L to send mobile-originated SMS messages. Page 3-109 +CMGS This command sends an SM from the G24-L to the network. Page 3-110 +MCSAT This command enables/disables/exercises SMS alert tone for an arriving SMS. Page 3-111 Network Network Commands +CSQ This command displays the signal strength received by the G24-L.
AT Commands Summary Table 1-1: AT Commands (Cont.) AT Command Description Page &D This command determines how the G24-L responds when the DTR (Data Terminal Ready) status is changed from ON to OFF during the online data state. Page 3-138 +MCWAKE This command displays reports on the status of the GPRS/GSM coverage. Page 3-139 +MGGIND This command configures the service indicator on pin 49 of the 70 pin connector to be GPRS or GSM.
Chapter 1: Product Features Table 1-1: AT Commands (Cont.) AT Command Description Page +MAMUT This command controls the muting/unmuting of all input paths (MIC, HDST_MIC, DIGITAL_RX). Page 3-168 +MAFEAT This command controls the various algorithm features, such as sidetone, echo cancel and noise suppress. Page 3-169 General Audio Commands +MADIGITAL This command switches between analog and digital audio modes. Page 3-170 +CALM This command handles the selection of the G24-L’s alert sound mode.
AT Commands Summary Table 1-1: AT Commands (Cont.) AT Command Description Page E This command defines whether the G24-L echoes the characters received from the user, (whether input characters are echoed to output). Page 3-192 X This command defines the data adaptor response set, and the CONNECT result code format. Page 3-193 Sn This command reads/writes values of the S-registers, and includes registers 1-49, 94, 96 (Audio) and 102 (Sleep mode).
Chapter 1: Product Features Table 1-1: AT Commands (Cont.) AT Command Description Page &Y This command displays the default user profile. Page 3-224 +CMER This command enables an external accessory to receive key press information from the G24-L’s internal keypad. Page 3-225 +CLAN This command handles the selection of language in the ME. Page 3-225 +CIND This command is used to query the status of various ME indicators.
AT Commands Summary Table 1-1: AT Commands (Cont.) AT Command Description Page TCP/IP Commands +MIPCALL This command creates a wireless PPP connection with the GGSN, and returns a valid dynamic IP for the G24-L. Page 3-276 +MIPOPEN This command causes the G24-L to initialize a new socket and open a connection with a remote side. Page 3-277 +MIPODM This command causes the G24-L to initialize a new socket in Online Data Mode and open a connection with a remote side.
Chapter 1: Product Features Table 1-1: AT Commands (Cont.) AT Command April 15, 2008 Description Page &G This command is supported for backward compatibility only, and has no effect. Page 3-304 &J This command is supported for backward compatibility only, and has no effect. Page 3-304 &L This command is supported for backward compatibility only, and has no effect. Page 3-304 &M This command is supported for backward compatibility only, and has no effect.
AT Commands Summary 1-26 G24-L AT Commands Reference Manual April 15, 2008
Chapter 2: Introduction to AT Commands AT Commands Overview AT commands are sets of commands used for communication with the G24-L 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 Protocol General System Abbreviations The basic system configuration contains a modem and a terminal. The G24-L is the modem and may be referred to as the DCE, the phone, the mobile or the radio. The terminal may be referred to as the DTE or the TE. AT Commands Protocol The figure below shows a general messaging sequence of AT commands protocol between the terminal and the G24-L. G24-L Terminal Command Response N Results Code Indications M N , ., 0,1 =K M, .
Chapter 2: Introduction to AT Commands AT Commands Structure Command Structure An AT command line may contain one or more commands. Delimiters are used to separate the commands from each other, according to the following structure: Prefix Command1 Delimiter Command2 Delimiter … CommandN Suffix Each AT command has the "AT" prefix string. Each AT command has the suffix . The delimiter is either a semicolon ";" or none, meaning space (basic commands).
AT Commands Structure Results Code Structure When a command is issued, the G24-L responds with a message, called a "Result Code", which tells the terminal the result of the command that was requested. Result codes can indicate, for example, the execution status of the command or the remote modem connection status. Result codes can be represented either as numerical codes or as verbose responses. By default, the G24-L responds with verbose response codes. The result code has the following structure:.
Chapter 2: Introduction to AT Commands AT Commands Protocol & Structure Configuration The AT commands message flow and structure may be configured by the terminal. The G24-L can be configured not to follow a command with an echo and/or results code. It can be configured to transmit the results code in either of two ways: Verbose or Numeric. This (and other) configurations can be set using the following commands: Command Description S3=[] Command line termination character (default setting 0x13).
Command Token Types Command Token Types Basic Syntax Command Format The format of Basic Syntax commands (except for the D and S commands) is: [] where: is either a single character, or the "&" character (IA5 2/6) followed by a single character. Characters used in are taken from the set of alphabetic characters. may be a string of one or more characters from "0" through "9" representing a decimal integer value.
Chapter 2: Introduction to AT Commands Command Argument Types consists of either a numeric constant or a string constant. consist of several parameters separated by commas. Example of compound_value: ,,…, Numeric Constants Numeric constants are expressed in decimal, hexadecimal, or binary form. In the G24-L, the definition of each command specifies which form is used for values associated with that command.
Values Values Range of Values When the action accepts a single numeric sub-parameter, or the parameter accepts only one numeric value, the set of supported values may be presented in the information text as an ordered list of values. The following are some examples of value range indications: Value Range Description (0) Only the value 0 is supported. (1,2,3) The values 1, 2, and 3 are supported. (1-3) The values 1 through 3 are supported. (0,4,5,6,9,11,12) The several listed values are supported.
Chapter 3: AT Commands Reference Modem ID Subscriber Unit Identity These commands allow the user to query the type of device that is attached, the technology used in the device, as well as basic operating information about the device. +CGMI, +GMI, +FMI, Request Manufacturer ID These commands display manufacturer identification. The G24-L outputs a string containing manufacturer identification information, indicating that this is a Motorola device.
Modem ID +CGMM, +GMM, +FMM, Request Model ID These commands request the model identification. The G24-L outputs a string containing information about the specific model, including a list of the supported technology used, and the particular model number.
Chapter 3: AT Commands Reference +CGMR, +GMR, +FMR, Request Revision These commands request the revision identification. The G24-L outputs a string containing the revision identification information of the software version contained within the device. Command Response/Action AT+CGMR +CGMR: AT+GMR +GMR: AT+FMR +FMR: Example AT+CGMR +CGMR: "G24-L SW 4-0.210-000" AT+GMR +GMR: "G24-L SW 4-0.210-000" AT+FMR +FMR: "G24-L SW 4-0.
Modem ID Example AT+CGSN? +CGSN: "004400013805666" OK AT+GSN +GSN: "004400013805666" OK +CSCS, Select Terminal Character Set This command selects the G24-L character set. The G24-L supports the following character sets: GSM, UCS2, UTF8, 8859-1 and ASCII. The default value, set upon system initialization or when omitting in set command, is ASCII.
Chapter 3: AT Commands Reference +CSCS: ("8859-1","ASCII","GSM","UCS2","UTF8") OK AT+CSCS? +CSCS: "ASCII" OK AT+CPBS = "ME" AT+CPBW=1,"8475763000",129,"Lin Zhao" OK AT+CSCS="UCS2" OK AT+CPBR=1 +CPBR: 1,"8475763000",129,004C006E006E0020005A00680061006F OK AT+CSCS="ASCII" OK AT+CPBR=1 +CPBR: 1,"8475763000",129,"Lin Zhao" OK +CIMI, Request IMSI This command displays the International Mobile Subscriber Identity number.
Modem ID OK I, Request Identification Information This command displays various G24-L information items. Command ATIn Response/Action or: +CMS ERROR: The following table shows the information items that are supported by the G24-L.
Chapter 3: AT Commands Reference Read Command Command Response/Action +CNUM (MSISDN supported) +CNUM: [],, [+CNUM: [],,] [...] +CNUM (MSISDN not supported) +CNUM: The following table shows the +CNUM parameters.
Modem ID +CLAC, List of All Available AT Commands Command Execute Syntax +CLAC Response/Action List of available AT commands Remarks The Execute command displays a list of all the AT commands supported by the G24-L. Example AT+CLAC $ %C &C &D : : : : \A \S OK Capability Reporting This set of commands enables a user to determine G24-L’s protocol level.
Chapter 3: AT Commands Reference Call Control Managing a CSD (Data) Call The G24-L working modes can be divided into two modes of operation. • Data Mode: In this mode, once the G24-L has established a link with the remote modem, it does not respond to any data passing through it (except for the Escape Sequence search). The G24-L becomes a non-transparent link, connecting the terminal with the remote side. • Command Mode: In this mode, the G24-L responds to the AT commands issued by the terminal.
Call Control Switching From Data Mode to Command Mode To switch the connection from Data mode to Command mode, send the Escape Sequence command (+++). If the modem responds with "OK" to the Escape command, the modem is in Command mode and the dial connection is still active, and you can use the AT command set. The Character '+' The character '+' in the Escape Sequence pattern can be changed using the S2 S-register. Refer to “S, Bit Map Registers”, page 3-194.
Chapter 3: AT Commands Reference Call Control AT Commands D, Dial Command This command places a DATA/VOICE call on the current network. The default call type is a data call (CSD). There must be an explicit request in order to make a VOICE call. If a DATA call was originated and answered by the remote side, a "OK" notification is sent to the terminal from the G24-L, and it moves to the online Data state.
Call Control The following table shows the D parameters. Table 3-4: D Parameters Description Valid phone digits are: 0 1 2 3 4 5 6 7 8 9 * # + and , The following characters are ignored: A B C D - () / and . The comma <,> digit: When dialing a voice call, digits until the comma are considered addressing information (phone number). Any digits after the comma are sent as DTMF tones after the voice call is connected. More than one comma causes a pause in sending the tones.
Chapter 3: AT Commands Reference The following table shows a detailed description for the D> commands. Command Detailed Description D>[;] Originates a call to a phone number with the corresponding alphanumeric field . The Current Phone Book (Set by +CPBS) is searched for the entry that begins with the alphanumeric pattern . D>mem[;] Originates a call to a phone number in memory (phone book) mem and stored in entry location .
Call Control atd>1; OK OK ath NO CARRIER OK atd>1 +CME ERROR: atd>"Motorola Internal" +CME ERROR: //Speed dial from phonebook //Speed dial from phonebook //Invalid characters in dial string //Invalid characters in dial string For more examples, refer to “Call Control” on page 4-14 and “Data Call” on page 4-18. DL, Dial Last Number The DL command places a data/voice call to the last number dialed. The call progress information (success/failure) is reported in the same way as for the Dial command.
Chapter 3: AT Commands Reference Note: When ATDL is issued after a dialed number with comma digit: • ATDL; (Voice) dials the exact number that was last dialed, including the DTMF tones sent. • ATDL (Data/Fax) dials the addressing information only (comma and tones are discarded). • If ATDL is sent before any Dial command was issued (mainly after Power On, when the last number is an empty field), the G24-L will return NO CARRIER, as mentioned in the ITU V.25-ter standard.
Call Control Call State Response/Action Single Active and Waiting Call Single Active released (waiting not affected) MTPY Active and Waiting Call MTPY Active released (waiting not affected) Single Held or MTPY Held Error 3 Single (or MTPY) Active and Single (or MTPY) Held Single (or MTPY) Active released Held (Single or MTPY) and Waiting Call Waiting call released Single (or MTPY) Active and Single (or MTPY) Held & Waiting call Single (or MTPY) Active released Example RING //Incoming call RIN
Chapter 3: AT Commands Reference A, Answer Incoming Call This command answers an incoming VOICE/DATA/FAX call after a RING/+CRING indication is sent to the terminal. If the incoming call is answered (connected), the G24-L sends a CONNECT notification to the terminal. If the MT call fails, the possible notifications are: • NO CARRIER - Connection Failure • ERROR - General Failure Note: A waiting call (an incoming call while a call is in progress) is announced by +CCWA rather than RING.
Call Control Command Type Syntax Response/Action Remarks Set +CRC=[] OK The Set command enables/disables the extended format of an incoming call indication. When enabled, an incoming call is indicated to the terminal with an unsolicited result code +CRING: instead of the normal RING. Read +CRC? +CRC: OK The Read command queries the current settings for the cellular result code. Test +CRC=? +CRC: (list of supported s) The Test command returns the possible values.
Chapter 3: AT Commands Reference RING AT+CRC=1 OK +CRING: REL ASYNC +CRING: REL ASYNC ath AT+CRC=1 OK fax machine +CRING: ALT Voice/Fax NO CARRIER OK //Enable extended ring format //Mobile fax call terminated (multi-numbered scheme) from PSTN +CLIP, Calling Line Identification This command controls the Calling Line Identity (CLI) presentation indication to the terminal when an incoming call is detected by the G24-L.
Call Control The following table shows the +CLIP parameters. Table 3-8: +CLIP Parameters Description Enables/disables the CLI presentation indication after the ring indication: 0 Disable CLI presentation 1 Enable CLI presentation The default is 0. Shows the subscriber CLIP service status in the network: 0 CLIP not provisioned 1 CLIP provisioned 2 Unknown (for example, no network and so on) <"number"> Calling line number. The number format is specified by .
Chapter 3: AT Commands Reference +CCWA, Call Waiting Command This command controls the Call Waiting supplementary service, including the settings and the queries of the G24-L and the network. When the Call Waiting indication is enabled by the G24-L and there is a waiting call, a +CCWA: indication is sent from the G24-L to the terminal. Note: The G24-L supports only one of the services at a time: Voice, Data or Fax. Multiparty is a voice-only functionality.
Call Control The following table shows the +CCWA parameters. Table 3-9: +CCWA Parameters Description Enables/disables the call waiting indication to the terminal by the G24-L. 0 - Disable 1 - Enable The default is 0. Call waiting service request to the network. When the parameter is not given, the network is not interrogated. 0 - Disable 1 - Enable 2 - Query status Sum of integers each representing a class of information.
Chapter 3: AT Commands Reference OK Examples of +CCWA set command - network interrogation AT+CCWA=1,2 //Class parameter is considered as 7 +CCWA: 1,1 //Call waiting is active for class 1, voice +CCWA: 2,0 //Call waiting is not active for class 2, data +CCWA: 4,0 //Call waiting is not active for class 4, fax OK AT+CCWA=1,2,2 //Class parameter is 2 +CCWA: 2,0 //Call waiting is not active for class 2, data +CCWA: 4,0 //Call waiting is not active for class 4, fax OK AT+CCWA=1,1 OK //Enable the call waiting fea
Call Control Note: Only voice calls can be put on HOLD. A precondition for the multi-party service is that the G24-L is in control of one active call and one call on hold. In this situation, the G24-L can request the network to begin the MTPY (Multi Party) service. Once a MTPY call is active, remote parties may be added, disconnected or separated (removed from the MTPY call, but remain connected to the served mobile subscriber).The maximum number of remote parties is 5.
Chapter 3: AT Commands Reference The following table shows the +CHLD actions according to state and operation: Table 3-11: +CHLD Actions According to Call State and Operation CHLD Call State 0 -Release Held Call 1 - Release Active Call, Accept Held Call 1x - Release Active/Held Call x from MTPY Call 2 - Switch Between Held and Active Call 2x - Active MTPY Call to Hold, Except for Call x 3 - Add Held Call to Active Call IDLE Error 3 Single Active Call Error 3. Releases active call.
Call Control Table 3-11: +CHLD Actions According to Call State and Operation (Cont.) CHLD 0 -Release Held Call 1 - Release Active Call, Accept Held Call 1x - Release Active/Held Call x from MTPY Call 2 - Switch Between Held and Active Call Held (Single or MTPY) Call and Waiting Call Releases waiting call. Accepts waiting call. Error 3. Accepts waiting call. Error 3. Error 3. Single (or MTPY) Active Call and Single (or MTPY) Held and Waiting Call Releases waiting call.
Chapter 3: AT Commands Reference OK +CCWA: "055728386",129,1,"",0 AT+CHLD=1 OK NO CARRIER OK //Waiting call alerts //Release the active call, accept the waiting call //Active 9311234567 was released //Waiting 055728386 was answered +CCFC, Call Forwarding Number and Conditions This command enables control of the call-forwarding supplementary service. Registration, erasure, activation, deactivation, and status query are supported.
Call Control The following table shows the +CCFC parameters. Table 3-12: +CCFC Parameters Description 0 - Unconditional 1 - Mobile busy 2 - No reply 3 - Not reachable 4 - All call forwarding 5 - All conditional call forwarding 0 - Disable 1 - Enable 2 - Query status 3 - Registration 4 - Erasure <"number"> Calling line number. The number format is specified by . Type of address octet in integer format-.
Chapter 3: AT Commands Reference Example AT+CCFC=? +CCFC: (0-5) OK AT+CCFC=0,3,"01256316830",129,1 OK AT+CCFC=1,3,"0545658278",129,1 //Register UC forward-to of all classes. OK AT+CCFC=1,1 //Activate UC forward-to of all classes. OK AT+CCFC=1,2 //Interrogate reason not-reachable of all classes. +CCFC: 1,1,"+97254151200",145 +CCFC: 0,2,"",0 +CCFC: 0,4,"",0 OK //For =3, forward only voice calls is activated. AT+CCFC=4,2 //Interrogate reason all-call-forwarding for all classes.
Call Control Note: When a service is in state A, and the terminal wants to enable the CLI presentation (turn CLIR off) for a single call, it can do so using the ATD command. This does not change the Temporary mode state. This can also be done when the service is in state B and the terminal wants to disable the CLI presentation (turn CLIR on) for a single call.
Chapter 3: AT Commands Reference RING +CLIP: "",128,,128,"",1) ath NO CARRIER OK AT+CLIR=0 OK atd054565195; //MO voice call OK (… calling …) (… a G24-L that has 054565195 SIM and is CLIP enabled will receive the following on the terminal: RING +CLIP: "054565006",129,,128,"",0 RING +CLIP: "054565006",129,,128,"",0 …) ath NO CARRIER OK +CBST, Select Bearer Service Type This command sets the GSM bearer service (data circuit duplex asynchronous and synchronous).
Call Control Command Type Syntax Response/Action Read AT+CBST? +CBST: ,, OK Test AT+CBST=? +CBST: (list of supported s),(list of supported s),(list of supported s) OK Remarks The Test command returns values supported by the MA as compound values. The following table shows the +CBST parameters. Table 3-14: +CBST Parameters Description 0 - Auto-bauding (automatic selection of the speed; this setting is possible in case of 3.
Chapter 3: AT Commands Reference O, Return to Online Data State This command returns the G24-L from the Command mode to the Online Data mode and issues a CONNECT or CONNECT result code. After dialing or answering (atd/ata commands and connect), the phone enters the Online Data mode where it is able to transfer data, but not to enter AT commands. The ESC command +++, transfers the phone to the Command mode (able to input AT commands, while preserving the Data call).
Call Control +CHUP, Hang Up Call This command causes the G24-L to hang up the current GSM call. Command Type Set Syntax +CHUP Response/Action Remarks OK +CME ERROR The Set command hangs up the current GSM call. +CSNS, Single Numbering Call Scheme This command handles the selection of the bearer or teleservice to be used when a mobile terminated single numbering scheme call is established.
Chapter 3: AT Commands Reference The following table shows the AT+CSNS parameters. Table 3-15: +CSNS Parameters Description CSNS mode: 0 - Voice (default) 2 - Fax (TS 62) 4 - Data Defines for how long to save the new setting: 0 One shot (new setting is not saved) 1 CSNS mode is saved until new +CSNS set command is issued or next power cycle, whichever occurs first. 2 CSNS mode is saved until new +CSNS set command is issued.
Call Control The only +CBST parameter that needs mapping for mobile terminated calls is , as described in the table below. The V.110 protocol is replaced by the analog protocol regardless of the +CBST setting. All other parameters are set by the +CBST command. Table 3-16: Mapping Table (V.34) +CBST setting Mapped value for mobile terminated call 0 autobauding 4 2400 bps (V.22bis) 6 4800 bps (V.32) 7 9600 bps (V.32) 14 14400 bps (V.34) 68 2400 bps (V.110 or X.
Chapter 3: AT Commands Reference Example AT+MDC=? +MDC: (0-1) OK AT+MDC=1 OK ATD; OK CONNECT AT+MDC? +MDC: 1 OK AT+MDC=0 OK ATD; OK OK AT+MDC? +MDC: 0 OK +CTFR1, Divert an Incoming Call When User Busy This command terminates an incoming call and diverts the caller to the number previously defined in CCFC, or to a voice mail if one exists for the subscriber. This is done by sending a user-defined User Busy message to the network.
Call Control +MVC, Motorola Vocoders Configuration This AT command is used to choose and configure the priority order of the supported voice codecs (vocoders). Changes take effect after restart. Command Type Syntax Response/Action Remarks Set AT+MVC=[,[,< p2>[,[,[,] ]]]] OK or: +CME ERROR: Read AT+MVC? +MVC: The command will read the current [,[,[,[, vocoders values.
Chapter 3: AT Commands Reference Call Status Messages +CPAS, Phone Activity Status This command displays the current activity status of the G24-L, for example, call in progress, or ringing. Command Type Syntax Response/Action Remarks The Execute and Read commands return the activity status of the G24-L. They can be used to interrogate the G24-L.
Call Control +CLCC, List Current Calls This command displays a list of all current G24-L calls and their statuses, and also enables/disables the unsolicited indication of the call list. (If no calls are received, no information response is sent to the terminal). If the command succeeds but no calls are available, no information response is sent to the terminal. The maximum number of simultaneous multiparty calls is 5+1 (5 in active group and 1 on hold).
Chapter 3: AT Commands Reference The following table shows the +CLCC parameters. Table 3-19: +CLCC Parameters Description 0 Disable CLCC unsolicited indication 1 Enable CLCC unsolicited indication The default value is 0.
Call Control +CLCC: 0 OK AT+CLCC=1 //Example with unsolicited indication OK ATD055490698; OK +CLCC: 1,0,2,0,0,"055490698",129,"Alpha" +CLCC: 1,0,3,0,0,"055490698",129," Alpha " OK +CLCC: 1,0,0,0,0,"055490698",129," Alpha " ATH NO CARRIER OK +CLCC: 1,0,6,0,0,"055490698",129," Alpha +MCST, Call Status Messages This command displays the current state of the call processing, and also enables/disables the unsolicited indication of any change in the call processing state.
Chapter 3: AT Commands Reference +MCST Parameters The following table shows the +MCST parameters.
Call Control Call Advice of Charge Commands This set of commands enables GSM operators to offer Advice of Charge (AoC) services that calculate call charges. These charges are expressed in terms of home units. +CAOC, Advice of Charge This command displays information about the cost of calls. If supported, this command also activates/deactivates unsolicited event reporting of the CCM (Current Call Meter) information.
Chapter 3: AT Commands Reference Example Example with prepaid SIM card with 56700.00L prepaid before the test.
Call Control +CACM, Accumulated Call Meter This command resets the Advice of Charge accumulated call meter value in the SIM file, EFACM. ACM contains the total number of home units for both the current call and preceding calls. Command Type Set Syntax Response/Action +CACM= Remarks OK The Set command resets the +CME ERROR: accumulated call meter value. SIM PIN2 is required. Read +CACM? +CACM: The Read command displays the +CME ERROR: current value of ACM.
Chapter 3: AT Commands Reference +CAMM, Accumulated Call Meter Maximum This command sets the Advice of Charge accumulated call meter maximum value in the SIM file, EFACMmax. ACMmax contains the maximum number of home units the subscriber is able to consume. When the ACM (Refer to “+CACM, Accumulated Call Meter”, page 3-46) reaches ACMmax, additional calls (mobile-originated and mobile-terminated calls that incur charges) are prohibited, except for emergency calls. Refer to GSM 02.24.
Call Control +CPUC, Price per Unit and Currency Table This command sets the parameters of the Advice of Charge-related price per unit and currency table found in the SIM file, EFPUCT. PUCT information is used to convert the home units (used in +CAOC, +CACM and +CAMM) into currency units. Command Type Set Syntax Response/Action +CPUC=, , Remarks OK The Set command sets the price per +CME ERROR: unit and the currency table. SIM PIN2 is required.
Chapter 3: AT Commands Reference Note: If contains a dot, a maximum of three digits may appear after the dot, otherwise an error is generated. For example, if =0.61, the Read command displays 0.610. =1.2345 terminates in an error. If does not contain a dot, the number is divided by 1000. For example, if =1, the Read command displays 0.001. Due to storage constraints, the value is limited to a range of 0 to 4095. Values beyond this range may result in rounding errors.
Call Control Supplementary Services This set of commands enables control over supplementary service notifications, including Structured and Unstructured Supplementary Service Data (USSD) data. +CSSN, Supplementary Service Notifications This command handles the enabling and disabling of supplementary service-related, network-initiated, notifications.
Chapter 3: AT Commands Reference The following table shows the +CSSN parameters. Table 3-26: +CSSN Parameters Description Sets/displays the +CSSI result code presentation status. This value must be specified. 0 Disable (default) 1 Enable Sets/displays the +CSSU result code presentation status. This value is optional, but cannot be specified without .
Call Control Table 3-28: +CSSU Notification Values (Cont.) Value Description G24-L Support 5 Call on hold has been released (during a voice call; not a supplementary service notification) Yes 6 Forward check supplementary service message received (can be received at any time) Yes 7 Call is being connected with the remote party in an alerted state using an explicit call transfer operation (during a voice call).
Chapter 3: AT Commands Reference +CUSD, Unstructured Supplementary Service Data This command allows control of Unstructured Supplementary Service Data (USSD), according to GSM 02.90. Mobile-initiated operations are supported. Command Type Set Syntax Response/Action +CUSD=[,] Remarks OK The Set command enables/disables the +CME ERROR: display of the following unsolicited result code, +CUSD: [,] (the USSD response from the network), to the TE.
Call Control Example AT+CUSD=? +CUSD: (0,1,2) OK AT+CUSD=1,"*#100#"OK +CUSD: 2,26 ERROR) AT+CUSD? +CUSD: 1 OK //Response of the command =2, reason = 26 (SIGNALING Note: When the mobile-initiated operation is successful, the MS is implemented according to the required version. It waits for the USSD response from the network and then sends it to the TE before the final result code.
Chapter 3: AT Commands Reference Table 3-30: CUSD Termination Cause Table Index (Cont.
Call Control Table 3-30: CUSD Termination Cause Table Index (Cont.) Termination Cause Index NBR_SN_EXCEEDED 73 NBR_USER_EXCEEDED 74 Call Control by SIM Causes NOT_ALLOWED_BY_CC 75 MODIFIED_TO_SS_BY_CC 76 MODIFIED_TO_CALL_BY_CC 77 CALL_MODIFIED_BY_CC 78 App.
Chapter 3: AT Commands Reference The following table shows the +COLP parameters. Table 3-31: +COLP Parameters Description Sets/displays the result code presentation status of the G24-L. 0 Disable (default) 1 Enable Displays the subscriber’s COLP service status in the network. 0 COLP not provisioned 1 COLP provisioned 2 Unknown (for example, no network, and so on) Sets the phone number, using the format specified by .
Call Control Command Type Syntax Response/Action Remarks Set AT+MTTY= OK or: +CME ERROR: The SET command is used for setting the current TTY mode. Read AT+MTTY? + MTTY : OK or: +CME ERROR: The READ command returns the current TTY mode . Test AT+MTTY=? +MTTY : (0-3) OK or: +CME ERROR: The Test command returns the possible value’s range. The following table shows the +MTTY parameters.
Chapter 3: AT Commands Reference Figure 3-1 shows the TTY hardware configuration. AT Commands Terminal Communication Path G24-L/Telephone G24-L Headset Connection TTY Terminal 1 TTY Terminal 2 Note: TTY terminal 1 is connected to G24-L via headset connector.
Phone Books and Clock Phone Books and Clock Directory Access Commands This set of commands enables read/write access to the phone book contained within the G24-L, including both the numeric and the alpha information contained in the location. The presentation is according to GSM 07.07. In some cases, it may be possible to use these commands to access the dialed and received call stacks. However, as these phone books cannot be edited, the +CPBW command does not work on them.
Chapter 3: AT Commands Reference The following table shows the +CPBS parameters. Table 3-33: +CPBS Parameters Description List of supported phone books and their storage IDs AD Abbriviated dialing numbers. DC ME dialed calls list (+CPBW is not applicable for this storage). EN SIM emergency numbers (+CPBW is not applicable for this storage). FD SIM Fixed dialing phone book. MC G24-L missed (unanswered received) calls list (+CPBW may not be applicable for this storage).
Phone Books and Clock requested, all entries that contain data within that range are returned. If a listing fails in a G24-L error, +CME ERROR: is returned. This command can also be used to obtain information about the number of entries and the maximum size of a phone number and alpha tag fields in the phone book. This command acts on the currently active phone book, as selected with the +CPBS command (Refer to “+CPBS, Select Phone Book Memory”, page 3-60).
Chapter 3: AT Commands Reference Example At+cpbs="ME" OK At+cpbr=? +CPBR: (1-100,40,24) OK At+cpbr=1 OK At+cpbr=1,3 //There is nothing written in entry 1,2,3 OK At+cpbs="MT" OK At+cpbr=? +CPBR: (1-350,40,24) OK At+cpbr=1,3 OK At+cpbr=1,350 +CPBR: 101,"+97252999080",145,"Voice Mail" OK +CPBF, Find Phone Book Entries This execution command enables the user to search for a particular entry, by name, in the currently active phone book. If no matching entry is found, the command returns OK.
Phone Books and Clock The following table shows the +CPBF parameters. Table 3-35: +CPBF Parameters Description Case-sensitive text substring (even of one letter) to search for, according to the character set specified by the +CSCS command.
Chapter 3: AT Commands Reference field already exists in the PB, the new record will update the old one. If the writing fails in a G24-L error, +CME ERROR: is returned. Note: The "FD" phone book supports single wild card characters (?) and prefixes of a number in the telephone number field. In cases of fixed dialing, these entries in the "FD" phone book define a group of permitted numbers.
Phone Books and Clock Example AT+CBPS="MT" OK AT+CPBW=? +CPBW: (1-750),40,(129,145),16 OK AT+CPBW=1,"0546123456",129,"AAA" OK AT+CPBR=1 +CPBR: 1,"0546123456",129,"AAA" AT+CPBW=1,"0546123456",129,"BBB" OK AT+CPBR=1 +CPBR: 1,"0546123456",129,"BBB" +CSVM, Set Voice Mail Server This command handles the selection of the number to the voice mail server. The new value should also remain after power cycle.
Chapter 3: AT Commands Reference The following table shows the +CSVM parameters. Table 3-37: +CSVM Parameters Description 0 1 Voice mail number in string. String can be of up to 32 characters long, starting with a digit, or "+". Other allowed characters are digits only (0..9). Address octet type.
Phone Books and Clock Command Type Syntax Response/Action Remarks Set +MDSI= When mode is 1 and SIM was invalidated or deactivated: [+MDSI: , , , ] OK +CME ERROR: The following is the available mode values for the Set command. = 1 - Defines that unsolicited +MDSI messages will be sent to the DTE. If the SIM card was invalidated or deactivated, the current status will be sent to the DTE. = 0 - No unsolicited message is sent to the DTE.
Chapter 3: AT Commands Reference Example AT+MDSI? +MDSI: 0 OK AT+MDSI=? +MDSI: (000,001) OK AT+MDSI=1 OK //Until now there was no deactivation or invalidation of SIM card.
Phone Books and Clock • = 0 - Do not show any number on next +CPIN insertion command • = 1 - Default (equals 1) is set to = 1 If only a pair of and values are given, then the Set command is interpreted as follows: • = 0, = any valid indexSet mode for given index to 0 • = 1, = any valid indexSet mode for given index to 1 If only , and values are given, then the Set command is interpreted as follows: • Store in
Chapter 3: AT Commands Reference The following table shows the +MCSN parameters. Table 3-39: +MCSN Parameters Description This value defines whether and corresponding tag are presented after entering a correct PIN number. 0 Do not show and in after entering correct PIN number 1 Show and in after entering correct PIN number The default value is 0 (before MCSN has been set for the first time.
Phone Books and Clock +CNUM: "PIN2","8523",129 +CNUM: "","",0 OK AT+MCSN? +MCSN: 1 OK // Restart Phone AT+CPIN="1111" OK // Unsolicited information of record 1 in EFmsisdn in the SIM +MCSN: "VOICE","054444444" AT+MCSN=0 // Disable unsolicited indication OK // Restart Phone AT+CPIN="1111" OK AT+MCSN=0,3,,"ada" ERROR AT+MCSN=0,3,"3456346" // Update the of record 3 same OK AT+CNUM // Reading EFmsisdn from the SIM +CNUM: "VOICE","054444444",129 +CNUM: "OFFICE","039999999",129 +CNUM: "PIN1","34
Chapter 3: AT Commands Reference System Date and Time Access Commands +CCLK, Read/Set System Date and Time This command reads and sets the G24-L current date, time and time zone. Command Type Set Syntax +CCLK=
Phone Books and Clock The following table shows the +CCLK parameters. Table 3-40: +CCLK Parameters
Chapter 3: AT Commands Reference SMS SMS Commands G24-L supports SMS PDU and SMS TEXT mode according to ETSI specifications 07.05 & 3.40. Cell Broadcast message is not supported yet by the G24-L. +CSMS, Select Message Service. This command handles the selection of the messaging service. It returns the types of messages that are supported by the G24-L.
SMS Example AT+CSMS=128 +CSMS: 001,001,001 OK AT+CSMS? +CSMS: 128,001,001,001 OK AT+CSMS=? +CSMS: (128) OK +CPMS, Preferred Message Storage This command handles the selection of the preferred message storage area. The message storage area is divided into three parts, mem1, mem2 and mem3. Command Type 3-76 Syntax Response/Action Remarks Set +CPMS= [,[,]] +CPMS: The Set command sets the memory ,,, storage.
Chapter 3: AT Commands Reference The following table shows the +CPMS parameters. Table 3-42: +CPMS Parameters Description Memory from which messages are read and deleted. Supported values are: "MT","SM","ME","BM". The default value at power-up is "MT". Memory to which writing operation is made. Supported value is: "ME". The default value at power-up is "ME". Memory to which received SMS are stored (unless forwarded directly to TE). Supported value is: "SM".
SMS Example AT+CMGF=1 OK AT+CMGF? +CMGF: 1 OK AT+CMGF=? +CMGF: (0,1) OK +CSCA, Service Center Address This command handles the selection of the SCA and the TOSCA. The SCA is the phone number of the SC (Service Center). The TOSCA can be 129 (local) or 145 (international), where 129 is the default value. The TOSCA parameter of the Set command is optional, and can be omitted. If the SCA parameter of the Set command is prefixed by the "+" character, it indicates that TOSCA is 145.
Chapter 3: AT Commands Reference Command Type Syntax Response/Action Remarks Set +CSCA=[,] OK The Set command sets the service center address. or: +CMS ERROR: Read +CSCA? +CSCA: , Test The Test command for +CSCA is not defined by ETSI, and therefore is not supported by the G24-L. The G24-L returns an error. The following table shows the +CSCA parameters.
SMS Command Type Syntax Response/Action Remarks Read AT+CSMP? +CSMP: The read command returns the current ,,, parameters value. OK or: +CMS ERROR: Test AT+ CSMP =? OK The test command just returns OK. or: +CMS ERROR: The following table shows the +CSMP parameters. Table 3-46: +CSMP Parameters Description first octet of GSM 03.40. in integer format. For detailes see +CMGW definitions.
Chapter 3: AT Commands Reference Table 3-47: VP Relative Format (In Integer Format) (Cont.
SMS The following table shows the +CSDH parameters. Table 3-48: +CSDH Parameters Description 0 - Means do not show header values defined in commands +CSCA and +CSMP (, , , , and ) nor , or in +CMT, +CMGL, +CMGR result codes for SMS- DELIVERs and SMS-SUBMITs in text mode; for SMS-COMMANDs in +CMGR result code, do not show , , , , or (default). 1 - Means show the values in result codes.
Chapter 3: AT Commands Reference Command Type Syntax Response/Action Read +CNMI? +CNMI:,,,, Test +CNMI=? +CNMI: (list of supported s), (list of supported s), (list of supported s), (list of supported s), (list of supported s) The following table shows the +CNMI parameters. Table 3-49: +CNMI Parameters Description 0 3 Buffer unsolicited result codes (default).
SMS +CMT: "+972544565034",,"04/11/04,09:48:36+08",145,4,0,0,"+97254120032",145,3 ABC AT+CSMP=49 /*Set first octet to status report - see status report parameters in CMGW*/ OK AT+CSMP? +CSMP: 49,167,0,0 OK AT+CNMI=,,,1 OK AT+CNMI? +CNMI: 0,0,0,1,0 OK AT+CNMI=0,0,0,1,0 OK AT+CMGS="0524680592" > HELLO +CMGS: 168 OK +CDS: 6,168,"+972524680592",145,"05/08/02,15:20:12+08","05/08/02,15:20:14+08",0 AT+CNMI=0,0,0,2 OK AT+CMSS=296 +CMSS: 185 OK +CDSI: "SM",6 +CNMA, New Message Acknowledgment This command acknowledg
Chapter 3: AT Commands Reference If the command is executed but no acknowledgment is expected, or some other G24-L related error occurs, the final result code +CMS ERROR: is returned. Command Type Set Syntax AT+CNMA Response/Action Remarks OK or: +CMS ERROR: Read The Read command for +CNMA is not defined by ETSI, and therefore is not supported by the G24-L. The G24-L returns an error. Test The Test command for +CNMA is not defined by ETSI, and therefore is not supported by the G24-L.
SMS +CMTI, Unsolicited Response (New SMS-DELIVER Receipt Indication) The +CMTI unsolicited response is sent to the TE upon receipt of a new SMS-DELIVER SM, if the +CNMI parameter is set to 1. Refer to “+CNMI, New Message Indications to Terminal” on page 3-82. This unsolicited message indicates that a new SMS-DELIVER message was received, and is stored in location : +CMTI: , The following table shows the +CMTI parameters.
Chapter 3: AT Commands Reference The following table shows the +CMT parameters. Table 3-51: +CMT Parameters Description Message origination address. Service center time stamp. Type of origination address. First octet of the SM. Protocol Identifier. Data Coding Scheme. Service Center Address. Type of Service Center Address. Message contents. Alpha ID of message.
SMS +CDSI, Unsolicited Response (New SMS-STATUS-REPORT Indication) The +CDSI unsolicited response is sent to the TE upon receipt of a new SMS-STATUS-REPORT SM, if the +CNMI parameter is set to ’2’. For further information, refer to “+CNMI, New Message Indications to Terminal” on page 3-82. This unsolicited message indicates that a new SMS-STATUS-REPORT message was received, and is stored in location . Unsolicited Response +CDSI: , The following table shows the +CDSI parameters.
Chapter 3: AT Commands Reference In PDU mode: (+CMGF=0): +CDS: The following table shows the +CDS parameters.
SMS message is "RECEIVED UNREAD", execution of the +CMGL command changes the status of the message to "RECEIVED READ".
Chapter 3: AT Commands Reference The +MMGL command does not change the message status. In addition, +MMGL includes a selection that can be used to query the G24-L for a list of message headers without attendant message data.
SMS The following table shows the +CGML/+MMGL parameters. Table 3-54: +CGML/+MMGL Parameters Description 1-352 Index of message in storage.
Chapter 3: AT Commands Reference Example AT+CMGL=? +CMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL") OK AT+MMGL=? +MMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL","HEADER ONLY") OK AT+CPMS="SM" // read messages from SIM.
SMS +CMGR, +MMGR, Read Message These commands handle the reading of SMs. The command displays the message in location of the preferred message storage (selected using the +CPMS command). If the status of the message is "RECEIVED UNREAD", the +CMGR command changes the status to "RECEIVED READ". The +MMGR command does not change the message status.
Chapter 3: AT Commands Reference The following table shows the +CMGR/MMGR parameters. Table 3-55: +CMGR/+MMGR Parameters Description 1-352 Index in storage of the message. to be retrieved.
SMS Table 3-55: +CMGR/+MMGR Parameters (Cont.) Description Total number of pages Message Reference Message Recipient address Type of Recipient address Service center time stamp - Discharge-Time Status Table 3-56: Layout of SMS-DELIVER in PDU Mode (according to GSM03.40) Reference Description Length Service Center address: 1 BYTE: length (number of followed octets).
Chapter 3: AT Commands Reference Table 3-57: for SMS-DELIVER Message Bit/s Reference Description 0-1 Message-Type-Indicator Parameter describing the message type. 0 0 SMS-DELIVER (in the direction SC to MS) 2 TP-More-Message-To-Send Parameter indicating whether or not more messages are waiting to the MS in the SC.
SMS Table 3-58: Layout of SMS-STATUS-REPORT in PDU Mode (according to GSM03.40) (Cont.) Reference Description Length Mandatory: Recipient address formatted according to the formatting rules of address fields. 2-12 BYTES Mandatory: The TP-Service-Center-Time-Stamp field is given in semi-octet representation, and represents the local time as described in GSM03.
Chapter 3: AT Commands Reference Table 3-59: for SMS-STATUS-REPORT Message Bit/s Reference Description 0-1 Mandatory: Message-Type-Indicator Parameter describing the message type. 1 0 SMS-STATUS-REPORT (in the direction SC to MS) 2 Mandatory: TP-More-Message-To-Send Parameter indicating whether or not more messages are waiting to the MS in the SC.
SMS Example AT+CPMS? +CPMS: "ME",5,59,"ME",5,59,"SM",5,20 OK AT+CMGR=1 +CMS ERROR: invalid index AT+CMGR=142 +CMGR: "STO SENT","054565034", message text OK AT+CSDH=1 OK AT+CMGR=142 +CMGR: "STO SENT","054565034",,129,25,0,0,"05/04/03,21:22:23+08","+ 97254120032",145, message text OK AT+CMGW=18 > 079179521201009511000c917952428650290004AA0441424344 +CMGW: 143 OK AT+CMGR=143 +CMGR: 2,,23 0791795212010095040C917952428650290004502032110201800441424344 OK AT+CPMS="SM" // change to SM to read SMS-
Chapter 3: AT Commands Reference +MMAR, Motorola Mark As Read This command handles changing the attribute of an SM in the G24-L memory location , preferred message storage , from "REC UNREAD" to "REC READ". ( is selected using the +CPMS command.) If the status change fails, +CMS ERROR: is returned.
SMS Otherwise the message is sent to the DA it was stored with (if any was entered). If no DA is found, an error occurs. When the given index is an incoming message index the header settings will be as follows: • will be SMS-SUBMIT and VPF - relative. • • • • The TP-RP and TP-UDHI settings will be taken from the incoming message's first octet. - will be set to the default value -167 - as defined in 03.40.
Chapter 3: AT Commands Reference +CMGW, Write Message to Memory This command is used to write and save a message to . The message is saved in memory, and the message index is displayed to the user. By default, messages are saved with the status of "STO UNSENT", but status "STO SENT" can be applied using the parameter. In TEXT mode, the header parameters will be set according to CSMP settings.
SMS Table 3-64: Layout of SMS-SUBMIT in PDU Mode: (according to GSM03.40) Reference Description Length Service Center address: 1 BYTE: length (number of followed octets). Mandatory 1 BYTE: - value between 128-255 1, 3-12 BYTES (When length is 1, length BYTE = 0 ) First Octet. See the table below. 1 BYTE Message Reference. An integer representation of a reference number of the SM submitted to the SC by the MS. Values between 0-255.
Chapter 3: AT Commands Reference Table 3-65: Layout of SMS-COMMAND in PDU Mode: (according to GSM03.40) Reference Description Length Command data length 1 BYTE Command data 0-156 BYTES Table 3-66: for SMS-SUBMIT Message Bit/s April 15, 2008 Reference Description 0-1 Message-Type-Indicator Parameter describing the message type.
SMS Table 3-67: for SMS-COMMAND Message Bit/s Reference Description 0-1 Message-Type-Indicator Parameter describing the message type.
Chapter 3: AT Commands Reference 00410042004300440045 OK AT+CSMP=25,"05/03/15,21:22:23+08",0,0 OK AT+CMGW="0544565034" A +CMGW: 129 OK AT+CMGR=129 +CMGR: "STO UNSENT", "0544565034",,129,25,0,0,"05/03/15,21:22:23+08","+972521100059",145,1 A OK AT+CMGF=0 OK AT+CMGR=129 +CMGR: 2,,20 079179521201009519FF0A8150446505430000503051122232800141 AT+CMGW=18 > 0011000c917952428650290004AA0441424344 // SCA is not given +CMGW: 130 OK AT+CMGR=130 +CMGR: 2,,18 079179521201009511000C917952428650290004AA0441424344 O
SMS +CMGD, Delete Message This command handles deletion of a single message from memory location , or multiple messages according to . If the optional parameter is entered, and is greater than 0, the parameter is practically ignored. If deletion fails, result code +CMS ERROR: is returned. Note: The deletion of multiple commands is a time-consuming process that may require more than 60 seconds to complete.
Chapter 3: AT Commands Reference +CGSMS, Select Service for MO SMS Messages This command handles the selection of the service or service preference used by the G24-L to send mobile-originated SMS messages. Note: This command is network dependent, which means that the network must support SMS over GPRS. Command Type Set Syntax Response/Action +CGSMS=[] Remarks OK The Set command selects the service +CME ERROR: or service preference used to send SMS messages.
SMS +CMGS, Send SM to Network This command sends an SM from the G24-L to the network. The message reference value is returned to the G24-L upon successful delivery of the message. Note: The DCD signal will be in ON state while text is entered. The header parameters in TEXT mode will be set according to CSMP settings.
Chapter 3: AT Commands Reference If after aborting AT+CMGS command execution and before result of operation was reported by G24-L, a second AT+CMGS command is executed, then the result of the second AT+CMGS operation only will be reported by G24-L. +MCSAT, Motorola Control SMS Alert Tone This command enables/disables/exercises the SMS alert tone for an arriving SMS. It does not apply on Cell Broadcast SMS. Command Type Set Syntax Response/Action +MCSAT= [,[,....
SMS Example AT+MCSAT=? +MCSAT:(0-2) OK AT+MCSAT? +MCSAT: 1 OK AT+MCSAT=2 OK AT+MCSAT=1,00001000 OK AT+MCSAT=1,00000100 OK AT+MCSAT=1,00000000 OK AT+MCSAT=1 OK AT+MCSAT=0 OK 3-112 // UCS2 // UTF8 // GSM G24-L AT Commands Reference Manual April 15, 2008
Chapter 3: AT Commands Reference DCS handling Sending or Storing SM When sending or storing SM in TEXT mode, only the specified s in Table 3-46, +CSMP command definitions, will be supported. Handling will be as shown in Table 3-72. Table 3-72 shows the conversion between the and +CSCS setting when storing SM to memory or sending SM.
SMS According to the GSM 03.38, Any reserved codings shall be assumed to be the GSM default alphabet (the same as DCS value 0x00) by a receiving entity. Handling will be as shown in Table 3-73. Table 3-73 shows the conversion between the and +CSCS setting when reading SM.
Chapter 3: AT Commands Reference AT+CMGW="0544565803" > 050003090301123456786543FE +CMGW: 223 OK AT+CMGR=223 +CMGR: "STO UNSENT","0544565803", 050003090301123456786543FE OK AT+CMGF=0 OK AT+CMGR=223 +CMGR: 2,,26 07917952140230F251000A815044658530000AA70D050003090301123456786543FE OK ### Store in TEXT mode SMS 8-bit encoded. ### Character set is ASCII.
SMS OK AT+CSCS="ASCII" OK AT+CMGR=227 +CMGR: "STO UNSENT","0544565803", ADADADADADADADADADADADADADADADADADADADADADADADADADADADADADADAD ADADADADADADADADAD ADADADADADADADADADADADADADADADADADADADADADADADADADADADADADADAD ADADADADADADADADAD OK AT+CMGF=0 OK AT+CMGR=227 +CMGR: 2,,153 07917952140230F211000A8150446585300000A7A041629018240689416290182406894162901824 06894162901824068941629018240689416290182406894162901824068941629018240689416290 18240689416290182406894162901824068941629018240689416290182406894162901
Chapter 3: AT Commands Reference Network Network Commands +CSQ, Signal Strength This command displays the received signal strength indication and channel bit error rate from the G24-L. Command Type Syntax Response/Action Execute/Read AT+CSQ AT+CSQ? +CSQ: , OK or: +CME ERROR: Test AT+CSQ=? +CSQ: (list of supported s),(list of supported s) OK or: +CME ERROR: The following table shows the +CSQ parameters.
Network +CRLP, Radio Link Protocol This command displays the Radio Link Protocol parameters that are used when non-transparent data calls are originated.
Chapter 3: AT Commands Reference +CREG, Network Registration Status Command Type Syntax Response/Action Remarks Set AT+CREG= OK or: +CME ERROR: ,[,,] OK or: +CME ERROR: The Read command returns the status of the result code presentation and shows whether the network has currently indicated the registration of the G24-L.
Network Example AT+CREG=? +CREG: (000 - 002) OK AT+CREG? +CREG: 000,001 OK AT+CREG=2 OK AT+CREG? +CREG: 002,001, a065,988b OK AT+CREG=1 OK AT+CREG? +CREG: 001,001 OK AT+CREG=0 OK 3-120 G24-L AT Commands Reference Manual April 15, 2008
Chapter 3: AT Commands Reference +CGREG, GPRS Network Registration Command Type Set Syntax Response/Action AT+CGREG=[] Remarks OK The Set command controls the presentation of an unsolicited result or: code "+CGREG:" and the result of the +CME ERROR: Read operation.
Network Example AT+CGREG=? +CGREG: (000-002) OK AT+CGREG=2 OK AT+CGREG? +CGREG: 002,001,2648,988b OK AT+CGREG=1 OK AT+CGREG? +CGREG: 001,001 OK AT+CGREG=0 OK //Example for unsolicited reports: AT+CGREG=1 OK AT+CGATT=0 OK +CGREG: 000 AT+CGATT=1 OK +CGREG: 002 +CGREG: 001 //Remove GPRS enabled SIM +CGREG: 000 //Insert GPRS enabled SIM +CGREG: 002 +CGREG: 001 +COPS, Operator Selection This command enables accessories to access the network registration information, and the selection and registration of the GS
Chapter 3: AT Commands Reference Command Type Set Syntax AT+COPS=[[, [,]]] Response/Action Remarks OK The Set command can force an attempt to select and register a specific GSM network or: operator. The selects whether this is +CME ERROR: done automatically by the G24-L, or whether the selection is forced to an operator (given in format ). If the selected operator is not available, no other operator is selected (except when the is set to 4).
Network The following table shows the +COPS parameters. Table 3-78: +COPS Parameters 3-124 Description The operator format type: 0 Long alphanumeric 1 Short alphanumeric 2 Numeric The default value is 0. Determines whether what is displayed is defined by , or is done automatically by the G24-L.
Chapter 3: AT Commands Reference +CPOL, Preferred Operators This command is used to edit the list of preferred network operators located in the SIM card. Command Type Set Syntax AT+CPOL=[] [,[, ]] Response/Action OK or: +CME ERROR: Remarks The Set command writes an entry in the list of preferred operators. Note: The G24-L may also update this list automatically when new networks are selected.
Network The following table shows the +CPOL parameters. Table 3-79: +CPOL Parameters Description Order number of network operator in the SIM preferred operator list Defines the format: 0 Long alphanumeric format (up to 16 characters) 1 Short alphanumeric format (up to 8 characters) 2 Numeric (default) Name of the network operator Note: To delete an entry from the list, enter an without an .
Chapter 3: AT Commands Reference This command is a non-basic command, which means that the G24-L module rejects the command with an appropriate error message when the SIM is not present and/or the phone is in lock state. Command Type Set Syntax +MFS= [,] Response/Action Remarks OK This command enables you to change and store in Flex the new values of or: Frequency of Search and +CME ERROR: Search mode .
Network The following table shows the +MFS parameters. Table 3-80: +MFS Parameters Description This value defines the frequency of search. 0 Continuous. Minimum interval between subsequent search attempts is 1 second. 1 Medium. Minimum interval between subsequent search attempts is 10 seconds. 2 Slow. Minimum interval between subsequent search attempts is 30 seconds. 3 Fast. Minimum interval between subsequent search attempts is 5 seconds.
Chapter 3: AT Commands Reference Hardware Information Hardware Information Commands +CBC, Battery Charger Connection This command enables a user to query the battery charger connection. The battery level is an avarage value, which is updated every 30 seconds Command Type Read Syntax Response/Action +CBC +CBC:, The following table shows the +CBC parameters.
Hardware Information OK +MBC, Battery Charger This command allows the battery charger to be managed (start, stop or automatic manage) and get indication for the battery level (solicited or unsolicited reports). The Battery is external to the G24-L and connected via the 70 pin connector. The values of the battery are: 3.2V-4.2V divided to 5 battery levels. Notes: • When the battery level is below the minimum, the G24-L will not power up untill the pre-chargelevel reaches the minimum level for activation.
Chapter 3: AT Commands Reference The following table shows the +MBC parameters. Table 3-82: +MBC Parameters Description 0 1 2 Stop battery charging. Start battery charging. Automatic battery charging. 0 1 Disable MBC unsolicited report (default). Enable MBC unsolicited report. 0-5 Battery Level values (see Table 3-83). The status of the battery charger: 0 The battery is in charging process. 1 The battery is not in charging process.
Hardware Information +CBAUD, Baud Rate Regulation This command sets the baud rate. The baud rate of the G24-L is changed/set to the request value written in the command. Specifying a value of 9 or 0 disables the function and allows operation only at rates automatically detectable by the G24-L. The specified rate takes effect following the issuing of any result code(s) associated with the current command line.
Chapter 3: AT Commands Reference AT+CBAUD? +CBAUD: 57600 OK AT+CBAUD=? +CBAUD: (0-13,300,600,1200,2400,4800,9600,19200,38400,57600,115200,230400,460800) OK +IPR, Local Terminal/G24-L Serial Port Rate This command is responsible for setting and saving the request baud rate. This numeric extended-format parameter specifies the data rate at which the G24-L accepts commands. Specifying a value of 9 disables the function and allows operation only at rates automatically detectable by the G24-L.
Hardware Information The following table shows the +IPR parameters. Table 3-85: +IPR Parameters Description 0 1 2 3 4 5 6 7 8 9 10 11 12 13 Auto baud rate 600 1200 2400 4800 9600 19200 38400 57600 Auto baud rate 115200 300 230400 460800 Example AT+IPR=6 OK AT+IPR? +IPR: 19200 OK AT+IPR=? +IPR: (0-13,300,600,1200,2400,4800,9600,19200,38400,57600,115200,230400,460800) OK +MTDTR, DTR Line Test Command This command checks and outputs the physical current status of theRS232 DTR pin.
Chapter 3: AT Commands Reference The following table shows the +MTDTR parameters. Table 3-86: +MTDTR Parameters Description 0 1 DTR OFF DTR ON Example AT+MTDTR? +MTDTR:1 OK AT+MTDTR +MTDTR:1 OK AT+MTDTR=? OK +MTCTS, CTS Line Test Command This command sets the CTS pin of the RS232 to active high, waits one second and then returns the CTS to active low.
Hardware Information condition. The RTS line complements the CTS line. The G24-L puts the CTS line in an active condition to tell the terminal that it is ready to receive the data. Likewise, if the G24-L is unable to receive data, it places the CTS line in an inactive condition. Command Type Syntax Response/Action Set AT&K OK Read AT&K? &K: Test AT&K=? &K: (list of supported s) The following table shows the &K parameters.
Chapter 3: AT Commands Reference When AT&C is set to 0, the DCD signal is always ON. When AT&C is set to 1, the DCD is activated in online mode. When AT&C is set to 2, the DCD is activated only when the PDP context is achieved (temporary IP address is received). Command Type Syntax Response/Action Set AT&C OK Read AT&C? &C: Test AT&C=? &C:(list of supported s) The following table shows the &C parameters.
Hardware Information &D, Circuit 108 Behavior This command determines how the G24-L responds when the DTR (Data Terminal Ready) status is changed from ON to OFF during the online data state. The DTR is an input line that indicates that the terminal is ready. The DTR line must be active (low) in order for the G24-L to recognize the terminal. This signal is raised by the terminal when a process activates the serial port.
Chapter 3: AT Commands Reference +MCWAKE, GPRS Coverage This command tells the G24-L whether to report on the status of the GPRS/GSM coverage. There are three possibilities: • Do not report the status of the GPRS/GSM coverage. • Report only when the GPRS/GSM coverage goes off. • Report only when the GPRS/GSM coverage goes on.
Hardware Information +MGGIND, GSM/GPRS Service Indicator This command configures the service indicator line of pin 49 of the 70 pin connector to be GPRS or GSM registration indicator. The IO line (pin 49) function according to the current registration state (in service or not) of the specific service indicator configuration. Note: IO line (pin 49) outcome depends on +MCWAKE configuration.
Chapter 3: AT Commands Reference +CFUN, Shut Down Phone Functionality This command shuts down the phone functionality of smart phones and PDAs with phone capabilities in order to prevent interference from a nearby environment. This enables other functionality to continue to be used in environments where phone use is either impractical or not permitted.
Hardware Information +ICF, DTE-DCE Character Framing This command determines the local serial port start/stop (asynchronous) character framing used by the DCE when accepting DTE commands and transmitting information text and result codes, whenever these are not done automatically. Auto detect framing is not supported. Command Type Syntax Response/Action Remarks Set +ICF=[[ ,]] OK The Set command determines the local +CME ERROR: serial port start/stop character framing.
Chapter 3: AT Commands Reference ATS97, Antenna Diagnostic This command indicates whether an antenna is physically connected to the G24-L RF connector. This information is also provided by a dedicated hardware signal, which is outputted on pin 41 (ANT_DET) of the interface connector. Command Type Syntax Response/Action Remarks Execute ATS97 OK or: +CME ERROR: Read ATS97? The Read command indicates whether the antenna is connected.
Hardware Information Example AT+MRST OK // Result - G24-L module performs a power down +MIOC, Motorola I/O Configure This command defines the G24-L 8 GPIO pins data value. The feature is flex enabled or disabled. This command is a basic command. The feature is active by default, however, changing the FLEX can eliminate it. Note: Support of the GPIO pins comes instead of supporting the keypad of the Evaluation board.
Chapter 3: AT Commands Reference The following table shows the +MIOC parameters. Table 3-95: +MIOC Parameters Description Selected pins for the action invoked. This is a binary vector in which each bit points to pin number. Vector size is 8. 0 Not selected 1 Selected pin (default) This is a binary vector in which each bit show the physical value of pin. Data vector size is 8. 0 Physical low signal. 1 Physical high signal (default).
Hardware Information Data sending (vector example): Client has a data bus with 8 bits and plans to implement some protocol over it. In this example 4 pins (pins 1-4) are used as an output and 4 pins (5-8) are used as input. Example of code is as follows: AT+MIOD=000001111,0 OK AT+MIOD=11110000,1 OK AT+MIOD? +MIOD: 11110000 OK AT+MIOC=00001111,00000011 OK AT+MIOC? +MIOC: 01000011 OK AT+MIOC=00001111,00000000 OK AT+MIOC? +MIOC: 01110000 OK 3-146 // Set IO pins 1-4 to be output level mode.
Chapter 3: AT Commands Reference +MIOD, Motorola I/O Define This command defines the G24-L 8 GPIO pins configuration. The feature is flex enabled or disabled. This command is a basic command. The feature is active by default, however, changing the FLEX can eliminate it. Note: When using the GPIO lines feature, lines should not be connected directly to ground, a resistor must be used. This is applicable when changing an I/O from input to output.
Hardware Information The following table shows the +MIOD parameters. Table 3-96: +MIOD Parameters Description Selected pins for the action invoked. This is a binary vector in which each bit points to pin number. Vector size is 8. 0 Not selected 1 Selected pin (default) GPIO pin operation mode. 0 Output (level only) 1 Input (level mode) This is a binary vector in which each bit shows the operation mode of pin. Data vector size is 8.
Chapter 3: AT Commands Reference Example +MIOD: (00000000-11111111),(0,1),( 00000000-11111111) AT+MIOD=00010000,0 // Set IO pin #5 to be output. OK AT+MIOD? +MIOD: 11101111 // Pins 1-4 and 6-8 are input. Pin 5 is output. OK AT+MIOD=00001111,0 // Set IO pins 1-4 to be output level mode. OK AT+MIOD=11110000,1 // Set IO pins 5-8 to be input level mode.(Default settings). OK AT+MIOD? +MIOD: 11110000 // Pins 1-4 output pins, 5-8 input pins.
Hardware Information Command Type Read Syntax AT+MMAD? Response/Action List of converters and their monitoring setup values. Remarks Reads the setting of the A/D converters.
Chapter 3: AT Commands Reference Command Type Syntax Response/Action Unsolicited AT+MMAD= Messages Case: *. Average calculation isn't active : *. Average calculation is active: +MMAD: , OK Remarks If value is - 3, the report will be generated according to report interval value. If value was not set, there will be no messages, but you can ask for a solicited message.
Hardware Information Table 3-98: +MMAD Parameters (Cont.) Description 0 - 255 Time interval between two averages reports (seconds). Average calculation result. Range/Remark 0 - Default value. Example AT+MMAD =1 +MMAD:1,175 // Read A2D1 values with analog input of 1.75V. OK AT+MMAD=2,1,15 // Read A2D2 converted value every 15 seconds and send OK // unsolicited report to the DTE.
Chapter 3: AT Commands Reference +MMAD:1,160 //Operation not allowed because the parameters are valid but the there is not enough time for calculation: AT+MMAD =1,3,100, , ,7,1,5 // Activate Average calcluation during 1 minute, rate=100, // samples = 7, report interval = 5 sec. //converter num=1, report=3, rate=100, low,high, 7, // duration=1 min, interval = 5. +CME ERROR: operation not allowed AT+MMAD =1,0 // Stop Average calcluation and report.
Hardware Information Command Type Syntax Response/Action Remarks Set +MPCMC= OK or: +CME ERROR: The Set command is used for setting the PCM clock configuration. Read +MPCMC? +MPCMC: OK or: +CME ERROR: The Read command returns the current PCM clock value. Test +MPCMC=? +MPCMC: (list of supported s) OK The Test command returns the possible values. The following table shows the +MPCMC parameters.
Chapter 3: AT Commands Reference Audio Scope The audio control can be summarized to the following three issues: • Path: Selection of microphone and speaker to be used. • Gain: Control of volume levels for rings, voice, etc. • Algorithm: Activation of audio algorithms (echo cancellation, noise suppression and sidetone). The G24-L incorporates two audio modes: 'Basic Audio' and 'Advanced Audio'. Each mode has a different behavior and a set of relevant AT commands.
Audio Table 3-100 shows the differences between Basic and Advanced audio modes in controlling the audio. Table 3-100: Basic and Advanced Audio Modes Comparison Basic Audio Advanced Audio Path Paths are set automatically (upon interrupt). Paths are set manually. All routings are available; any microphone with any speaker for each type of sound (voice, keypad, ring, etc.). Gain There are two types of gains: phone (voice, keypad) and ring.
Chapter 3: AT Commands Reference Audio Control of Path, Gain and Algorithms is available by these two different modes' sets of commands. It is advised to select the audio mode according to the application needs, either the 'Basic Audio' set or the 'Advanced Audio'. Basic Audio Setup This mode’s set of commands suits most users. It provides a simple audio control. In this mode the G24-L will also adjust the paths automatically upon headset interrupt. The G24-L powers up in 'Basic Audio' mode.
Audio The default state is analog. Power Up Analog A T+MA D IGITA L=1 A T+MA D IGITA L=0 Digital Figure 3-5: Analog/Digital Switching General Audio Commands The following audio commands can be used in both Basic and Advanced audio modes. General audio commands are: +CRTT, +VTD, +VTS, +CALM, +MMICG, +MADIGITAL. Basic Audio Setup Commands +CRSL, Call Ringer Level This command handles the selection of the incoming call ringer and alert tone (SMS) sound level on the alert speaker of the G24-L.
Chapter 3: AT Commands Reference The following table shows the +CRSL parameters. Table 3-101: +CRSL Parameters Description 0 1-7 Mute Ringer sound level (1 is lowest; 7 is default after flex) Example AT+CRSL? +CRSL: 7 OK AT+CRSL=? +CRSL: (0-7) OK AT+CRSL=5 OK +CLVL, Loudspeaker Volume This command sets the volume of the internal loudspeaker (which also affects the key feedback tone) of the G24-L. This command is applicable for Analog and Digital modes.
Audio The following table shows the +CLVL parameters. Table 3-102: +CLVL Parameters Description 0-7 Manufacturer-specific volume range. 0 is lowest volume (not mute). The default value is 7 after flex. Example AT+CLVL? +CLVL: 7 OK AT+CLVL=? +CLVL: (0-7) OK AT+CLVL=3 OK +CMUT, Mute/Unmute Currently Active Microphone Path This command is used to mute/unmute the currently active microphone path by overriding the current mute state.
Chapter 3: AT Commands Reference Example AT+CMUT=? +CMUT:(0-1) OK AT+CMUT? +CMUT: 0 OK AT+CMUT=1 OK AT+CMUT? +CMUT: 1 OK AT+CMUT =2 +CME ERROR: uplink voice is unmuted uplink voice is muted S94, Sidetone Effect This command reduces the microphone audio input that is routed to the selected speaker, so that people speaking will hear themselves talking (The default value of S94 is "1"). The following table explains the use of the ATS94 set.
Audio The following table shows the S94 parameters. Table 3-105: S94 Parameters Description 0 Disable sidetone 1 Enable sidetone On power up the sidetone is enabled. Example ATS94=0 OK ATS94=2 +CME ERROR: ATS94? 000 OK //Disable sidetone //Sidetone disabled S96, Echo Canceling This command suppresses a large amount of the output sound picked up by the input device (cancels all echo). S96 value is saved in the Flex. The following table explains the use of the ATS96 set.
Chapter 3: AT Commands Reference The following table shows the S96 parameters. Table 3-107: S96 Parameters Description 0 1 Disable echo canceling. Disable noise suppression Enable echo canceling. Enable noise suppression Example ATS96=1 OK ATS96=4 +CME ERROR: ATS96? 001 OK //Enable echo canceling //Echo canceling enabled Advanced Audio Setup Commands This group of commands enables accessory devices to control certain audio aspects within the system.
Audio The following diagram shows the audio paths:.
Chapter 3: AT Commands Reference The following table shows the +MAPATH parameters. Table 3-108: +MAPATH Parameters Description 1 2 Mode in: 1 Mic 2 Headset mic 3 Digital RX (for read command only) Mode out: 1 Speaker 2 Headset speaker 3 Alert speaker, for example, battery low, incoming SMS, power up, and so on 4 Digital TX (for read command only) (1-15) 1 2 4 8 Mode in, field is ignored. Mode out, field is present.
Audio +MAVOL, Volume Setting This command enables you to determine a volume level for a particular feature via a particular accessory. The gain levels are saved in flex. Therefore, upon power up, the path active (mic, speaker and alert speaker) will have these saved gain levels. This command is applicable for Analog and Digital modes. Note: The SMS MT volume is adjusted using the +MAVOL command with type "ring". The RING value is related to the SMS alert, the MT call, and so on.
Chapter 3: AT Commands Reference The following table shows the +MAVOL parameters.
Audio +MAMUT, Input Devices Mute This command controls the muting/unmuting of all input paths (mic, headset mic or digital RX). Upon power up, all the devices are unmuted. Command Type Syntax Response/Action Remarks Set +MAMUT=, OK or: +CME ERROR: The Set command mutes/unmutes any input accessory or any combination of them.
Chapter 3: AT Commands Reference +MAFEAT, Features Selection This command controls the algorithm features: sidetone, echo cancel, noise suppression and automatic gain control. Upon power up, the sidetone is enabled, and echo canceling, noise suppression and automatic gain control are disabled. Command Type Syntax Response/Action Remarks Set AT+MAFEAT=, OK The Set command enables/disables feature combinations.
Audio Example AT+MAFEAT=5,1 OK AT+MAFEAT? +MAFEAT: 1,1 +MAFEAT: 2,0 +MAFEAT: 4,1 +MAFEAT: 8,0 OK //Enables sidetone and noise suppress //Feature=1 (sidetone), state=1 (enabled) //Feature=2 (echo cancel), state=0 (disabled) //Feature=4 (noise suppress), state=1 (enabled) //Feature=8 (AGC), state=0 (disable) General Audio Commands +MADIGITAL, Analog/Digital Audio Switching This command switches between analog and digital audio modes.
Chapter 3: AT Commands Reference OK AT+MADIGITAL=0 OK AT+MADIGITAL? +MADIGITAL: 0 OK AT+MADIGITAL=3 ERROR AT+MADIGITAL? +MADIGITAL: 0 OK +CALM, Alert Sound Mode This command handles the selection of the G24-L's alert sound mode. The value of the command is saved after a power cycle. Command Type Syntax Response/Action Remarks Set +CALM= OK The Set command sets the alert sound +CME ERROR: mode.
Audio + MMICG, Microphone Gain Value This command handles the selection of microphone gain values of MIC-handsets (not MIC-headsets). The new value remains after power cycle. This command is applicable for Analog and Digital modes. The gain levels are saved in flex. Command Type Syntax Response/Action Remarks Set +MMICG= OK The Set command sets the microphone +CME ERROR: gain value. Read +MMICG? +MMICG: The Read command displays the current +CME ERROR: microphone gain.
Chapter 3: AT Commands Reference +CRTT, Ring Type Selection This command plays one cycle of a ring tone, stops the cycle in the middle and sets the ring tone to be used. Command Type Syntax Response/Action Remarks Set AT+CRTT= , OK The Set command sets the ring type and operation. or: +CME ERROR: Read AT+CRTT? +CRTT: The Read command returns the ring type number.
Audio Table 3-116: Ring Tone Types Available CRTT=X Ring Tone Style Name 1 Alert 2 Alert 3 Bells 4 Bits & Bytes 5 Charger1 6 Charger2 7 Door Bell 8 Triads 9 Wind Chimes 10 Up and Down 11 Random 12 Start Up 13 Cosmic 14 Cosmic2 15 Intrelude 16 Power Surge 17 Clouds 18 Waves Example AT+CRTT=4,0 OK AT+CRTT=4,2 OK AT+CRTT=? +CRTT: (1-18),(0-2) OK AT+CRTT? +CRTT: 4 AT+CRTT=5,4 +CME ERROR: 3-174 //Ring type number 4, operation 0 (play) //When 4 is in the supported
Chapter 3: AT Commands Reference +VTD, Tone Duration This command handles the selection of tone duration. An integer defines the length of tones emitted as a result of the +VTS command. This command does not affect the D (dial) command. (Refer to “D, Dial Command”, page 11.) Any value other than zero causes a tone of duration in multiples of 100 msec. In this command, the new value is erased after power down. Note: In GSM, the tone duration value can be modified depending on the specific network.
Audio +VTS, Command-Specific Tone Duration This command transmits a string of DTMF tones when a voice call is active. DTMF tones may be used, for example, when announcing the start of a recording period. The duration does not erase the VTD duration (Refer to “+VTD, Tone Duration” on page 3-175). Note: In GSM, the tone duration value can be modified depending on the specific network.
Chapter 3: AT Commands Reference Access Access Control Commands When the module or SIM card is locked or blocked, the only accessory operations allowed are those that are called "Basic AT commands". A/, Repeat Last Command This command repeats the last command. It is not necessary to press after this command. Command Type Execute Syntax Response/Action Repeats last command A/ Example AT&D? &D: 2 OK A/ &D: 2 OK AT, Check AT Communication This command only returns OK.
Access The SIM card is unlocked only once the provided pin is verified as the SIM PIN. If the required PIN (determined by the error code returned from the requested operation or the Read command) is SIM PUK or SIM PUK2, the second pin is required. This second pin, , is used to replace the old pin in the SIM card. When entering the pin, a is not required.
Chapter 3: AT Commands Reference Command Type Set Syntax Response/Action AT+CPIN=[ or ], [] Remarks OK The Set command sends the password to the G-LITE that is necessary before it can or: be operated (SIM PIN or SIM PUK). If +CME ERROR: there is no PIN request pending, no action is taken towards the G-LITE, and an error message, +CME ERROR, is returned to the terminal.
Access Example AT+CPIN=? OK AT+CLCK="SC",1,""//Not case-sensitive OK The facility is enabled by the +CLCK command (Refer to “+CLCK, Facility Lock” on page 3-184) AT+CPIN? +CPIN: SIM PIN OK AT+CPIN="" OK AT+CPIN? +CPIN: READY OK The status of the SIM is still enabled, but the PIN is READY for this session. The SIM is enabled per session. After power-up SIM must be unlocked again by using the +CLCK command.
Chapter 3: AT Commands Reference +EPIN, Enter SIM PIN2 to Verify PIN2 Indicator This AT command will be used to verify the PIN2 when the proper SIM PIN2 password has been provided. The code presented by the ME PIN2 password will be compared with the relevant one stored in the SIM. The execution of this command is possible only if the SIM is in READY state or waiting for PIN2 state.
Access +TPIN, Query Number of Remaining SIM PIN/PUK Entering Attempts This command returns the number of remaining attempts of entering the PIN and PUK for the SIM card in use. The command returns the number of remaining attempts for PIN1 (CHV1), PIN2 (CHV2), PUK1 (unblock CHV1) and PUK2 (unblock CHV2). Number of available attempts is provider dependant. Typically it is 3 attempts for PIN, 10 attempts for PUK. This command will return error if SIM is not inserted.
Chapter 3: AT Commands Reference +CPWD, Change Password This command sets a new password for the facility lock. The password can only be changed once the required facility is enabled by the +CLCK command. (Refer to “+CLCK, Facility Lock” on page 3-184). A password can be changed only if the provided password has been verified. The entered password must also comply to the password rules. The facility value is not case-sensitive. In the password value, letters are not allowed.
Access Example AT+CPWD =? +CPWD: ("SC",8),("AO",4),("OI",4),("OX",4),("AI",4),("IR",4),("AB",4),("AG",4), ("AC",4),("P2",8) OK AT+CPWD? +CME ERROR: operation not supported AT+CLCK: "sc",1,"current pin password" AT+CPWD="sc","incorrect old password","new password" +CME ERROR: incorrect password AT+CLCK="sc",2 +CLCK: 0 OK AT+CPWD="sc","old password","new password" +CME ERROR: operation not allowed AT+CLCK="fd",1,"current pin2 password" AT+CPWD="p2","old password","new password" OK AT+CLCK="ai",2 +CLCK: 0,1 +
Chapter 3: AT Commands Reference Command Type Syntax Response/Action Remarks Set +CLCK=, [, [,]] For where The Set command performs the specified action on the is irrelevant specified .
Access Table 3-124: +CLCK Parameters (Cont.) Description Sum of integers, each representing a class of information . Only applies to call barring related facilities. 1 Voice (telephony) 2 Data (refers to all bearer services) 4 Fax (facsimile services) 8 SMS (Short Message Services) The default value is 7.
Chapter 3: AT Commands Reference OK (Voice and data international calls barred, fax and SMS not barred.
Access Command Type Set Syntax Response/Action +EMPC=, +EMPC:, The Set command checks the password with requested action OK +CME ERROR: type. All parameters are mandatory field. If the pin is wrong or inserts wrong action, no action is taken towards the G24-L, and an error message, +CME ERROR, is returned to the terminal. The Set command issued gives the code corresponding to the required action.
Chapter 3: AT Commands Reference Example AT+EMPC? +EMPC:3,0 OK The status of phone is: the subsidy lock is not active. AT+EMPC="",0 +EMPC:0,1 OK The command unlocks the phone if the password was typed correctly. AT+EMPC="",1 +EMPC:0,2 OK The command resets the phone if the password was typed correctly.
Modem Configuration and Profile Modem Configuration and Profile Modem Register Commands The G24-L 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” on page 3-194. Some registers can also be accessed using dedicated commands, detailed below.
Chapter 3: AT Commands Reference The following table shows the V parameters. Table 3-127: V Parameters Description 0 Transmits limited headers and trailers, and numeric text. 1 Transmits full headers and trailers, and verbose response text. The default value is 1. Example ATV? V: 1 OK ATV0 0 ATV7 4 ATV1 OK ATV7 ERROR Q, Result Code Suppression This command determines whether to output the result codes.
Modem Configuration and Profile The following table shows the Qn parameters. Table 3-128: Qn Parameters Description 0 Transmit result codes. 1 Suppress result codes. The default value is 0. Example ATQ0 OK ATQ? Q: 0 OK 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.
Chapter 3: AT Commands Reference Example ATE? 001 OK X, Result Code Selection and Call Progress Monitoring Control This command defines the CONNECT result code format. It determines whether or not the G24-L transmits particular result codes to the user. It also controls whether the G24-L verifies the presence of dial tone when it first goes off-hook to begin dialing, and whether the engaged tone (busy signal) detection is enabled.
Modem Configuration and Profile S, Bit Map Registers This command reads/writes values of the S-registers. The G24-L supports this command for various S values, according to official specifications (ITU-I, ETSI, or manufacturer specific). Command Type Syntax Response/Action Set ATSn= OK The Set command is allowed for read/write S-registers, and not allowed or: for read-only S-registers.
Chapter 3: AT Commands Reference 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. 0 255 0 S2 Sets/gets escape code character. 0 255 43 S3 Sets/gets carriage return code character. 0 127 13 S4 Sets/gets line feed code character. 0 127 10 S5 Sets/gets command line editing character (backspace).
Modem Configuration and Profile Example ATS36? 005 OK ATS0=3 OK ATS0? 003 OK S2 This command handles the selection of the escape characters, which are stored in S-Register 2, and specifies the escape character used in CSD connections. Command Type Set Syntax Response/Action S2= Remarks OK The Set command sets the CSD escape +CME ERROR: character value if all parameters are valid.
Chapter 3: AT Commands Reference 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 CSD 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.
Modem Configuration and Profile ?, Return the Value of the Last Updated S-register This command displays the most recently updated value stored in an S-register. Command Type Read Syntax Response/Action AT? Remarks The Read command returns the value of the last updated S-register. 000 OK Example AT? 000 OK AT? 003 OK ATS36=5 OK AT? 005 OK &F, Set to Factory Defined Configuration This command restores the factory default configuration profile. The G24-L only supports one factory default profile, 0.
Chapter 3: AT Commands Reference Example AT&F? &F: 0 OK Z, Reset to Default Configuration This command drops the current call, and resets the values to default configuration. Command Type Set Syntax ATZ Response/Action Remarks OK or: +CMS ERROR: Read The Read command for Z is not defined, and therefore is not supported by the G24-L. The G24-L returns an error. Test The Test command for Z is not defined, and therefore is not supported by the G24-L. The G24-L returns an error.
Modem Configuration and Profile enables the G24-L sleep mode and signals its readiness for sleep. For this purpose, a set of AT commands and dedicated HW lines are defined. Note: The Sleep mode feature is not relevant when using USB. In USB mode the G24-L is always awake. While USB is connected, do not use the following: 1. Sleep mode AT commands. 2. Sleep mode dedicated HW line (wake in/wake out).
Chapter 3: AT Commands Reference Data transmit TXD Line (pin #21) WAKEUP-IN Line (pin #16) Idle Wakeup 10 ms Figure 3-9: Wakeup-In Line Two modes exist: • Idle Mode: The terminal has no data to send. If the terminal enables sleep mode (using ats24), the G24-L activates its Sleep mode module. • Wakeup Mode: The G24-L does not enter sleep mode, and the terminal can send data.
Modem Configuration and Profile Two modes exist: • Idle mode: The G24-L has no data to send. • Wakeup mode: The G24-L has data to send to the terminal. After the G24-L changes the line edge to Wakeup mode, there will be a delay (the default is 30 ms) sent by the ats102 command before sending any data to the terminal (using RS232 protocol).
Chapter 3: AT Commands Reference Command Type Syntax Response/Action Remarks Set ATS24=[] OK The Set command sets the amount of time, in seconds, the G24-L should wait before entering Sleep mode. Read ATS24? OK The Read command returns the current value. The following table shows the S24 parameters. Table 3-135: S24 Parameters Description Number of seconds (0 <= n <= 255) 0 Disable Sleep mode >0 Enable Sleep mode The default value is 0.
Modem Configuration and Profile Command Type Syntax Response/Action Remarks Set ATS102 = OK The Set command sets the delay before sending data to the terminal, and defines a period between sending the wakeup signal and sending data to the terminal. Read ATS102? OK The Read command returns the current value. The following table shows the S102 parameters. Table 3-136: S102 Parameters Description 0 <= value <= 255 The default value is 30 ms.
Chapter 3: AT Commands Reference Table 3-137: Command parameters Description Remarks Time interval between one burst of sent/received data to the other before the terminal enters sleep mode. 0 : Wakeup out feature isn't active. (default when +S100 set command is never used) 1 - 255: Time in seconds. This value is saved on power down.
Modem Configuration and Profile The following table shows the +MSCTS parameters. Table 3-138: +MSCTS Parameters Description 0 In Normal Mode: The CTS is used for Flow Control In Sleep mode: The CTS is inactive. 1 Wakeup In line is Active: The CTS is used for Flow Control. Wakeup In line is Inactive: The CTS is inactive. The default value is 0.
Chapter 3: AT Commands Reference Command Type Set Syntax Response/Action AT+CMEE=[] Remarks OK The Set command enables or disables the use of result code +CME ERROR: as or: an indication of an error relating to the +CME ERROR: functionality of the G24-L. Read AT+CMEE? +CMEE: OK The Read command returns the current setting format of the result code.
Modem Configuration and Profile Table 3-140: +CME Errors 3-208 Description Numeric format followed by verbose format: 0, "phone failure" 1, "no connection to phone" 2, "phone-adaptor link reserved" 3, "operation not allowed" 4, "operation not supported" 5, "PH-SIM PIN required" 6, "PH-FSIM PIN required" 7, "PH-FSIM PUK required" 10, "SIM not inserted" 11, "SIM PIN required" 12, "SIM PUK required" 13, "SIM failure" 14, "SIM busy" 15, "SIM wrong" 16, "incorrect password" 17, "SIM PIN2 req
Chapter 3: AT Commands Reference Table 3-140: +CME Errors (Cont.
Modem Configuration and Profile Table 3-141: +CMS Errors Description Numeric format followed by verbose format: 1, "Unassigned (unallocated) number" 8, "Operator determined barring" 10, "Call barred" 21, "Short message transfer rejected" 27, "Destination out of service" 28, "Unidentified subscriber" 29, "Facility rejected" 30, "Unknown subscriber" 38, "Network out of order" 41, "Temporary failure" 42, "Congestion" 47, "Resources unavailable, unspecified" 50, "Requested facility not subsc
Chapter 3: AT Commands Reference Table 3-141: +CMS Errors (Cont.
Modem Configuration and Profile AT+VTD +CME ERROR: operation not supported 3-212 G24-L AT Commands Reference Manual April 15, 2008
Chapter 3: AT Commands Reference +CEER, Extended Error Report This execution command returns an extended error report containing one or more lines of information text , determined by the manufacturer, providing reasons for the following errors: • Failure in the last unsuccessful call setup (originating or answering) or the in-call modification. • Last call release.
Modem Configuration and Profile The following table shows the +CEER parameters. Table 3-143: +CEER Parameters 3-214 Description 1 Returns numeric response. 2 Returns verbose response. The default value is 2. The total number of characters and line terminators (up to 2041) in the information text. The text must not contain the sequence 0 or OK.
Chapter 3: AT Commands Reference Table 3-143: +CEER Parameters (Cont.
UI (User Interface) UI (User Interface) +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 . All parameters of AT+CRSM are used as specified by GSM 11.11 version 8.7.0. As response to the command, the G24-L 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.
Chapter 3: AT Commands Reference The following table shows the +CRSM parameters. Table 3-144: +CRSM Parameters Description Integer type. Command passed on by the ME to the SIM. 176 178 192 214 220 242 April 15, 2008 Read BINARY Read RECORD Get RESPONSE Update BINARY Update RECORD STATUS Integer type. This is the identifier of a elementary data file on SIM. Mandatory for every except of STATUS.
UI (User Interface) Table 3-144: +CRSM Parameters (Cont.) ,, Description Integer type. Parameters passed on by the ME to the SIM. These parameters are mandatory for every command, except GET RESPONSE and STATUS. READ BINARY Offset high (0...255) Offset low (0...255) Length (0...255) READ BINARY Rec. No. (0...
Chapter 3: AT Commands Reference Table 3-144: +CRSM Parameters (Cont.) Description Integer character format. Information, from the SIM, about the execution of the actual command. These parameters are delivered to the TE in both cases, on successful or failed execution of the command.
UI (User Interface) Table 3-144: +CRSM Parameters (Cont.) Description Error Description 152 80 Increase cannot be performed, Max value reached. 103 XX Incorrect parameter P3 (NOTE: 'XX' gives the correct length or states that no additional information is given ('XX' = '00'). 107 XX Incorrect parameter P1 or P2. 109 XX Unknown instruction code given in the command. 110 XX Wrong instruction class given in the command.
Chapter 3: AT Commands Reference +CRSM: 152,4 OK //Error: access condition not fulfilled AT+CRSM=220,28474,1,4,30, 657469FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF //UPDATE RECORD, ADN file(6F3A), 1sh record, current, 30 bytes data +CRSM: 144,0 OK //Generic success code AT+CRSM=242,28589 //STATUS (6fad) +CRSM: 144,0,000060907F200200000000000991001C080085858585 //Generic success code, 0000-> RFU 6090-> Total amount of memory of the selected directory which is not allocated to any of the DF
UI (User Interface) Example at&v ACTIVE PROFILE: E1 Q0 V1 X4 &C1 &D2 &K3 &Y0 S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:004 S07:050 S08:004 S09:006 S10:014 S12:040 S14:AAH S16:80H S18:000 S21:30H S22:F6H S23:1BH S25:005 S26:001 S27:09H STORED PROFILE 0: E1 Q0 V1 X4 &C1 &D2 &K3 S00:000 S02:043 S03:013 S04:010 S05:008 S07:050 S12:040 STORED PROFILE 1: E1 Q0 V1 X4 &C1 &D2 &K3 S00:000 S02:043 S03:013 S04:010 S05:008 S07:050 S12:040 OK &W, Store User Profile Command Type Set Syntax Response/Action
Chapter 3: AT Commands Reference Table 3-146: Profile Parameters (Cont.
UI (User Interface) &Y, Default User Profile Command Type Set Syntax &Y Response/Action OK or: +CME ERROR: The following table shows the &Y parameters. Table 3-147: &Y Parameters Description User’s profile number: 0 Selects power-up configuration to user’s profile 0 1 Selects power-up configuration to user’s profile 1 The default value is 0.
Chapter 3: AT Commands Reference +CMER, Mobile Equipment Event Reporting Command Type Syntax Response/Action Remarks Set +CMER=[ [,[, [,[,]]]]] OK or: +CME ERROR: The Set command enables/disables an external accessory to receive event reports from the G24-L. In some cases, this is used to track the user activity for redisplay on a vehicle system, or to perform accessory-specific menu operations.
UI (User Interface) The parameter is a two-letter abbreviation of the language. The language codes, as defined in ISO 639, consist of two characters, e.g. "DE", "EN" etc. Command Type Syntax Response/Action Remarks Set AT+CLAN= OK or: ERROR Set command sets the selected language. Read AT+CLAN? +CLAN: The read command displays the currently selected language. Test AT+CLAN=? +CLAN: (list of s) Test command displays list of supported language s.
Chapter 3: AT Commands Reference AT+CLAN="DE" OK AT+CLAN? +CLAN: "DE" OK +CIND, Indicator Control This command is used to query the status of various ME indicators. Command Type Syntax Response/Action Remarks Read AT+CIND? +CIND:,…. Read command returns the status of ME indicators.
UI (User Interface) Example AT+CIND=? +CIND: ("service",(0,1)),("call",(0,1)),("recmsg",(0,1)),("simav",(0,1)),("Roam",(0-2)),("signal",(0-5)),("smsfull", (0,1)) OK AT+CIND? +CIND: 1,0,0,1,0,5,0 OK ATD 035684469; OK CONNECT AT+CIND? +CIND: 1,1,0,1,0,5,0 OK 3-228 G24-L AT Commands Reference Manual April 15, 2008
Chapter 3: AT Commands Reference Unsolicited UI Status Messages Certain actions performed in the G24-L UI by the user are transmitted to all attached accessories, primarily as a notification of a change in state. For example, notification of a phone-book storage, recall operation or setting a call restriction level. These messages are required by certain accessories to maintain local information, or to provide additional information on an auxiliary display.
GPRS GPRS GPRS Functionality GSM 07.07 defines commands that a TE may use to control a GPRS ME via a non-multiplexed character-stream interface. This places certain limitations on the functionality of the interface. For example, it is not possible for the ME to send control information to the TE or for the TE to send commands to the ME whilst the interface is in the online data state, unless the layer 2 protocol itself supports this feature (GSM 07.60-12).
Chapter 3: AT Commands Reference +CGCLASS, GPRS Mobile Station Class This command is used to set the G24-L to operate according to the specified GPRS mobile class. If the requested class is not supported, an ERROR or +CME ERROR response is returned. Extended error responses are enabled by the +CMEE command. Command Type Syntax Response/Action Remarks Read AT +CGCLASS? +CGCLASS: The Read command returns the current GPRS mobile class.
GPRS +CGDCONT, Define PDP Context This command specifies the PDP (Packet Data Protocol) context. Command Type Set 3-232 Syntax Response/Action Remarks AT+CGDCONT=[ [,[, [,[, [,]]]]]] OK The Set command specifies the context identification parameter values for a or: PDP context.
Chapter 3: AT Commands Reference The following table shows the +CGDCONT parameters. Table 3-153: +CGDCONT Parameters Description Numeric parameter specifying a particular PDP context definition (PDP Context Identifier). The parameter is local to the Terminal-Mobile Terminal interface and is used in other PDP context-related commands. The Test command returns the range of permitted values (minimum value=1).
GPRS +CGDCONT: 3,"IP","","0.0.0.0",0,0 OK AT+CGDCONT= 1,"IP","internetg","0.0.0.0",0,0 OK AT+CGDCONT? +CGDCONT: 1,"IP","internetg","0.0.0.0",0,0 +CGDCONT: 2,"IP","","0.0.0.0",0,0 +CGDCONT: 3,"IP","","0.0.0.0",0,0 OK AT+CGDCONT= 1,"IP","internetg","0.0.0.0",0,0 OK AT+CGDCONT=2,"IP","internetg","0.0.0.
Chapter 3: AT Commands Reference Command Type Syntax Response/Action Remarks Read AT+CGQMIN? +CGQMIN: , , , ,, [+CGQMIN: , ,, , , [...]] OK or: +CME ERROR: The Read command returns the current settings for each defined context.
GPRS Example AT+CGQMIN=? +CGQMIN: ("IP"),(0-3),(0-4),(0-5),(0-9),(0-18,31) OK AT+CGQMIN? +CGQMIN: 1,2,4,3,9,10 +CGQMIN: 2,2,4,3,9,10 +CGQMIN: 3,2,4,3,9,10 OK +CGQREQ, Quality of Service Profile (Requested) This command enables the terminal to specify a Quality of Service Profile that is used when the ME sends an Activate PDP Context Request message to the network. Command Type 3-236 Syntax Response/Action Remarks Set AT+CGQREQ=[ [, [, [,
Chapter 3: AT Commands Reference The following table shows the +CGQREQ parameters. Table 3-155: +CGQREQ Parameters Description A numeric parameter that specifies a particular PDP context definition. The value is from 1 to 3. A numeric parameter that specifies the precedence class. A numeric parameter that specifies the delay class. A numeric parameter that specifies the reliability class.
GPRS Command Type Syntax Response/Action Remarks Set AT+CGATT= [] OK or: +CME ERROR: The Set command attaches/detaches the ME to/from the GPRS service. Read AT+CGATT? +CGATT: OK or: +CME ERROR: The Read command returns the current GPRS service state. Test AT+CGATT=? +CGATT: (list of supported s) OK or: +CME ERROR: The Test command requests information on the supported GPRS service states. Note: This command has the characteristics of both the V.
Chapter 3: AT Commands Reference The test command returns a list of defined s. Command Type Syntax Response/Action Set +CGPADDR=[ [, [,…]]] +CGPADDR: , [+CGPADDR: , [...]] Test +CGPADDR=? +CGPADDR: (list of defined s) Remarks The following table shows the +CGPADDR parameters.
GPRS +MGEER, GPRS Extended Error Report This command is used to return the PDP context activation reject cause.
Chapter 3: AT Commands Reference The following table shows the +MGEER parameters. Table 3-158: +MGEER Parameters April 15, 2008 Description Indicates what format of cause needs to be printed. The default value is 2. 1 Returns numeric cause format. 2 Returns text cause format. The PDP context activation reject cause.
GPRS D*99, Request GPRS Service "D" This command enables the ME to perform the actions necessary for establishing communication between the terminal and the external Packet Data Network (PDN). The ITU V.25ter 'D' (Dial) command causes the ME to enter the ITU V.25ter Online Data state and together with the terminal, to start the specified layer 2 protocol. The ME returns CONNECT to confirm acceptance of the command prior to entering the ITU V.25ter Online Data state.
Chapter 3: AT Commands Reference The following table shows the D*99 parameters. Table 3-159: D*99 Parameters Description (GPRS Service Code) Digit string (value 99) which identifies a request to use GPRS. String that identifies the called party in the address space applicable to the PDP. For communications software that does not support arbitrary characters in the dial string, a numeric equivalent may be used.
GPRS +CGPRS, GPRS Coverage This command indicates whether there is GPRS coverage. Note: GPRS coverage will be detected only when SIM has GPRS ability. Command Type Syntax Response/Action Remarks Execute AT+CGPRS +CGPRS: The Execute command returns the mode of the GPRS coverage. OK or: +CME ERROR: Read AT+CGPRS? +CGPRS: The Read command returns the mode of the GPRS coverage OK or: +CME ERROR: The following table shows the +CGPRS parameters.
Chapter 3: AT Commands Reference +CGACT, PDP Context Activate or Deactivate This command activates/deactivates the specified PDP context(s). Command Type Syntax Response/Action Remarks Set AT+CGACT=[ [, [,[,]]]] OK or: NO CARRIER or: +CME ERROR: The Set command activates/deactivates the specified PDP context(s). When the command is completed, the ME remains in V.25 command state.
GPRS Example AT+CGACT=? +CGACT: (0,1) OK AT+CGACT? +CGACT: 1,0 +CGACT: 2,0 +CGACT: 3,0 OK AT+CGACT=1 ERROR //GPRS network not present. Note: In some GPRS networks, +CGACT is not supported. the ATD*99 # command can be used to establish a connection. Activating a context can take up to 150 seconds. Deactivating a context can take up to 40 seconds. When aborting a +CGACT Set command, the context is closed. This can take up to 40 seconds.
Chapter 3: AT Commands Reference • In the first step, the customer application informs the G24-L module that it wants all features to be supported. This operation is performed using the AT+MTKE (Motorola ToolKit Enable) command, which allows activating or deactivating the SIM Toolkit functionality.
GPRS Profile download is performed automatically during device initialization, with no user intervention required. Command Type Read Syntax Response/Action +MTKR? Remarks The Read command displays the current STK profile. +MTKR: The following table shows the +MTKR parameters.
Chapter 3: AT Commands Reference Table 3-164: Profile Structure – Byte 1 (Download) (Cont.
GPRS Table 3-167: Profile Structure – Byte 4 (Proactive SIM) Bit Description b1 Proactive SIM: SELECT ITEM b2 Proactive SIM: SEND SHORT MESSAGE b3 Proactive SIM: SEND SS b4 Proactive SIM: SEND USSD b5 Proactive SIM: SET UP CALL b6 Proactive SIM: SET UP MENU b7 Proactive SIM: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID & IMEI) b8 Proactive SIM: PROVIDE LOCAL INFORMATION (NMR) Table 3-168: Profile Structure – Byte 5 (Event driven information) Bit Description b1 Proactive SIM: SET UP
Chapter 3: AT Commands Reference Table 3-169: Profile Structure – Byte 6 (Event driven information extensions) Bit b5 Description RFU, bit = 0 b6 b7 b8 Table 3-170: Profile Structure – Byte 7 (Multiple card proactive commands) Bit Description b1 Proactive SIM: POWER ON CARD b2 Proactive SIM: POWER OFF CARD b3 Proactive SIM: PERFORM CARD APDU b4 Proactive SIM: GET READER STATUS (Card reader status) b5 Proactive SIM: GET READER STATUS (Card reader identifier) b6 RFU, bit = 0 b7 b8 Table 3-1
GPRS Table 3-172: Profile Structure – Byte 9 (Proactive SIM) Bit Description b1 Sustained DISPLAY TEXT (see 3GPP TS 11.14 version 8.9.0 Release 1999, subclause 6.4.1) b2 SEND DTMF command (see 3GPP TS 11.14 version 8.9.0 Release 1999, subclause 6.4.24) b3 Proactive SIM: PROVIDE LOCAL INFORMATION BCCHChannel List coding, as per 3GPP TS 11.14 version 8.9.0 Release 1999, subclause 12.
Chapter 3: AT Commands Reference Table 3-174: Profile Structure – Byte 11 (Soft keys information) Bit b1 Description Maximum number of soft keys available.
GPRS Table 3-176: Profile Structure – Byte 13 (Bearer independent protocol supported bearers – class "e") Bit Description b1 CSD supported by ME b2 GPRS supported by ME b3 RFU, bit = 0 b4 b5 b6 Number of channels supported by ME b7 b8 Table 3-177: Profile Structure – Byte 14 (Screen height) Bit b1 b2 Description Number of characters supported down the ME display, as defined in 3GPP TS 11.14 version 8.9.0 Release 1999, subclause 5.3.
Chapter 3: AT Commands Reference Table 3-178: Profile Structure – Byte 15 (Screen width) Bit b1 Description Number of characters supported across the ME display, as defined in 3GPP TS 11.14 version 8.9.0 Release 1999, subclause 5.3.2 b2 b3 b4 b5 b6 b7 b8 Variable size fonts supported Table 3-179: Profile Structure – Byte 16 (Screen effects) Bit Description b1 Display can be resized as defined in 3GPP TS 11.14 version 8.9.0 Release 1999, subclause 5.3.
GPRS Table 3-180: Profile Structure – Byte 17 (Bearer independent protocol supported transport interface – class "e") (Cont.
Chapter 3: AT Commands Reference +MTKE, Motorola ToolKit Enable This command enables/disables the SIM ToolKit functionality. Command Type Syntax Response/Action Remarks Set +MTKE= OK or: +CME ERROR: The Set command tells the G24-L in which mode to work. Read +MTKE? +MTKE: The Read command returns the current values. Test +MTKE=? +MTKE: (list of supported s) OK The Test command returns the supported values as a compound value.
GPRS +MTKP, Motorola ToolKit Proactive (Unsolicited Indication) In order to allow the customer to identify the pro-active command sent by the SIM ToolKit, an unsolicited SIM ToolKit indication (with the appropriate information, such as text to display, priorities and so on) is implemented. The following table shows the+MTKP Field Descriptions. Table 3-184: +MTKP Field Descriptions Cmd Type Description Responses 1 Provides data about the "Display text" pro-active command.
Chapter 3: AT Commands Reference The following table shows the +MTKP parameters. Table 3-185: +MTKP Parameters of MTKP Field Description Description ProactiveCmdType=1 (Display Text) 0 1 Text information in ASCII format. Normal priority of display. High priority of display. ProactiveCmdType=2 (Get Inkey) 0 1 2 3 Digit (0-9, *, #,and +) SMS alphabet. UCS2 characters Yes/No 0 1 No help information available. Help information is available.
GPRS Table 3-185: +MTKP Parameters of MTKP Field Description (Cont.) Description Values when ProactiveCmdType=9 (Send SMS) Text information in ASCII format. Values when ProactiveCmdType=10 (Send SS) Text information in ASCII format. Values when ProactiveCmdType=12 (Setup Call) 0 1 2 Set up call, but only if not currently busy on another call. Set up call, putting all other calls (if any) on hold. Set up call, disconnecting all other calls (if any).
Chapter 3: AT Commands Reference Command Type Set April 15, 2008 Syntax AT+MTKP=, [,] Response/Action OK or: +CME ERROR: G24-L AT Commands Reference Manual Remarks The Set command allows the user to answer the following proactive commands: • GET_INKEY Key pressed from the user. • GET_INPUT Message entered by the user. • Enable/disable the DTMF service by the user. • Launch browser. • Set up event kist.
GPRS The following table shows the +MTKP Set parameters. Table 3-186: +MTKP Set Command Parameters Description 2 3 Response for a "Get Inkey" Response for a "Get Input" Values when CmdType=2 (Get Inkey) 0 1 2 Key pressed by the user. Session ended by user. Response given by the user. Help information required by user. Values when CmdType=3 (Get Input) 0 1 2 String of characters entered by the user. Session ended by user.
Chapter 3: AT Commands Reference Send DTMF This proactive SIM service command requests the G24-L to send a DTMF string after successfully establishing a call. This command can be used at any time during a call. The G24-L does not locally generate audible DTMF tones to play to the user. This command can be activated/deactivated by the user using the command +MTKP=24. The setting defined by the user is retained during the currently active call and is restored after a power cycle.
GPRS The diagram below demonstrates the communication between the SIM, the G24-L and the TE regarding a DTMF command during an active voice call.
Chapter 3: AT Commands Reference The following table shows the +MTKP parameters for response code 26. Table 3-187: +MTKP Parameters – Response Code 26 Description 0 1 Success Failure 0 No specific cause can be given 1 Bearer unavailable 2 Browser unavailable 3 G24-L unable to read provisioning data Note: Additional info should be added only in case of failure. 1 Unknown result value.
GPRS The following table describes the events types. Table 3-188: Current Event Types Event MT Call Event Performed by G24; no indication sent to the TE. Call Connected Event Performed by G24; no indication sent to the TE. Call Disconnected Event Performed by G24; no indication sent to the TE. Location Status Event Performed by G24; no indication sent to the TE. User Activity Event Initiated by TE and reported via +MTKP command. TE is responsible for deciding what triggers this event.
Chapter 3: AT Commands Reference The following table shows the Set Event List parameters.
GPRS Language Codes The following table lists an example of the codes for each language supported by the STK for Language Selection Events.
Chapter 3: AT Commands Reference Table 3-190: Sample Language Codes (Cont.
GPRS Table 3-190: Sample Language Codes (Cont.
Chapter 3: AT Commands Reference Table 3-190: Sample Language Codes (Cont.
GPRS Table 3-190: Sample Language Codes (Cont.
Chapter 3: AT Commands Reference +MTKM, Motorola ToolKit Menu (Response) Command Type Syntax Response AT+MTKM Response/Action Remarks +MTKM: [] +MTKM: , , , +MTKM: , , , […]] This result appears after the SIM has sent the proactive command Select Item (as a result of the item selection by the user). The following table shows the +MTKM unsolicited identification parameters.
GPRS AT+MTKM=1,1 OK //Select Item 1. +MTKP: 3,1,0,3,8,0,Enter Country name://User is requested to enter country name AT+MTKP=3,1,"England" OK //User enters the country. //Text information is sent from the SIM. + MTKP: 1,0,"Weather in England is 5ÂşC" +MTKC, Motorola ToolKit Call Control This unsolicited event notifies the terminal when supplementary services, SMS Control or Call Control are modified.
Chapter 3: AT Commands Reference The following table shows the +MTKA parameters. Table 3-194: +MTKA Parameters Description Action type. 0 Disable (default). 1 Enable. Notes: For = 0 (disable) All messages should be sent to the TE automatically. Sending AT+MTKA has not influence. For = 1 (enable) The first proactive message "Display Text" (+MTKP:1,…) should be sent to the TE.
GPRS +MTKP: 1,0,"! YOUR RECHARGE OF TSH: 250.00 TO 0756706666 IS SUCCESSFUL" AT+MTKA // No other message should be display until this command sent. +MTKP: 1,0,"Transaction successful!" AT+MTKA // No other message should be display until this command sent.
Chapter 3: AT Commands Reference The following table shows the +MIPCALL parameters. Table 3-195: +MIPCALL Parameters Description 0 1 "APN" APN of service provider (in quotation marks). Contact your service provider for details. "User name" User name in provider server (in quotation marks). Contact your service provider for details. "Password" Password for provider server (in quotation marks). Contact your service provider for details.
GPRS Command Type Syntax Response/Action Read AT+MIPOPEN? +MIPOPEN:[] for each socket that can be opened or: +MIPOPEN 0 if there are no free sockets. Test AT+MIPOPEN=? +MIPOPEN: (list of supported s),(list of supported s),(list of supported<"Destination IP">s), (list of s),(list of supported s) Remarks The Read command returns the numbers of the sockets that can be opened.
Chapter 3: AT Commands Reference Example AT+MIPOPEN=1,1200,"123.245.213.012",1234,0//Opening socket 1, using TCP protocol, from port 1200, targeting 123.245.213.012 port 1234 +MIPOPEN=2,1300,"123.133.074.192",1242,1//Opening socket 2, using UDP protocol, from port 1300, targeting 123.133.074.192 port 1242 AT+MIPOPEN=1,1222,"123.245.213.012",1234,0//Opening socket 1, using TCP protocol, from port 1222, targeting 123.245.213.
GPRS The +MIPODM command returns a +MIPSTAT unsolicited event if it fails. For example, if it was rejected by the remote side. Command Type 3-280 Syntax Response/Action Remarks Set AT+MIPODM= , , , , OK or: +MIPODM: ,[,,] or: +MIPSTAT: , or: ERROR: The Set command returns and parameters only for sockets opened in Listen mode.
Chapter 3: AT Commands Reference The following table shows the +MIPODM parameters. Table 3-197: +MIPODM Parameters Description Socket ID A unique number that identifies a connection. Valid socket numbers - 1,2,3 and 4 Source Port Port of source site. Port range: 1-65535 (decimal digits) Remote IP IP of the remote site in the format "AAA.BBB.CCC.DDD". The range of each octet is 0-255. The value can be written in 1, 2, or 3 digits. Host-name of remote site.
GPRS +MIPCLOSE, Close a Socket This command causes the G24-L to free the socket accumulating buffer and to close the socket. Note: All data stored in the accumulating buffer will be lost. Refer to “+MIPSETS, Set Size for Automatic Push” on page 3-283 and “+MIPPUSH, Push Data into Protocol Stack” on page 3-285.
Chapter 3: AT Commands Reference +MIPSETS, Set Size for Automatic Push This command causes the G24-L to set a watermark in the accumulating buffer. When the watermark is reached, data is pushed from the accumulating buffer into the protocol stack. Data chunks between the terminal and the G24-L are limited to be smaller than 80 characters (160 characters in coded form). In order to reduce the overhead of sending small amounts of data over the air, the G24-L uses an accumulating buffer.
GPRS +MIPSETS: (1-4),(1-1372) OK AT+MIPSETS? +MIPSETS: 1,100 +MIPSETS: 2,1372 OK //Information provided only for active sockets //Information provided only for active sockets +MIPSEND, Send Data This command causes the G24-L to store the data that the terminal provides in the accumulating buffer, and then send this data using an existing protocol stack when the amount of data reaches the predefined amount (see “+MIPSETS, Set Size for Automatic Push” on page 3-283).
Chapter 3: AT Commands Reference Example (Socket 4 was not opened using +MIPOPEN AT command) AT+MIPSEND=4,"4444" ERROR AT+MIPSEND=1,"4444" +MIPSEND: 1,1370 //1372- 2 chars 'DD' = 1370 OK AT+MIPSEND=? ERROR AT+MIPSEND? +MIPSEND: 1,1372 //Sockets 1 and 2 were opened using + MIPOPEN AT command +MIPSEND: 2,1372 //Sockets 1 and 2 were opened using + MIPOPEN AT command OK +MIPPUSH, Push Data into Protocol Stack This command causes the G24-L to push the data accumulated in its accumulating buffers into the proto
GPRS The following table shows the +MIPPUSH parameters. Table 3-201: +MIPPUSH Parameters Description Socket ID 1,2,3,4Number of valid socket Destination IP IP of destination site in the format AAA.BBB.CCC.DDD. The value can be written in 1, 2 or 3 digits. Destination Port 0-65535Port of destination site. Written in decimal digits.
Chapter 3: AT Commands Reference Example AT+MIPFLUSH=2 command +MIPFLUSH: 2 OK AT+MIPFLUSH=5 ERROR AT+MIPFLUSH? +MIPFLUSH: 1 2 OK //Socket number 2 was previously opened using the +MIPOPEN +MIPRUDP, Receive Data from UDP Protocol Stack This unsolicited event is sent by the G24-L to the terminal when data is received from the UDP protocol stack. Set Command Event +MIPRUDP:,,, The following table shows the +MIPRUDP parameters.
GPRS The following table shows the +MIPRTCP parameters. Table 3-204: +MIPRTCP Parameters Description Socket ID 1,2,3,4 - Number of valid sockets. Left Size of received Data still left in protocol stack. Data Data string received with 0-F hexadecimal digits. String ends with a . Example +MIPRTCP: 3,0,7171 +MIPSTAT, Status Report This unsolicited event is sent to the terminal indicating a change in status.
Chapter 3: AT Commands Reference Event +MIPXOFF: Example +MIPXOFF: //The G24-L detects that the accumulating buffer 1 has reached its Xoff watermark. From this point, the terminal is not allowed to send data, until it receives the +MIPXON command. MIPXON, Flow Control - Xon This command is the unsolicited event that the G24-L sends to the terminal when it detects that it has free memory in the accumulating buffer and can process new +MIPSEND requests, after the +MIPXOFF event.
GPRS parameters before socket activation or when the socket is in active state. Configuration values will be stored in G24-L until power circle. Command Type Syntax Response/Action Remarks Set AT+MIPCONF=< socket>[,[],[ ],[],[< max_close_delay> ][,]] OK or: +CME ERROR: The Set updates TCP stack configuration parameters.
Chapter 3: AT Commands Reference Table 3-206: +MIPCONF Parameters Parameter Description Closing delay required by RFC 793 (100 ms to 7500 ms) NACK/ACK TCP indication feature. Activating this parameter enables G24-L to report the user, in case of losing a TCP connection, what data was received by the remote TCP layer. 0 - feature inactive. 1 - NACK indication active. 2 - ACK indication active.
GPRS +MIPRTCP: 2,130,484541443E3C5449544C453E333032204D6F7665643C2F5449544C453E3C2F484541443E3C424F44 593E0A3C48313E333032204D6F7665643C2F48313E0A54686520646F63756D656E7420686173206D +MIPRTCP: 2,50,6F7665640A3C4120485245463D22687474703A2F2F7777772E676F6F676C652E636F2E696C2F63786 665723F633D505245462533443A544D253344313131393531343833323A5325334467384A637631 +MIPRTCP: 2,0,426A5458472D30636A5926616D703B707265763D2F223E686572653C2F413E2E0D0A3C2F424F44593 E3C2F48544D4C3E0D0A +MIPSTAT: 2,1,40 +MPING, Start Pin
Chapter 3: AT Commands Reference Command Type Read Syntax +MPING? Response/Action The read command displays currently selected parameters values for +MPING set command. If ping sending procedure is currently in process then user selected parameters for AT+MPING command will be displayed, otherwise default parameter values will be displayed.
GPRS Table 3-207: +MPING Command Parameters (Cont.) 3-294 Description Time To Live (TTL). Specifies number of hops (hop is one step, from one router to the next, on the path of a datagram on an IP network), which the Echo Request message may be routed over. The value is set by using TTL field in IP header. Valid value range is from 1 to 255. Default value: 64 The Type Of Service (TOS) is for internet service quality selection.
Chapter 3: AT Commands Reference The following table shows the +MPING unsolicited response parameters. Table 3-208: +MPING Unsolicited Response Parameters Description <"Destination IP"> Specifies the message sender machine (computer), which is identified by IP address 4 octets long in dotted decimal notation. Each octet of IP address has valid value range of 0 to 255.
GPRS Example AT+MIPCALL=1,"internet" OK +MIPCALL: 10.170.4.111 AT+MPING=1,"10.170.4.112" OK +MPING: "10.170.4.112",0,0,400 // Ping remote computer using default parameters //Echo Reply message received, RTT is 400 ms. +MPING: "10.170.4.112",0,0,420 +MPING: "10.170.4.112",0,0,440 +MPING: "10.170.4.112",0,0,410 //Ping request execution is completed. Four Echo Request messages were sent, and four //Echo Reply messages were received. Average RTT is 417 milliseconds. +MPINGSTAT: 0,"10.170.4.
Chapter 3: AT Commands Reference The following table shows the +MPINGSTAT unsolicited response parameters. Table 3-209: +MPINGSTAT Unsolicited Response Parameters April 15, 2008 Description Specifies a status of ping request execution. Defined values: 0 - The unsolicited response with this will be sent to DTE upon completion of ping request.
GPRS Example AT+MIPCALL=1,"internet" OK +MIPCALL: 10.170.4.111 //Ping host www.motorola.com 3 times with =255. All other parameters are default. AT+MPING=1,"www.motorola.com",3,,255 OK //ICMP Echo Reply message received, RTT is 522 ms. +MPING: "88.221.5.223",0,0,522 +MPINGSTAT: 1 // No corresponding reply within timeout. +MPINGSTAT: 3 // Flow Control OFF. +MPINGSTAT: 4 // Flow Control ON, a new Echo Request message is sent immediately. +MPING: "88.221.5.
Chapter 3: AT Commands Reference +MSDNS, Set DNS IP Address This command set/read DNS (Domain Name Server) IP address (primary/secondary) for each socket. If the user doesn't specify DNS servers by AT+MSDNS, G24-L will use default DNS from NW. The defined value(s) will be saved during disconnect PDP context (can be used in next PDP context), but will reset after power cycle.
GPRS Example AT+MSDNS=? +MSDNS: (1-5),(),() OK AT+MSDNS? // read when MIPCALL is disconnected +MSDNS: 1,"0.0.0.0","0.0.0.0" +MSDNS: 2,"0.0.0.0","0.0.0.0" +MSDNS: 3,"0.0.0.0","0.0.0.0" +MSDNS: 4,"0.0.0.0","0.0.0.0" +MSDNS: 5,"0.0.0.0","0.0.0.0" OK AT+MSDNS=2,"212.150.49.10","206.49.94.234" //set socket 2 prim & sec DNS OK AT+MSDNS=4,"62.120.55.10" //set socket 4 prim DNS only OK AT+MSDNS=5,"212.150.49.10","206.49.94.
Chapter 3: AT Commands Reference +MIPCFF, Control Filtering Feature for Incoming TCP Connection The filtering feature aims to protect the G24-L from non-authorized clients trying to establish an IP connection with it. It is applicable for cases where G24-L communicates as a listener with others devices. The filtering feature consists of a "white list" defined per connection. The "white list" can be configured when filtering feature is set to disable and before connection is established.
GPRS Command Type Syntax Response/Action Remarks Set +MIPCFF = ,,[""] Comment: IP in IP CIDR presentation OK or: +CME: Read AT+MIPCFF? +MIPCFF: 1,,, +MIPCFF: 2,,, +MIPCFF: 3,,, +MIPCFF: 4,,, Test AT+MIPCFF =? +MIPCFF=(1-4),(0-4),("IP in CIDR notation") OK or: +CME: The following table shows the +MIPCFF parameters.
Chapter 3: AT Commands Reference The following table shows the +MIPCFF filtering error codes and status. Table 3-212: Filtering Error Codes and Status April 15, 2008 Description Value Error Codes Extended error codes. 3 - Operation not allowed. 20 - Memory full. 22 - Not found. 35 - Text parameter instead of numeric parameter. 36 - Numeric parameter out of bounds. 282 - Inactive socket. Status> Socket filtering status. 2 - Not applicable. 1 - Enabled. 0 - Disabled.
NOP - Compatible NOP - Compatible IGNORED (Compatible Only) Commands The following commands return OK, but do not execute any operation. They are only used to provide backward compatibility.
Chapter 4: Using the Commands Setting Up the G24-L (Power On and Initial Actions) There are three phases of connectivity for the G24-L: • Init General. In this phase, the G24-L is asked to provide basic information which ensures that the phone is functioning properly. • Enabling the SIM. • Registering the SIM on a network in order to see that wireless access is functioning properly.
Setting Up the G24-L (Power On and Initial Actions) Ready GPRS seq.
Chapter 4: Using the Commands Recommended G24-L Initialization after Powerup Figure 4-3 provides a recommended workflow for initializing the G24-L after startup. The following sections explain this workflow in detail.
Recommended G24-L Initialization after Powerup RS232 Lines Setup There is no dynamic detection. Upon power up, the hardware is detected. If USB is detected, then USB is selected. If USB is not connected, then the RS232 is selected. For a pin description, refer to the G24-L Developer’s Kit Manual: 6802984C10.
Chapter 4: Using the Commands Test G24-L Communication This is a preliminary step. During this step, the ability to communicate with the G24-L using AT commands is tested. Start Error No Echo Send 'AT' Check RS232 Connection or Change UART Baud Rate OK End Figure 4-5: Test G24-L Communication Communication example: AT ATE1 AT OK //By default, the echo should be enabled //Confirm that G24-L replies with OK Basic Configuration These are optional steps.
Recommended G24-L Initialization after Powerup 1. Baud setting example: AT+CBAUD=6//Setting baud rate for 19200 OK AT+CBAUD=19200//Same as issuing this command OK 2. RS232 HW lines configuration: &C(DCD), &D(DTR), &K(flow-control). Default settings should be: AT&C1 OK AT&D2 OK AT&K3 OK 3. Modem IDs (optional): +CGMI,+CGMM,+CGMR,+CGSN AT+CGMI +CGMI: "Motorola" OK AT+CGMM +CGMM: "GSM900","GSM1800","GSM1900","GSM850","MODEL=G24-L" OK AT+CGMR +CGMR: "G24-L_G_0C.11.
Chapter 4: Using the Commands SIM Card Status To enable the module to transfer from basic commands to full operational mode, a SIM card must be ready and the PIN enabled. Start AT+CPIN? See Developer’s Guide +CPIN: READY End Figure 4-7: SIM Card Status Note: For a full description of SIM states, see “+CPIN, Enter PIN for Unlocking SIM Card or Enter PUK for Unblocking SIM Card” on page 3-177. The following steps are part of the SIM card status step: 1. Check SIM security: AT+CPIN? 2.
Recommended G24-L Initialization after Powerup G24-L Network Connection In this step, the G24-L detects existing networks (the user must register to a specific network). Start 1 Sec. Delay AT+CREG=1 or 2 OK Wait for Registration Message Example: +CREG: 001,001 End Figure 4-8: G24-L Network Connection 1. Registration and call indications example: +CREG, +CLCC AT+CREG=2 OK AT+CLCC=1 OK 2.
Chapter 4: Using the Commands Terminal Synchronization In this step, the terminal requests the stored phonebook, SMS, and so on, from the G24-L. Start 0.5 Sec.
SMS SMS Managing Stored Messages in the G24-L Memory AT+CPMS="me" //Select NVM as preferred memory storage using the +CPMS command +CPMS: 11,61,11,61,2,20 OK AT+CMGF=1 // move to TEXT mode OK AT+CMGL="ALL" //List all messages in memory storage +CMGL: 225,"STO UNSENT","054565132" +CMGL: 223,"STO UNSENT","4565029" //Example of G24-L response +CMGL: 222,"STO SENT","054565029" +CMGL: 221,"STO SENT","054565132" +CMGL: 220,"STO UNSENT",""
Chapter 4: Using the Commands Setting the Notification Indication for Incoming Messages (Using AT+CNMI) AT+CNMI=,1 //To receive indications of new incoming MT messages, the second parameter of +CNMI should be set to 1 OK +CMTI: "SM",4 //When a new MT message is received, the unsolicited response +CMTI will be displayed, denoting the message index AT+CMGR=4 //Use the new message index to read it +CMGR: "REC UNREAD","+97254565132",,"05/02/13,07:15:36+08" OK AT+CMGD=4 //Delete the message after
SMS Writing, Saving and Sending Messages (Using AT+CMGW and AT+CMSS) Writing messages into the database, with or without destination address.
Chapter 4: Using the Commands Sending Messages (Using AT+CMGS) Sends an SM from the G24-L to the network in TEXT mode, the header parameters will be set according to CSMP settings. In text mode (+CMGF=1): AT+CMGS="054565028" //Writing a message to be sent to specified destination address >This is the message body // ends the prompt text mode and returns to regular AT command mode +CMGS: 238 //Message successfully sent.
Call Control Call Control The following figure is a detailed view of the states the G24-L goes through for Voice and CSD Data, as shown in Figure 4-2. Note that between the time the OK is received and the actual connection occurs, call state alerts are received. Idle Dial Released Alert Connected Hold Figure 4-10: Call States Dialing Using ATD atd+44 34 56 78; OK OK atd17085763400; OK OK ath NO CARRIER OK AT+CHLD=0 NO CARRIER OK atd+44 34 56 78 ...
Chapter 4: Using the Commands atd035659260,345,22; OK OK 345 ... 22 ath NO CARRIER OK atd0356592,60 //VOICE call with tones sent after connecting //Sent as DTMF tones //Pause //Sent as DTMF tones //Voice call is hung up //DATA/FAX call with comma //Comma is ignored; 035659260 is dialed OK Direct Dialing from Phone Book This example uses a phone book with these pre-saved items.
Call Control Dialing the Last Number Example atd035658278; OK OK ath NO CARRIER OK atdl ATDL: "035658278" OK atdl; ATDL: "035658278" OK OK atdl ATDL: "035658278" OK //Last called number is "035658278" //DATA call //VOICE call //Last called number is "035658278,123,78;" //DATA call Voice Call Manipulations Call Waiting AT+CCWA=1 //Enabling the call waiting on G24-L OK atd9311234567; //Originate a voice call OK OK //Voice call connected (...conversation...
Chapter 4: Using the Commands Conference Call atd051632601; //Dialing the first member of the conference OK OK AT+CHLD=2 //Call hold, switch command OK //Active call switched to hold atd035659260; //Calling the second member of the conference OK OK (Dual call state: one call on hold; 2nd is active.) AT+CHLD=3 //Call link command OK //Held call is linked to active call (Active conference of two calls) AT+CLCC //Verifying call state through CLCC //(Verifying call state is optional.
Data Call Data Call Switching Modes (Data Mode/Command Mode) atd054565190 //Calling the remote modem OK aaaaaaaaaaaaa //Receiving binary data from remote side (G24-L is in Data mode) //Sending escape sequence +++ to G24-L (the remote side does not treat +++ as escape) OK //G24-L is in Command mode ati3 //Issuing an AT command Motorola Mobile Phone OK ato //Switching back to Binary mode OK fffffff //Receiving binary data from remote side fghhgatfhgfhfhghhfhfhfhgfhffhgfgfhgfhgfhhh //Sending escape sequence +
Chapter 4: Using the Commands GPRS When using the GPRS, it is recommended to implement a "keep alive" mechanism. The G24-L memory resources should not be used as a buffer for the user, the user maintains its own memory and flow control in its own application. The G24-L has finite limited resources such as network related, SIM card and phone memory. In general the user should use a single resource at a time.
GPRS Using the ATD* Command Set Request GPRS service 'D': ATD*99***(CID)# The CID (Context ID) includes the APN (defined by the AT+CGDCONT command) to which you want to be connected. This depends on the ability of the SIM card to be attached to the different networks. The format ATD*99# may also be used. In this case, the G24-L will first try to activate a non-empty (predefined) CID. If the attempt fails, the G24-L will try the next CID, and so on.
Chapter 4: Using the Commands Changing the Character Set Example When an SMS messages with the following text: "Motorola G24-L OEM Module", is saved inside the G24-L at entry 128, you can read it using several character sets.
Sleep Mode Sleep Mode Note: The notation of TXD and RXD are from the perspective of the terminal unless otherwise specified. The terminal should activate Sleep mode by sending ATS24=n (n - number of seconds). To disable Sleep mode, send ATS24=0.
Chapter 4: Using the Commands STK Display Text/Display Idle Mode Text The SIM card requests to send text to the G24-L and the G24-L displays it on the terminal. Figure 4-12: Display Text Get Inkey The SIM card requests to display text on the terminal, and waits for a response from the terminal (user). The response is a single character. Figure 4-13: Get Inkey Note: All responses to unsolicited events are expected within one minute.
STK Get Input The SIM card requests to display text on the terminal, and waits for a response from the terminal (user). The response is a string. Figure 4-14: Get Input Note: All responses to unsolicited events are expected within one minute. Play Tone The SIM card requests a tone to be played via the SIM. The G24-L sends information about the play tone to the terminal.
Chapter 4: Using the Commands Set Up Menu The terminal requests the STK menu. As a result, the SIM sends the menu items to the terminal. The user then selects an item from the menu. Figure 4-16: Set Up Menu Select Item The user selects an item. As a result, the SIM sends a response to the terminal. Figure 4-17: Select Item Send SMS The SIM requests to send SMS, and the SMS data is displayed on the terminal.
STK Set Up Call The SIM initiates a call, and its data is displayed on the terminal. Figure 4-19: Set Up Call Call Control 1. First, the user makes a call. 2. The call number is sent to the SIM, which decides whether to change the number or not. If the call has been changed, the new number is displayed on the terminal.
Chapter 4: Using the Commands +MTKM: 2,2,"IN THE COUNTRY",0 AT+MTKM=1,1 OK //Select Item 1. +MTKP: 3,1,0,3,8,0,Enter Country name://User is requested to enter country name AT+MTKP=3,1,"England" //User enters the country OK + MTKP: 1,0,"Weather in England is 5ÂşC"//Text is sent from the SIM Send DTMF The SIM card requests to send a DTMF string. The G24-L sends the DTMF during an active voice call, and notifies the terminal using an +MTKP of this sending action.
STK Setup Event List The terminal updates the G24-L on any of the events. The G24-L passes events from the terminal to the SIM card according to the event list. The event list is requested by the SIM using the "setup event list" command.
Chapter 4: Using the Commands TCP/IP TCP Data Transfer Example AT+MIPCALL=1,"orange","test","test" OK +MIPCALL: 172.17.242.86 AT+MIPOPEN=1,1222,"123.245.213.012",1234,0 //Opening socket 1 using TCP protocol, from port 1222, targeting 123.245.213.
TCP/IP +MIPSETS=1,200 sending +MIPSETS: 0 OK +MIPSETS=2,400 sending +MIPSETS: 0 OK +MIPSEND=1,"444444" +MIPSEND:1,1497 OK +MIPSEND=2,"DD" +MIPSEND:2,1499 OK +MIPPUSH=1 +MIPPUSH:0 +MIPPUSH=2 +MIPPUSH:0 +MIPCLOSE=1 +MIPCLOSE:1 OK +MIPCLOSE=2 +MIPCLOSE:2 OK +MIPCALL=0 OK +MIPSETS=1,120 sending +MIPSETS: 0 OK +MIPSEND=1,"444444" //Asking the G24-L to accumulate 200 bytes on socket 1 prior to //Asking the G24-L to accumulate 400 bytes on socket 2 prior to //Passing data to the G24-L socket 2 //Terminal asks
Chapter 4: Using the Commands +MIPXON: 1 more sends from the terminal //G24-L pushed the data into the protocol stack and is able to handle Error in Reopening a Valid Socket AT+MIPCALL=1,"orange","test","test" OK +MIPCALL:123.145.167.230 +MIPOPEN=1,1222,"123.245.213.012",1234,0 //Opening socket 1 using TCP protocol, from port 1222, targeting 123.245.213.012 port 1234 OK +MIPOPEN:1,1 +MIPOPEN? //Terminal checking the status of socket to be ready +MIPOPEN: 2 3 4 MIPOPEN=1,12,123.245.213.
Audio Audio Scenarios for Setting Up Handset Mode or Handsfree Mode Handset Mode AT+MAPATH=1,1 AT+MAPATH=2,1,3 AT+MAPATH=2,3,12 AT+MAFEAT=6,0 AT+MAFEAT=1,1 //Set the input path through the microphone //Set voice and keypad through the earpiece speaker //Set alerts and rings to go through the transducer //Disable echo cancellation and noise suppression //Enable sidetone Handsfree Mode AT+MAPATH=1,1 AT+MAPATH=2,1,15 AT+MAFEAT=1,0 AT+MAFEAT=6,1 //Set the input path through the microphone //Set all tones th
Chapter 5: Tools Tools Overview This chapter describes the G24-L Drivers and application flashing tool. The G24-L Drivers, USB and RS232, enables the use of the G24-L as a PC external modem for performing GPRS packet data connections. The flashing application enables users to reprogram and upgrade G24-L modules SW version through an USB/RS232 interface. More detailed information regarding the drivers and the flashing application tool will be provided in a separate document.
Tools Overview 5-2 G24-L AT Commands Reference Manual April 15, 2008
Appendix A: Reference Tables This appendix contains the following sections: • AT Commands Alphabetical Summary, below • • • • • Character Set Table CS1: (GSM -> UCS-2), Page -17 Character Set Table CS2: (ASCII <-> UTF-8), Page -21 Character Set Table CS3: (UCS-2 <-> UTF-8), Page -21 Character Set Table CS6: (UCS-2 Full Table), Page -21 Character Set Table CS7: (ASCII table), Page -22 Note: Character Set Table CS6: (UCS-2) is provided on CD due to its size.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-2 Description Page &G This command is supported for backward compatibility only, and has no effect. Page 3-304 &J This command is supported for backward compatibility only, and has no effect. Page 3-304 &K This command configures the RTS/CTS flow control. Page 3-135 &L This command is supported for backward compatibility only, and has no effect.
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command April 15, 2008 Description Page \G This command sets the use of the software control. Page 3-197 \J This command adjusts the terminal auto rate. Page 3-197 \K This command is supported for backward compatibility only, and has no effect. Page 3-304 \N This command links the type. Page 3-197 \S This command displays the status of selected commands and S-registers.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-4 Description Page +CCLK This command reads/sets the G24's current date and time settings. Page 3-73 +CCWA This command controls the Call Waiting supplementary service, including settings and querying of the network by the G24-L. Page 3-21 +CDS Unsolicited Response (New SMS-STATUS-REPORT Receipt). Page 3-88 +CDSI Unsolicited Response (New SMS-STATUS-REPORT Indication).
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command April 15, 2008 Description Page +CGPRS This command indicates whether there is GPRS coverage. Page 3-244 +CGQMIN This command sets the minimum acceptable quality of service profile. Page 3-234 +CGQREQ This command returns the requested quality of service profile. Page 3-236 +CGREG This command enables/disables the GPRS network status registration unsolicited result code.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-6 Description Page +CLCC This command returns a list of all current G24-L calls and their statuses, and also enables/disables the unsolicited indication of the call list. Page 3-40 +CLCK This command locks, unlocks or interrogates a G24-L or a network facility . Page 3-184 +CLIP This command controls the Calling Line Identity (CLI) presentation to the terminal when there is an incoming call.
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command April 15, 2008 Description Page +CMUT This command mutes/unmutes the currently active microphone path by overriding the current mute state. Page 3-160 +CMT This unsolicited message forwards the SMS upon its arrival. Page 3-86 +CMTI This unsolicited message, including the SMS index, is sent upon the arrival of an SMS. Page 3-86 +CNMA This command acknowledges the receipt of a +CMT response.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-8 Description Page +CPBS This command selects the memory that is to be used for reading and writing entries in G24s that contain more than one phone book memory. Page 3-60 +CPBW This command enables the user to store a new entry in the phone book, or delete an existing entry from the phone book. Page 3-64 +CPIN This command is only relevant for phones that use SIM cards.
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command April 15, 2008 Description Page +CRSM This command provides limited access to the Elementary Files on the SIM. Page 3-216 +CRTT This command plays one cycle of a ring tone, stops the cycle in the middle, and sets the ring tone to be used. Page 3-173 +CSCA This command handles the selection of the SCA and the TOSCA. Page 3-78 +CSCS This command selects the G24-L character set.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-10 Description Page +EMPC This command unlocks or resets the first PLMN of the inserted SIM. Page 3-187 +EPIN This command is only relevant for phones that use SIM cards. It verifies the PIN2 indicator. Page 3-181 +FMI This command requests manufacturer identification. Page 3-1 +FMM This command requests the model identification. Page 3-2 +FMR This command requests the revision identification.
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command April 15, 2008 Description Page +MAVOL This command enables you to determine a volume setting for a particular feature in a particular accessory. Page 3-166 +MBC This command controls the battery charger process. Page 3-130 +MCSAT This command enables/disables/exercises SMS alert tone for an arriving SMS. Page 3-111 +MCSN This command sets EFmsisdn in the SIM.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-12 Description Page +MIPCALL This command creates a wireless PPP connection with the GGSN, and returns a valid dynamic IP for the G24-L. Page 3-276 +MIPCFF This command sets the Filtering List. Page 3-301 +MIPCLOSE This command causes the G24-L to free the socket accumulating buffer and disconnect the G24-L from a remote side. Page 3-282 +MIPCONF Configure Internal TCP/IP stack.
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command April 15, 2008 Description Page +MIPSTAT This unsolicited event is sent to the terminal indicating a change in link status. Page 3-288 +MIPXOFF This unsolicited event is sent to the terminal to stop sending data. Page 3-288 +MIPXON This unsolicited event is sent to the terminal when the G24-L has free memory in the accumulating buffer.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-14 Description Page +MSCTS This command defines the behavior of the CTS line when the G24-L is in Sleep mode. Page 3-205 +MSDNS This command sets/reads DNS IP address for each socket. Page 3-299 +MTCTS This command sets the CTS pin of the RS232 to not active (high), waits one second and then returns the CTS to active (low).
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command April 15, 2008 Description Page +VTS This command transmits DTMF tones when a voice call is active. Page 3-176 A This command answers an incoming call, placing the G24-L into the appropriate mode, as indicated by the RING message. Page 3-17 A/ This command repeats the last command entered on the terminal. Page 3-177 AT This command checks the AT communication and only returns OK.
AT Commands Alphabetical Summary Table A-1: AT Commands (Alphabetical) (Cont.) AT Command A-16 Description Page N This command is supported for backward compatibility only, and has no effect. Page 3-304 O This command returns a phone to the Online Data mode and issues a CONNECT or CONNECT result code. Page 3-33 P This command is supported for backward compatibility only, and has no effect. Page 3-304 Q This command determines whether to output/suppress the result codes.
Appendix A: Reference Tables Table A-1: AT Commands (Alphabetical) (Cont.) AT Command Description Page X This command defines the data adaptor response set, and the CONNECT result code format. Page 3-193 Y This command is supported for backward compatibility only, and has no effect. Page 3-304 Z This command resets the default configuration. Page 3-199 Character Set Table CS1: (GSM -> UCS-2) The following table shows the conversion between the GSM and UCS-2 character sets.
Character Set Table CS1: (GSM -> UCS-2) Symbol A-18 GSM (GSM 03.
Appendix A: Reference Tables Symbol April 15, 2008 GSM (GSM 03.
Character Set Table CS1: (GSM -> UCS-2) Symbol A-20 GSM (GSM 03.
Appendix A: Reference Tables Symbol GSM (GSM 03.38) 0x77 0x0077 x 0x78 0x0078 y 0x79 0x0079 z 0x7A 0x007A ä 0x7B 0x00E4 ö 0x7C 0x00F6 ñ 0x7D 0x00F1 ü 0x7E 0x00FC à 0x7F 0x00E0 Character Set Table CS2: (ASCII <-> UTF-8) The following table shows the conversion between the ASCII and UTF-8 character sets.
Character Set Table CS7: (ASCII table) Character Set Table CS7: (ASCII table) The following table shows the conversion for the ASCII character set. Decimal A-22 Octal Hex Binary Value Description 000 000 000 00000000 NUL (Null char.
Appendix A: Reference Tables Decimal April 15, 2008 Octal Hex Binary Value Description 023 027 017 00010111 ETB (End of Trans.
Character Set Table CS7: (ASCII table) Decimal A-24 Octal Hex Binary Value Description 051 063 033 00110011 3 052 064 034 00110100 4 053 065 035 00110101 5 054 066 036 00110110 6 055 067 037 00110111 7 056 070 038 00111000 8 057 071 039 00111001 9 058 072 03A 00111010 : (colon) 059 073 03B 00111011 ; (semi-colon) 060 074 03C 00111100 < (less than) 061 075 03D 00111101 = (equal sign) 062 076 03E 00111110 > (greater than) 063 077 03F
Appendix A: Reference Tables Decimal April 15, 2008 Octal Hex Binary Value Description 085 125 055 01010101 U 086 126 056 01010110 V 087 127 057 01010111 W 088 130 058 01011000 X 089 131 059 01011001 Y 090 132 05A 01011010 Z 091 133 05B 01011011 [ (left/opening bracket) 092 134 05C 01011100 \ (back slash) 093 135 05D 01011101 ] (right/closing bracket) 094 136 05E 01011110 ^ (caret/circumfl ex) 095 137 05F 01011111 _ (underscore) 096 140 0
Character Set Table CS7: (ASCII table) Decimal A-26 Octal Hex Binary Value Description 117 165 075 01110101 u 118 166 076 01110110 v 119 167 077 01110111 w 120 170 078 01111000 x 121 171 079 01111001 y 122 172 07A 01111010 z 123 173 07B 01111011 { (left/opening brace) 124 174 07C 01111100 | (vertical bar) 125 175 07D 01111101 } (right/closing brace) 126 176 07E 01111110 ~ (tilde) 127 177 07F 01111111 DEL (delete) G24-L AT Commands Reference
Acronyms and Abbreviations Abbreviation Full Name A A ACCH AT Command Channel - Used for AT-commands, TCP/IP, Internal-GPRS session, Voice-Call, and SMS applications A AGC Automatic Gain Control A AOC Advice of Charge A APN Access Point Name A ASCII A standard seven-bit code character set A ATA AT command for call answer A ATD AT command for call originating A ATH AT command for Hanging-up a call A ATO AT command to return to Data mode after temporarily exiting by ESC B BM Broadcast Mes
Abbreviation Full Name C CTS RS232 pin used for HW flow control. The MGOM uses this pin to stop data transmission from the DTE (on the TXD pin). D DA Destination Address D DCD Data Carrier Detect D DCE Data Communication Equipment (G24) D DCSs Data Coding Schemas D DLC Data Link Connection D DLC0 The multiplexer control channel. D DLCI Data Link Connection Identifier D DSP Digital Signal Processor D DSR Data Set Ready D DSR MGOM is ON and ready to communicate with the DTE device.
Acronyms and Abbreviations Abbreviation Full Name H H HCO April 15, 2008 Hearing Carry Over allows Speech Disabled callers who can hear well on the telephone to listen directly to the person they are talking with. The Speech Disabled Relay user types his or her part of the conversation on a TTY. A Communication Assistant (CA) then speaks the typed conversation, word for word, to the standard telephone user.
Abbreviation Full Name I I IC Integrated Circuit I ID Identification I IDLC Information DLC - refers to all the data channels except the control channel. I IMEI International Mobile Equipment Identification. I ISR Interrupt Service Routine I ITU International Telecommunication Union L L LCA Low Cost Architecture M MCC/MNC Mobile Country Code / Mobile Network Code M ME Mobile Equipment M MGOM Motorola G24-L GSM OEM Modem, also called Base Band processor.
Acronyms and Abbreviations Abbreviation Full Name Q, R Q QoS Quality of Service Q RA Recipient Address Q RI Ring Indicator Q RTS Request To Send Q RTS Q RXD RS232 pin used for HW flow control. The DTE uses this pin to stop data transmission from the MGOM (on the RXD pin). DTE received data from MGOM.
Abbreviation Full Name T T TBD To Be Defined T TDMA Time Division Multiple Access T TE Terminal Equipment T TLS T TODA Transport Layer Security protocol for establishing a secure connection between a client and a server. TLS is based on SSL 3.0 protocol.
Index Numerics 8859 Character Set Management, 1-14 A Abbreviations General System, 2-2 Aborting Commands, 2-8 Access Control Commands, 3-177 Acknowledgement New Message, 3-84 Address Service Center, 3-78 Argument Types in AT Commands, 2-7 ASCII Character Set Management, 1-13 AT Command Reference +CALM, Alert Sound Mode, 3-171 +CFUN, Shut Down Phone Functionality, 3-141 +CLVL, Loudspeaker Volume, 3-159 +CPOL, Preferred Operators, 3-125 +CRSL, Call Ringer Level, 3-158 +CSVM, Voice Mail Server, 3-66 +VTD, To
Index A-A +CPAS, Phone Activity Status, 3-39 +CPBF, Find Phone Book Entries, 3-63 +CPBR, Read Phone Book Entries, 3-61 +CPBS, Select Phone Book Memory, 3-60 +CPBW, Write Phone Book Entry, 3-64 +CPIN, Enter PIN for Unlocking SIM Card or Enter PUK for Unblocking SIM Card, 3-177 +CPMS, Preferred Message Storage, 3-76 +CPUC, Price per Unit and Currency Table, 3-48 +CPWD, Change Password, 3-183 +CR, Service Reporting Control, 3-49 +CRC, Cellular Result Codes, 3-17 +CREG, Network Registration Status, 3-119 +CRL
B-D Index Sleep Mode, 3-202 S94, Sidetone Effect, 3-161 S96, Echo Canceling, 3-162 Sleep Mode AT Commands, 3-200 Sleep Mode Commands, 3-199 Sleep Mode HW Signals, 3-200 SMS Commands, 3-75 Subscriber Unit Identity, 3-1 System Date and Time Access Commands, 3-73 TCP/IP, 3-276 UI, 3-216 Unsolicited UI Status Messages, 3-229 V, G24 Response Format, 3-190 X, Result Code Selection and Call Progress Monitoring Control, 3-193 Z, Reset to Default Configuration, 3-199 AT Commands Summary, 1-15, A-1 AT Commmands Ref
Index E-M Receive from TCP Protocol Stack, 3-287 Receive from UDP Protocol Stack, 3-287 Send, 3-284 Data Call, 4-18 Data Calls Managing, 3-9 Receiving, 3-10 Date Read/Set, 3-73 Default Configuration Reset, 3-199 Dial Last Number, 3-14 Dial Command, 3-11 Dialing, 3-9 Electronic Telephone Service, 3-10 Directory Access Commands, 3-60 DTE-DCE Serial Port Rate, 3-133 DTE-DCE Serial Port Rate, 3-133 E Echo, 3-192 Echo Cancel, 1-9 Echo Canceling, 3-162 Equipment Report Mobile Error, 3-206 Error Handling Comman
N-S Send from Storage, 3-101 Write to Memory, 3-103 Mobile Equipment Report Error, 3-206 Mobile Station Class, 3-231 Mode Types in AT Commands, 2-7 Model ID Request, 3-2 Modem Configuration, 3-190 Profile, 3-190 Modem ID, 3-1 Subscriber Unit Identity, 3-1 Modem Register Commands, 3-190 Modes Switching, 3-10 MSISDN(s) Request, 3-6 Mute Input Devices, 3-168 N Network Commands, 3-117 Network Registration, 3-121 Status, 3-119 Noise Suppress, 1-9 NOP - Compatible, 3-304 O OEM Features Improved, 1-3 Online Dat
Index T-W Unblocking, 3-177 Unlocking, 3-177 Sleep Mode HW Signals, 3-200 Set Delay, 3-202 Sleep Mode AT Commands, 3-200 Sleep Mode Commands, 3-199 SM, 3-216 SMS, 1-11, 4-10 Features and Benefits, 1-11 Overview, 1-11 Technical Description, 1-12 SMS Commands, 3-75 Socket Close, 3-282 Open, 3-277 S-parameters in Command Token Types, 2-6 S-Registers Show Status, 3-197 S-Regsiter Return Last Updated, 3-198 Status Commands and S-Registers in Effect, 3-197 Network Registration, 3-119 Phone Activity, 3-39 Status
W-W April 15, 2008 Index G24-L AT Commands Reference Manual Index-7
MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. ©Copyright 2007 Motorola, Inc. Java™ Technology and/or J2ME™ : Java and all other Java–based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. UNIX® : UNIX is a registered trademark of The Open Group in the United States and other countries.