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. reserves the right to make changes to any products described herein and reserves the
right to revise this document and to make changes from time to time in content hereof with no obligation to notify any person of
revisions or changes. Motorola, Inc. does not assume any liability arising out of the application or use of any product, software, or
circuit described herein; neither does it convey license under its patent rights or the rights of others.
It is possible that this publication may contain references to, or information about Motorola products (machines and programs),
programming, or services that are not announced in your country. Such references or information must not be construed to mean
that Motorola intends to announce such Motorola products, programming, or services in your country.
Copyrights
This instruction manual, and the Motorola products described in this instruction manual may be, include or describe copyrighted
Motorola material, such as computer programs stored in semiconductor memories or other media. Laws in the United States and
other countries preserve for Motorola and its licensors certain exclusive rights for copyrighted material, including the exclusive
right to copy, reproduce in any form, distribute and make derivative works of the copyrighted material. Accordingly, any
copyrighted material of Motorola and its licensors contained herein or in the Motorola products described in this instruction
manual may not be copied, reproduced, distributed, merged or modified in any manner without the express written permission of
Motorola. Furthermore, the purchase of Motorola products shall not be deemed to grant either directly or by implication, estoppel,
or otherwise, any license under the copyrights, patents or patent applications of Motorola, as arises by operation of law in the sale
of a product.
SPECIFICATIONS SUBJECT TO CHANGE WITHOUT NOTICE
Computer Software Copyrights
The Motorola and 3rd Party supplied Software (SW) products described in this instruction manual may include copyrighted
Motorola and other 3rd Party supplied computer programs stored in semiconductor memories or other media. Laws in the United
States and other countries preserve for Motorola and other 3rd Party supplied SW certain exclusive rights for copyrighted
computer programs, including the exclusive right to copy or reproduce in any form the copyrighted computer program.
Accordingly, any copyrighted Motorola or other 3rd Party supplied SW computer programs contained in the Motorola products
described in this instruction manual may not be copied (reverse engineered) or reproduced in any manner without the express
written permission of Motorola or the 3rd Party SW supplier. Furthermore, the purchase of Motorola products shall not be deemed
to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents or patent applications of
Motorola or other 3rd Party supplied SW, except for the normal non-exclusive, royalty free license to use that arises by operation
of law in the sale of a product.
VENDOR COPYRIGHT
Apache Software Foundation - Copyright 2004-2005 All Rights Reserved
Usage and Disclosure Restrictions
License Agreements
The software described in this document is the property of Motorola, Inc. and its lic ensors. It is furnished by express license
agreement only and may be used only in accordance with the terms of such an agreement.
Copyrighted Materials
Software and documentation are copyrighted materials. Making unauthorized copies is prohibited by law. No part of the software
or documentation may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or
computer language, in any form or by any means, without prior written permission of Motorola, Inc.
High Risk Materials
Components, units, or third-party products used in the product described herein are NOT fault-tolerant and are NOT designed,
manufactured, or intended for use as on-line control equipment in the following hazardous environments requiring fail-safe
controls: the operation of Nuclear Facilities, Aircraft Navigation or Aircraft Communication Systems, Air T raffic Control, Life
Support, or W eapons Sy stems (High Risk Acti vities"). Motorola and its supplier(s) specifically disclaim any expressed or implied
warranty of fitness for such High Risk Activities.
Page 3
Trademarks
MOTOROLA and the Stylized M Logo are registered in the US Patent & T rademark Of fice. All other product or service names are
the property of their respective owners.
April 15, 2008G24-L AT Commands Reference Manualxv
Page 20
List of Tables
xviG24-L AT Commands Reference ManualApril 15, 2008
Page 21
Preface
Note: All references to G24-L also apply to G24-LC, except where otherwise
noted.
Manual Scope
This manual introduces the G24-L A T 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.
Target Audience
This manual is intended for software developers who communicate with the G24-L device using
the AT commands, and create applications to communicate with the G24-L device using the AT
commands.
Manual Organization
This manual contains the following chapters:
• “Preface” provides a scope for this manual, document convention, safety instructions and a
liability notification.
• “Chapter 1: Product Features” introduces the new product features and provides a list of the
AT commands.
• “Chapter 2: Introduction to AT Commands” provides an introduction to the AT commands,
and includes a general explanation of the command’s format and usage. It also describes
supported character sets and error handling.
• “Chapter 3: AT Commands Reference” provides a reference to all available AT commands,
including examples, where relevant.
• “Chapter 4: Using the Commands” provides scenarios and examples for implementing
various G24-L functionality, including G24-L setup and connectivity, SMS, call control, data
calls, GPRS, Sleep mode, audio, STK and TCP/IP.
• “Chapter 5: Tools” describes the the G24-L drivers and application flashing tool.
• “Appendix A: Reference Tables” provides conversions between different character sets. It
also provides an alphabetical list of all the AT commands.
April 15, 2008G24-L AT Commands Reference Manualxvii
Page 22
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.
Text Conventions
The following special paragraphs are used in this guide to point out information that must be read.
This information may be set-off from the surrounding text, but is always preceded by a bold title
in capital letters:
Note
Note: Presents additional, helpful, noncritical information that you can use.
Warning
Warning:Presents information to warn you of a potentially hazardous situation in which there
is a possibility of personal injury.
Important
Important: Presents information to help you avoid an undesirable situation
or provides additional information to help you understand a topic or concept.
Caution
Caution:Presents information to identify a situation in which damage to software, stored
data, or equipment could occur, thus avoiding the damage.
xviii G24-L AT Commands Reference ManualApril 15, 2008
Page 23
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!. . . safety depends on you!
The following general safety precautions must be observed during all phases of operation,
service, and repair of the equipment described in this manual. Failure to comply with these
precautions or with specific warnings elsewhere in this manual violates safety standards of
design, manufacture, and intended use of the equipment. Motorola, Inc. assumes no liability for
the customer’s failure to comply with these requirements. The safety precautions listed below
represent warnings of certain dangers of which we are aware. You, as the user of this product,
should follow these warnings and all other safety precautions necessary for the safe operation of
the equipment in your operating environment.
Preface
Ground the instrument
To minimize shock hazard, the equipment chassis and enclosure must be connected to an
electrical ground. If the equipment is supplied with a three-conductor AC power cable, the power
cable must be either plugged into an approved three-contact electrical outlet or used with a threecontact to two-contact adapter. The three-contact to two-contact adapter must have the grounding
wire (green) firmly connected to an electrical ground (safety ground) at the power outlet. The
power jack and mating plug of the power cable must meet International Electrotechnical
Commission (IEC) safety standards.
Note: Refer to “Grounding Guideline for Cellular Radio Installations”–Motorola part no.
68P081150E62.
Do not operate in an explosive atmosphere
Do not operate the equipment in the presence of flammable gases or fumes. Operation of any
electrical equipment in such an environment constitutes a definite safety hazard.
Do not service or adjust alone
Do not attempt internal service or ad justment unless another person, capable of rendering first aid
is present.
April 15, 2008G24-L AT Commands Reference Manualxix
Page 24
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. Under certain conditions, dangerous
voltages may exist even with the power cable removed
• always disconnect power and discharge circuits before touching them
Do not substitute parts or modify equipment
Because of the danger of introducing additional hazards, do not install substitute parts or perform
any unauthorized modification of equipment. Contact Motorola Warranty and Repair for service
and repair to ensure that safety features are maintained.
Batteries
Batteries can cause property damage and/or bodily injury such as burns if a conductive material
such as jewelry, keys, or beaded chains touch exposed terminals. The conductive material may
complete an electrical circuit (short circuit) and become quite hot. Exercise care in handling any
charged battery, particularly when placing it inside a pocket, purse, or other container with metal
objects. Use only Motorola original batteries and chargers.
Your battery may cont ain symbols, defined as follows:
SymbolDefinition
Important safety information will follow.
Your battery or phone should not be disposed of in a fire.
Your battery or phone may require recycling in accordance with
local laws. Contact your local regulatory authorities for more
information.
Your battery or phone should not be thrown in the trash.
Your phone contains an internal lithium ion battery.
Li Ion BATT
xx G24-L AT Commands Reference ManualApril 15, 2008
Page 25
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.
Caring for the Environment
The following information is provided to enable regulatory compliance with the European Union
(EU) Directive 2002/96/EC Waste Electrical and Electronic Equipment (WEEE) when using
Motorola equipment in EU countries.
Preface
Disposal of Motorola equipment in EU countries
Please do not dispose of Motorola equipment in landfill sites.
In the EU, Motorola in conjunction with a recycling partner will ensure that equipment is
collected and recycled according to the requirements of EU environmental law.
Please contact the Customer Network Resolution Center (CNRC) for assistance. The 24 hour
telephone numbers are listed at
http://mynetworksupport.motorola.com
Select Customer Network Resolution Center contact information.
Alternatively if you do not have access to CNRC or the internet, contact the Local Motorola
Office.
Disposal of Motorola equipment in non-EU countries
In non-EU countries, dispose of Motorola Networks equipment in accordance with national and
regional regulations.
RoHS Compliance
The G24-L/LC product meets the European Union directive for RoHS compliance.
The RoHS compliance is subject to a declaration of conformity that may be viewed upon request.
April 15, 2008G24-L AT Commands Reference Manualxxi
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.
The two symbols shown below indicate the product is recyclable and the number denotes the
Environmental Friendly Use Period for the EIP indicated above it.
Transceiver module & Accessories
Except Battery
Limitation of Liability
The Products are not designed, intended, or authorized for use as components in systems intended
for surgical implant into the body; in other applications intended to support or sustain life; for the
planning, construction, maintenan ce, operation or use of any nuclear facility; for the flight,
navigation, communication of aircraft or ground support equipment; or in any other application in
which the failure of the Product could create a situation where personal injury or death may occur.
If CUSTOMER should use any Product or provide any Product to a third party for any such use,
CUSTOMER hereby agrees that MOTOROLA is not liable, in whole or in part, for any claims or
damages arising from such use, and further agrees to indemnify and hold MOTOROLA harmless
from any claim, loss, cost or damage arising from such use.
EXCEPT AS SPECIFI CALLY ST ATED ABOVE, THE PRODUCTS ARE PROVIDED "AS IS"
AND MOTOROLA MAKES NO OTHER WARRANTIES EXPRESS, IMPLIED,
STATUTORY, OR OTHERWISE REGARDING THE PRODUCTS. MOTOROLA
SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY
xxii G24-L AT Commands Reference ManualApril 15, 2008
AND FITNESS FOR A PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF
DEALING OR USAGE OF TRADE.
Under no circumstances shall MOTOROLA be liable to CUSTOMER or any other par t y fo r any
costs, lost revenue or profits or for any other special, incidental or consequential damages, even if
Battery
Page 27
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.
The preceding states MOTOROLA's entire liability for MOTOROLA's breach or failure to
perform under any provision of this Agreement.
Warranty Notification
Motorola guarantees to you, the original purchaser, the OEM module and accessories which you
have purchased from an authorized Motorola dealer (the "Products"), to be in conformance with
the applicable Motorola specifications current at the time of manufacture for a term of [1] year
from date of purchase of the Product(s) (Warranty Term).
You must inform Motorola of the lack of conformity to the applicable specifications of any of the
Products within a period of two (2) months from the date on which you detect a defect in
material, workmanship or lack of conformity and in any event within a term not to exceed the
Warranty Term, and must immediately submit the Product for service to Motorola's Authorized
Repair or Service Center. Motorola shall not be bound by Product related statements not directly
made by Motorola nor any warranty obligations applicable to the seller.
Preface
A list of the Motorola Call Center numbers is enclosed with this Product.
During the Warranty term, Motorola will, at its discretion and without extra charge, as your
exclusive remedy, repair or replace your Product which does not comply with this warranty; or
failing this, to reimburse the price of the Product but reduced to take into account the use you
have had of the Product since it was delivered. This warranty will expire at the end of the
Warranty Term.
This is the complete and exclusive warranty for a Motorola OEM module and accessories and in
lieu of all other warranties, terms and conditions, whether express or implied.
Where you purchase the product other than as a consumer, Motorola disclaims all other
warranties, terms and conditions express or implied, such as fitness for purpose and satisfactory
quality.
In no event shall Motorola be liable for damages nor loss of data in excess of the purchase price
nor for any incidental special or consequential damages* arising out of the use or inability to use
the Product, to the full extent such may be disclaimed by law.
This Warranty does not affect any statutory rights that you may have if you are a consumer, such
as a warranty of satisfactory quality and fit for the purpose for which products of the same type
are normally used under normal use and service, nor any rights against the seller of the Products
arising from your purchase and sales contract.
(*)including without limitation loss of use, loss of time, loss of data, inconvenience, commercial
loss, lost profits or savings.
How to Get Warranty Service?
In most cases the authorized Motorola dealer which sold and/or installed your Motorola OEM
module and original accessories will honor a warranty claim and/or provide warranty service.
Alternatively, for further information on how to get warranty service please contact either the
April 15, 2008G24-L AT Commands Reference Manualxxiii
Page 28
Claiming
Claiming
customer service department of your service provider or Motorola's call Center at
n2csfs01@motorola.com.
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. The Product should also be accompanied by a label with your name, address, and telephone
number; name of operator and a description of the problem.
In order to be eligible to receive warranty service, you must present your receipt of purchase or a
comparable substitute proof of purchase bearing the date of purchase. The phone should also
clearly display the original compatible electronic serial number (IMEI) and mechanic serial
number [MSN]. Such information is contained with the Product.
You must ensure that all and any repairs or servicing is handled at all times by a Motorola
Authorized Service Center in accordance with the Motorola Service requirements.
In some cases, you may be requested to provide additional information concerning the
maintenance of the Products by Motorola Authorized Service Centers only, therefore it is
important to keep a record of any previous repairs, and make them available if questions arise
concerning maintenance.
Conditions
This warranty will not apply if the type or serial numbers on the Product has been altered, deleted,
duplicated, removed, or made illegible. Motorola reserves the right to refuse free-of-charge
warranty service if the requested documentation can not be presented or if the information is
incomplete, illegible or incompatible with the factory records.
Repair, at Motorola's option, may include reflashing of software, the replacement of parts or
boards with functionally equivalent, reconditioned or new parts or boards. Replaced parts,
accessories, batteries, or boards are warranted for the balance of the original warranty time
period. The Warranty Term will not be extended. All original accessories, batteries, parts, and
OEM module equipment that have been replaced shall become the property of Motorola.
Motorola does not warrant the installation, maintenance or service of the products, accessories,
batteries or parts.
Motorola will not be responsible in any way for problems or damage caused by any ancillary
equipment not furnished by Motorola which is attached to or used in connection with the
Products, or for operation of Motorola equipment with any ancillary equipment and all such
equipment is expressly excluded from this warranty.
When the Product is used in conjunction with ancillary or peripheral equipment not supplied by
Motorola, Motorola does not warrant the operation of the Product/peripheral combination and
Motorola will not honor any warranty claim where the Product is used in such a combination and
it is determined by Motorola that there is no fault with the Product. Motorola specifically
disclaims any responsibility for any damage, whether or not to Motorola equipment, caused in
any way by the use of the OEM module, accessories, software applications and peripherals
(specific examples include, but are not limited to: batteries, chargers, adapters, and power
supplies) when such accessories, software applications and peripherals are not manufactured and
supplied by Motorola.
xxiv G24-L AT Commands Reference ManualApril 15, 2008
Page 29
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. Defects or damage from improper testing, operation, maintenance, installation, adjustment,
unauthorized software applications or any alteration or modification of any kind.
4. Breakage or damage to antennas unless caused directly by defects in material or
workmanship.
5. Products disassembled or repaired other than by Motorola in such a manner as to adversely
affect performance or prevent adequate inspection and testing to verify any warranty claim.
6. Defects or damage due to range, coverage, availability, grade of service, or operation of the
cellular system by the cellular operator.
7. Defects or damage due to moist, liquid or spills of food.
Preface
8. Control unit coil cords in the Product that are stretched or have the modular tab broken.
9. All plastic surfaces and all other externally exposed parts that are scratched or damaged due
Depending on operating conditions and your usage habits, wear and tear might take place of
components including mechanical problems related to Product housing, paint, assembly, subassemblies, displays and keyboards and any accessories which are not part of the Product's in-box
configuration. The rectification of faults generated through wear and tear and the use of
consumable items like batteries beyond their Optimum Performance Time as indicated in the
product manual is considered to be your responsibility and therefore Motorola will not provide
the free Warranty repair service for these items.
Installed Data
Please make and retain a note of all data you have inserted into your product. For example names,
addresses, phone numbers, user and access codes, notes etc. before submitting your product for a
warranty service as such data may be deleted or erased as part of the repair or service process.
Please note if you have downloaded material onto your product, for example ring tones, ring
tunes, screensavers, wallpaper, games, etc. These may be deleted or erased as part of the repair
process or testing process. Motorola shall not be responsible for such m atters. The repair or
testing process should not affect any such material that was installed by Motorola on your product
as a standard feature.
to customer normal use.
Out of Warranty Repairs
If you request Motorola to repair your product any time after the warranty term or where this
warranty does not apply due to the nature of the defect or fault, then Motorola may in its
discretion carry out such repairs subject to you paying Motorola its fees for such a repair or it may
refer you to an authorized third party to carry out such repairs.
April 15, 2008G24-L AT Commands Reference Manualxxv
Page 30
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
VersionDate IssueRemarks
ASeptember 25, 2007Initial Release
BJanuaty 15, 2008Major update that include the following features: TCP/IP and STK
xxvi G24-L AT Commands Reference ManualApril 15, 2008
Page 31
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.
Features and Benefits
GPRS enables the cost-effective and efficient use of network resources for packet mode data
applications:
• Always connected.
• No setup time before data transmission.
• Cost change based on current data communication (not time based).
Technical Description (GPRS – Class B Operation)
The G24-L is attached to both GPRS and other GSM services, but can only operate one set of
services at a time (GPRS or CSD).
The G24-L can activate a GPRS context and at the same time be alerted for an incoming CSD
call.
This functionality is available on the G24-L single serial line by following the steps below:
1. While in GPRS, listen to the RI signal (RS232) for an incoming CSD call ring.
April 15, 2008G24-L AT Commands Reference Manual1-1
Page 32
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. Once the connection is established,
data can be transferred to and from the remote side.
The user should take the CSD call setup time into account.
Network operators charge the user for the call time regardless of data usage.
Features and Benefits
CSD operation enables the terminal to perform a data transfer over a circuit switched link.
It enables the user to:
• Connect to a remote modem without any Internet network involvement.
• Own a real IP address and enable its access by connecting to an external ISP.
The following are examples of standard CSD call uses:
• Connecting an Internet Service Provider (ISP).
• Remotely accessing corporate Intranet via Remote Access Server (RAS).
• User specific protocol, where the user defines both the remote and local sides.
Technical Description
GSM network operators typically support the non-transparent CSD bearer service through a
modem interworking function. This means that a G24-L initiates a data call and the network
routes the call to the modem interworking function, which is located at the Mobile Switching
Center (MSC) of the GSM network. The modem interworking function then dials the number
supplied by the mobile station.
This is different from voice calls, where the GSM network itself routes the call, often to another
mobile station on the same network. The GSM network does not route data calls - it dials the
requested number on behalf of the mobile station and leaves the routing to the external wireline
telephone network. The main reason for this is that the GSM network has information about what
the user wants to do with the data call. For example, the user may be contacting his or her Internet
Service Provider (ISP) to send email or dialing the corporate Intranet to set up a virtual private
network (VPN) connection to retrieve confidential customer information from a company
database.
1-2 G24-L AT Commands Reference ManualApril 15, 2008
Page 33
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.
SIM Application Toolkit (STK)
Overview
The SIM Toolkit (STK, also known as the SIM Application Toolkit or SAT) is a set of
applications operated by the network provider (usually the module's SIM provider). If the STK is
supported and enabled on the mobile side, specific data can be obtained via menu browsing.
Chapter 1: Product Features
Features and Benefits
The G24-L STK enables the terminal to obtain information via menus created by the provider, for
example, "local news" or "weather info". These menus are provider dependent. Enabling the STK
allows the provider to perform other actions regarding call control, SMS etc.
Tech nical Description
The STK supports the specific mechanism(s) that SIM applications require to interact and operate
with the G24-L. Using this mechanism, the SIM can notify the terminal, via the G24-L, that a
specific action is requested. A full list of supported actions is listed in the Proactive SIM section.
For more information regarding the STK mechanism, refer to the GSM 11.11 [20], GSM 11.14
ETSI standards.
Profile Download
Profile downloading provides a mechanism for the G24-L to transmit information describing its
capabilities to the SIM. During the early, profile download phase of the protocol, the G24-L
negotiates and confirms its ability to support the capabilities requested by the STK.
Data Transfer into the SIM
STK data transfer uses the short message service (SMS) as a transfer layer.
April 15, 2008G24-L AT Commands Reference Manual1-3
Page 34
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. The
SIM can issue a variety of protocol commands through this mechanism, for example:
• Displaying text
• Sending a short message
• Setting up a voice call to a number held by the SIM
• Setting up a data call to a number whose bearer capabilities are held by the SIM
• Sending an SS control or USSD string
• Playing a tone
• Initiating a dialogue with the user (get inkey, get input)
• Providing local information from the G24-L to the SIM
• Profile download
• Send DTMF
• Set up idle text mode
• Launch browser
• Set up event list
Menu Selection
The SIM supplies a set of possible menu entries via a proactive SIM command. The menu
selection mechanism is used to transfer the SIM application menu item selected by the user to the
SIM and then via SMS to the provider.
Call Control by SIM
When this service is activated by the SIM, all dialed digit strings, supplementary service control
strings and USSD strings are first passed to the SIM before the G24-L sets up the call, the
supplementary service operation or the USSD operation. The SIM has the ability to allow, disable
or modify the call. The STK has the ability to replace a call request, a supplementary service
operation or a USSD operation with another call, for example, a call request by the G24-L can be
diverted to a different destination.
1-4 G24-L AT Commands Reference ManualApril 15, 2008
Page 35
Chapter 1: Product Features
World Wide
Web
GSM/
Gateway
G24-L
Ter m in a l
RS232
PPP Connection
GPRS
Signaling
GPRS
TCP/UDP IP
Connection
Internet Site
www...
AT Commands
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.
Figure 1-1: System Overview
The three layers of connections are:
• Physical links
• Point-to-point links
• TCP/UDP links
TCP/IP
When establishing the TCP/IP connection the G24-L can only be the "initiator". The TCP/IP
feature enables the G24-L to be a wireless end point for a TCP/IP socket.
Note: The TCP protocol use the value TTL (Time to live) = 64.
Creating TCP/IP Connections
Connection from the G24-L to the Web
The following occurs when creating a TCP/IP connection from the G24-L to the Web:
1. The G24-L connects to the GPRS network and receives an IP address (using the +MIPCALL
command).
April 15, 2008G24-L AT Commands Reference Manual1-5
Page 36
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
3. Once the connection is established, data is transferred freely in both directions (up load and
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. When using this
2. The target side activates the "server application" (The term "server application" means an
3. After connecting to the GPRS network, the "server" sends its IP address to the G24-L using
4. The server application listens on a known port, waiting for G24-L to connect.
5. The G24-L connects to the same GPRS network as the server, and receives an IP address
6. The G24-L initiates a TCP/IP connection with the listening "server". (It knows the IP
and port number).
download).
application the TCP/IP is external to the OEM. (External TCP stack is used).
application that has the ability to listen on a given IP address and port number).
an alternative connection (for example, CSD, SMS and so on).
(using the +MIPCALL command).
address and port number of the server).
7. Once the server is connected, the TCP/IP connection is created and data can be transferred
freely in both directions (upload and download).
UDP/IP
The set of AT commands created for the TCP/IP connection is used for the UDP/IP connection as
well. Therefore, UDP/IP must open a UDP stack using the MIPOPEN AT command. The
connection created does not change any concept regarding the
UDP/IP known protocol (which is connectionless), this is just an easy way for the terminal to
specify to the G24-L which of the four possible stacks should be used.
When establishing the UDP/IP connection, the G24-L is both the "initiator" and the "listener".
Creating UDP/IP Connections
Connection with another G24
The following occurs during a UDP/IP connection with another G24:
1. Side A:
– The G24-L connects to the GPRS network and receives an IP address (using the
+MIPCALL command).
– The G24-L opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and
selecting the protocol UDP).
2. Side B:
– The G24-L connects to the GPRS network and receives an IP address (using the
+MIPCALL command).
– The G24-L opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and
selecting the protocol UDP).
1-6 G24-L AT Commands Reference ManualApril 15, 2008
Page 37
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.
Note: Every +MIPPUSH sets the destination IP address and destination port number for the
current and future transactions. These values are used for the next push if not explicitly
overwritten.
Connection from the G24-L (client/server) to WEB (client/server)
The following occurs when creating a UDP/IP connection from the G24-L (client/server) to WEB
(client/server):
1. Client side:
– The G24-L client connects to the GPRS network and receives an IP address (using the
+MIPCALL command).
– The G24-L opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and
selecting the protocol UDP).
2. The G24-L sends data to the Website, as the Web site’s IP address is known and is public,
and the port number is previously agreed upon.
3. Sending (accumulating) data is done by the +MIPSEND command.
4. Actual send is done by the +MIPPUSH command by specifying the Website IP address and
Website port number.
5. Server side:
– After receiving the first packet from the client, the server knows the IP address and port
number of the G24-L.
– The IP address and port number for the specific mobile G24-L should be saved in the DB.
Note: Every +MIPPUSH sets the destination IP address and destination port number for the
current and future transactions. These values are used for the next push if not explicitly
overwritten.
Features and Benefits
The TCP/UDP IP feature provides the terminal with the following benefits:
• Up to four simultaneous protocol connections.
• Ability to pass data via the protocol stack using AT commands (command mode). This
relieves the terminal from switching the RS232 to "binary mode" and back to "command
mode".
• Ability to use UDP and TCP simultaneously.
• No need for protocol support from the terminal - only data sending and receiving.
• Reduced memory utilization. The G24-L manages the protocol stack and therefore saves
terminal memory.
• Ability to receive the incoming TCP connections.
• Ability to accept IP connections only if the IP belongs to a defined IP white list.
April 15, 2008G24-L AT Commands Reference Manual1-7
Page 38
Improved OEM Features
Tech nical 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
Point-to-point layer links:
• AT command protocol is used to transfer data between the terminal and the G24-L.
• After authentication, the G24-L is linked to the GGSN using PPP protocol.
• The GGSN is connected to its Internet service provider using some protocol.
TCP / UDP layer:
• The G24-L can transfer data with the WEB using either TCP/IP or UDP/IP protocols.
• The protocol stacks in the terminal or in the OEM must be managed when using TCP/IP or
telephone or cable).
UDP/IP protocols. The G24-L software can manage these stacks internally. This enables the
G24-L to relieve the terminal from the job of managing these protocols.
Note: Currently, the embedded TCP/IP feature may be used only for mobile-initiated
connections. The embedded. TCP/IP feature cannot listen on a port for incoming
connections.
Audio
Overview
The audio (digital and analog) feature in the G24-L module involves three main issues: path
(routes the current input and output devices), gain (volume management) and algorithm. For
more information, refer to “Audio” on page 3-155.
Features and Benefits
The following algorithm related features are provided:
Sidetone
Sidetone reduces the microphone audio input that is routed to the selected speaker so that the
person speaking can hear himself or herself talking. This creates a slight echo because the speaker
1-8 G24-L AT Commands Reference ManualApril 15, 2008
Page 39
Chapter 1: Product Features
1
2
Mic
Spkr
Mic
Spkr
Echo
G24-L
Remote
1
5
Mic
OutIn
Out line is filtered
by In line
Spkr
3
4
2
Problem
Loop
1
2345
Solution
(
(
4
31
Suppression
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.
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).
Figure 1-3: Echo Suppression
Noise Suppress
Noise suppression improves audio quality in all modes by suppressing environ men t noise from
being picked up by the input device.
Tech nical Description
The path features provide full control over the navigation of the audio in the product.
April 15, 2008G24-L AT Commands Reference Manual1-9
The gain features provide full control over the volume levels of the different output accessories
and tones.
Page 40
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.
1-10 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 41
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 messages can be written and displayed in various coding schemes, including ASCII
and UCS2.
• Reception of an incoming message can invoke an indication to the terminal. This feature is
configurable using the command AT+C NMI. Short messages received during data calls are
not indicated.
• Short messages can be sent and received simultaneously with GSM voice, data and fax calls.
• Cell broadcast messages can also be selected and received on the G24-L. The G24-L enables
registration to specific broadcast channels.
Chapter 1: Product Features
April 15, 2008G24-L AT Commands Reference Manual1-11
Page 42
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.
Incoming messages1SIM-dependent
SMS TypeSMS IndexMax Number of SMS
2
...
20
Outgoing and CB
messages
21250
22
...
270
1-12 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 43
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. ASCII was established to achieve compatibility between various types of data
processing equipment.
GSM Character Set Management
Chapter 1: Product Features
In G24-L, the GSM character set is defined as octant stream. This means that text is displayed not
as GSM characters but in the hex values of these characters.
UCS2 Character Set Management
UCS2 is the first officially standardized coded character set, eventually to include the characters
of all the written languages in the world, as well as all mathematical and other symbols.
Unicode can be characterized as the (restricted) 2-octet form of UCS2 on (the most general)
implementation level 3, with the addition of a more precise specification of the bi-directional
behavior of characters, as used in the Arabic and Hebrew scripts.
The 65,536 positions in the 2-octet form of UCS2 are divided into 256 rows with 256 cells in
each. The first octet of a character representation denotes the row number, the second the cell
number. The first row (row 0) contains exactly the same characters as ISO/IEC 8859-1. The first
128 characters are thus the ASCII characters. The octet representing an ISO/IEC 8859-1 character
is easily transformed to the representation in UCS2 by placing a 0 octet in front of it. UCS2
includes the same control characters as ISO/IEC 8859 (also in row 0).
UTF-8 Character Set Management
UTF-8 provides compact, efficient Unicode encoding. The encoding distributes a Unicode code
value's bit pattern across one, two, three, or even four bytes. This encoding is a multi-byte
encoding.
UTF-8 encodes ASCII in a single byte, meaning that languages using Latin-based scripts can be
represented with only 1.1 bytes per character on average.
UTF-8 is useful for legacy systems that want Unicode support because developers do not have to
drastically modify text processing code. Code that assumes single-byte code units typically does
not fail completely when provided UTF-8 text instead of ASCII or even Latin-1.
April 15, 2008G24-L AT Commands Reference Manual1-13
Page 44
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. The other UCS2 codes are transformed to between two and six octets in the
range between 80h and FF. Text containing only characters in Character Set Table CS3
(UTF-8 <-> UCS-2) is transformed to the same octet sequence, irrespective of whether it was
coded with UCS-2.
8859-1 Character Set Management
ISO-8859-1 is an 8 bit character set - a major improvement over the plain 7 bit US-ASCII.
Characters 0 to 127 are always identical with US-ASCII and the positions 128 to 159 hold some
less used control characters. Positions 160 to 255 hold language-specific characters.
ISO-8859-1 covers most West European languages, such as French (fr), Spanish (es), Catalan
(ca), Basque (eu), Portuguese (pt), Italian (it), Albanian (sq), Rhaeto-Romanic (rm), Dutch (nl),
German (de), Danish (da), Swedish (sv), Norwegian (no), Finnish (fi), Faroese (fo), Icelandic (is),
Irish (ga), Scottish (gd) and English (en). Afrikaans (af) and Swahili (sw) are also included,
extending coverage to much of Africa.
1-14 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 45
AT Commands Summary
The following list contains a summary of all the G24-L AT commands sorted by functionality.
AT CommandDescriptionPage
Modem ID
Subscriber Unit Identity
Chapter 1: Product Features
Table 1-1: AT Commands
+CGMI This command displays manufacturer identification.
+GMIThis command displays manufacturer identification.
+FMIThis command displays manufacturer identification.
+CGMMThis command displays the model identification.
+GMMThis command displays the model identification.
+FMMThis command displays the model identification.
+CGMRThis command displays the revision identification.
+GMRThis command displays the revision identification.
+FMRThis command displays the revision identification.
+CGSNThis command displays the product serial number identification.
+GSNThis command requests the product serial number identification.
+CSCSThis command selects the G24-L character set.
+CIMIThis command displays the International Mobile Subscriber Identity
number.
+CFSN
I This command displays various G24-L information items.
This command is used to query the manufacturing serial
number
+CNUMThis command displays up to five strings of text information that
$This command displays a list of all the AT commands supported by
+CLACThis command displays a list of all the AT commands supported by
Call Control
Call Control Commands
DThis command places a voice call on the current network, when
D>This command places a voice/fax/data call on the current network
April 15, 2008G24-L AT Commands Reference Manual1-15
Page 3-6
identify the G24-L.
Page 3-7
the G24-L.
Page 3-8
the G24-L.
Page 3-11
issued from an accessory device.
Page 3-12
by dialing directly from the G24-L phone book.
Page 46
AT Commands Summary
AT CommandDescriptionPage
Table 1-1: AT Commands (Cont.)
DLThis command places a voice call to the last number dialed.
HThis command hangs up, or terminates a particular call.
AThis command answers a n incoming call, pl acing the G24-L into the
appropriate mode, as indicated by the RING message.
+CRC This command controls whether to present the extended format of
the incoming call indication.
RING This unsolicited event is received when an incoming call (voice,
data or fax) is indicated by the cellular network.
+CRINGThis unsolicited event indicates the type of inco mi ng call.
+CLIPThis command controls the Calling Line Identity (CLI) presentati on
to the terminal when there is an incoming call.
+CCWAThis command controls the Call Waiting supplementary service,
including settings and querying of the network by the G24-L.
+CHLDThis command controls the Call Hold and Multiparty Conversation
supplementary services.
+CCFCThis command controls the call-forwarding supplementary service.
+CLIRThis command enables/disables the sending of caller ID information
to the called party, for an outgoing call.
+CBSTThis command handles the selection of the bearer service and the
connection element to be used when data calls are originated.
Page 3-14
Page 3-15
Page 3-17
Page 3-17
Page 3-17
Page 3-17
Page 3-19
Page 3-21
Page 3-23
Page 3-27
Page 3-29
Page 3-31
OThis command returns a phone to the Online Data mode and issues a
CONNECT or CONNECT <text> result code.
&QThis command selects the asynchronous mode, and has no effect.
+CHUPThis command causes the G24-L to hang up the current GSM call.
+CSNSThis command handles the selection of the bearer or teleservice to
be used when a mobile terminated single numbering scheme call is
established.
+MDCThis command enables you to select the desired messages to be
displayed upon connection of a voice call with a remote party.
+CTFR1This 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.
+MVC
This AT command is used to choose and configure the
priority order of the supported voice codecs (vocoders).
+MTTYThis command is used to enable/disable the TTY (Te le Typewriter)
support in the G24-L.
Call Status Messages
+CPASThis command displays the current activity status of the G24-L, for
example, call in progress, or ringing.
Page 3-33
Page 3-33
Page 3-34
Page 3-34
Page 3-36
Page 3-37
Page 3-38
Page 3-57
Page 3-39
1-16 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 47
Chapter 1: Product Features
Table 1-1: AT Commands (Cont.)
AT CommandDescriptionPage
+CLCCThis command displays a list of all current G24-L calls and their
statuses, and also enables/disables the unsolicited indication of the
call list.
+MCSTThis command displays the current state of the call processing, and
also enables/disables the unsolicited indication of any change in the
call processing state.
Call Advice of Charge Messages
+CAOC This command displays information about the cost of calls.
+CACMThis command resets the Advice of Charge accumulated call meter
value in the SIM file, EFACM.
+CAMMThis command sets the Advice of Charge accumulated call meter
maximum value in the SIM file, EFACMmax.
+CPUCThis command sets the parameters of the Advice of Charge-related
price per unit and currency table found in the SIM file, EFPUCT.
+CRThis command controls whether or not the extended format of an
outgoing call is displayed or not.
Supplementary Services
+CSSNThis command handles the enabling and disabling of supplementary
+CUSDThis command allows control of Unstructured Supplementary
Service Data (USSD), according to GSM 02.90.
Page 3-40
Page 3-42
Page 3-44
Page 3-46
Page 3-47
Page 3-48
Page 3-49
Page 3-50
Page 3-53
+COLPThis command refers to the GSM supplementary service COLP,
Connected Line Identification Presentation, which enables a calling
subscriber to get the connected line identity (COL) of the called
party after setting up a mobile-originated call.
Phone Books and Clock
Directory Access Commands
+CPBSThis command handles the selection of the memory to be used for
reading and writing entries in G24-Ls that contain more than one
phone book memory.
+CPBRThis command recalls phone book entries from a specific entry
number, or from a range of entries.
+CPBFThis command searches the currently active phone book for a
particular entry, by name.
+CPBWThis command stores a new entry in the phone book, or deletes an
existing entry from the phone book.
+CSVMThis command handles the selection of the number to the voice mail
server.
+MDSIThis command enables unsolicited reporting of indications of SIM
deactivation and invalidation.
+MCSNThis command sets EFmsisdn in the SIM.
Page 3-56
Page 3-60
Page 3-61
Page 3-63
Page 3-64
Page 3-66
Page 3-67
Page 3-69
April 15, 2008G24-L AT Commands Reference Manual1-17
Page 48
AT Commands Summary
AT CommandDescriptionPage
System Date and Time Access Commands
Table 1-1: AT Commands (Cont.)
+CCLKThis command reads/sets the G24-L's current date and time settings.
SMS
SMS Commands
+CSMSThis command handles the selection of the SMS message service
type.
+CPMSThis command handles the selection of the preferred storage area for
messages.
+CMGFThis command handles the selection of message formats.
+CSCAThis command handles the selection of the SCA and the TOSCA.
+CSMPThis command sets the Text Module parameters.
+CSDHThis command shows the Text Mode parameters.
+CNMIThis command sends an unsolicited indication when a new SMS
message is received by the G24-L.
+CNMAThis command acknowledges the receipt of a +CMT response.
+CMTIThis unsolicited message, including the SMS message index, is sent
upon the arrival of an SMS message.
+CMTThis unsolicited message displays the received SMS-DELIVER
message.
Page 3-73
Page 3-75
Page 3-76
Page 3-77
Page 3-78
Page 3-79
Page 3-81
Page 3-82
Page 3-84
Page 3-86
Page 3-86
+CDSI
This unsolicited message indicates that a new
SMS-ST ATUS-REPORT message was received, and is stored
in location <index>.
+CDS
This unsolicited message displays the received
SMS-DELIVER message.
+CMGLThis command displays a list of SMS messages stored in the G24-L
memory.
+MMGLThis command disp lays a list of SMS mess ag es st ored in th e G24-L
memory.
+CMGRThis command reads selected SMS messages from the G24-L
memory.
+MMGRThis command reads selected SMS messages from the G24-L
memory.
+MMARThis command changes the status of an SMS message in the G24-L
memory from "REC UNREAD" to "REC READ".
+CMSSThis command selects and sends pre-stored messages from the
message storage.
+CMGWThis command writes and saves messages in the G24-L memory .
+CMGDThis command deletes messages from the G24-L memory.
Page 3-88
Page 3-88
Page 3-89
Page 3-89
Page 3-94
Page 3-94
Page 3-101
Page 3-101
Page 3-103
Page 3-108
1-18 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 49
Chapter 1: Product Features
Table 1-1: AT Commands (Cont.)
AT CommandDescriptionPage
+CGSMSThis command handles the selection of the service or service
preference used by the G24-L to send mobile-originated SMS
messages.
+CMGSThis command sends an SM from the G24-L to the network.
+MCSATThis command enables/disables/exercises SMS alert tone for an
arriving SMS.
Network
Network Commands
+CSQThis command displays the signal strength received by the G24-L.
+CRLPThis command displays the Radio Link Protocol parameters.
+CREGThis command enables/disables the network status registration
unsolicited result code.
+CGREGThis command enables/disables the GPRS network status
registration unsolicited result code.
+COPSThis command enables accessi ng the network registration
information, as well as select and register the GSM network
operator.
+CPOLThis command is used to edit the list of preferred operators located
in the SIM card.
Page 3-109
Page 3-110
Page 3-111
Page 3-117
Page 3-118
Page 3-119
Page 3-121
Page 3-122
Page 3-125
+MFSThis command is used to determine how long the G24-L waits
before attempting to re-register after a registration attempt has failed
and the G24-L is not registered.
Hardware Information
Hardware Information Commands
+CBCThis command queries the battery charger connection.
+MBC
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).
+CBAUDThis command sets the baud rate.
+IPRThis command is responsible for setting and saving the request baud
rate.
+MTDTRThis command checks and displays the physical current status of the
DTR pin of the RS232.
+MTCTSThis command sets the CTS pin of the RS232 to not active (high),
waits one second and then sets the CTS to active (low).
&KThis command configures the RTS/CTS flow control.
&CThis command determines how the state of the DCD line relates to
the detection of the received line signal from the distant end.
Page 3-126
Page 3-129
Page 3-130
Page 3-132
Page 3-133
Page 3-134
Page 3-135
Page 3-135
Page 3-136
April 15, 2008G24-L AT Commands Reference Manual1-19
Page 50
AT Commands Summary
AT CommandDescriptionPage
Table 1-1: AT Commands (Cont.)
&DThis command determines how the G24-L responds when the DTR
(Data T erminal Ready) status is changed from ON to OFF during the
online data state.
+MCWAKEThis command displays reports on the status of the GPRS/GSM
coverage.
+MGGINDThis command configures the service indicator on pin 49 of the 70
pin connector to be GPRS or GSM.
+CFUNThis command shuts down the phone functionality of smart phones
and PDAs with phone capabilities.
+ICFThis 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.
S97This command indicates whether an antenna is physically connected
to the G24-L RF connector.
+MRSTThis command enables customer software to perform a hard reset to
the G24-L unit.
+MIOC
+MIOD
+MMADThis command reads and monitors digital value from a specified
This command defines the G24-L 8 GPIO pins data value.Page 3-144
This command defines the G24-L 8 GPIO pins configuration. Page 3-147
ADC.
Page 3-138
Page 3-139
Page 3-140
Page 3-141
Page 3-142
Page 3-143
Page 3-143
Page 3-149
+MPCMCThis command defines whether the PCM clock is generated
continuously or not, when module is in digital audio mode.
Audio
Basic Audio Setup Commands
+CRSLThis command handles the selection of the incoming call ringer and
alert tone (SMS) sound level on the alert speaker of the G24-L.
+CLVLThis command sets the volume of the internal loudspeaker (which
also affects the key feedback tone) of the G24-L.
+CMUTThis command mutes/unmutes the currently active microphone path
by overriding the current mute state.
S94This S-parameter represents the Boolean status, On/Off, of the
sidetone feature.
S96This S-parameter represents the Boolean status, On/Off, of the echo
cancelling feature in the handsfree.
Advanced Audio Setup Commands
+MAPATH This command sets/requests the active input accessory, and the
output accessory for each feature.
+MAVOLThis command determines a volume setting for a particular feature
in a particular accessory.
Page 3-153
Page 3-158
Page 3-159
Page 3-160
Page 3-161
Page 3-162
Page 3-163
Page 3-166
1-20 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 51
Chapter 1: Product Features
Table 1-1: AT Commands (Cont.)
AT CommandDescriptionPage
+MAMUTThis command controls the muting/unmuting of all input paths
(MIC, HDST_MIC, DIGITAL_RX).
+MAFEATThis command controls the various algorithm features, such as
sidetone, echo cancel and noise suppress.
General Audio Commands
+MADIGITALThis command switches between analog and digital audio modes.
+CALMThis command handles the selection of the G24-L’s alert sound
mode.
+MMICGThis command handles the selection of microphone gain values.
+CRTTThis command plays one cycle of a ring tone, stops the cycle in the
middle, and sets the ring tone to be used.
+VTDThis command handles the selection of tone duration.
+VTSThis command transmits a string of DTMF tones when a voice call
is active.
Access
Access Control Commands
A/This command repeats the last command en tered on the terminal.
ATThis command checks the AT communication and only returns OK.
Page 3-168
Page 3-169
Page 3-170
Page 3-171
Page 3-172
Page 3-173
Page 3-175
Page 3-176
Page 3-177
Page 3-177
+CPINThis command is only relevant for phones that use SIM cards. It
unlocks the SIM card when the proper SIM PIN is provided, and
unblocks the SIM card when the proper SIM PUK is provided.
+EPINThis command is only relevant for phones that use SIM cards. It
verifies the PIN2 indicator.
+TPINThis command queries the number of remaining SIM PIN/PUK
entering attempts.
+CPWDThis command sets a new password for the facility lock.
+CLCKThis command locks, unlocks or interrogates a G24-L or a network
facility <fac>.
+EMPC
This command unlocks or resets the first PLMN of the
inserted SIM.
Modem Configuration and Profile
Modem Register Commands
VThis command determines the response format of the data adapter
and the contents of the header and trailer transmitted with the result
codes and information responses.
QThis command determines whether to output/suppress the result
codes.
Page 3-177
Page 3-181
Page 3-182
Page 3-183
Page 3-184
Page 3-187
Page 3-190
Page 3-191
April 15, 2008G24-L AT Commands Reference Manual1-21
Page 52
AT Commands Summary
AT CommandDescriptionPage
Table 1-1: AT Commands (Cont.)
EThis command defines whether the G24-L echoes the characters
received from the user, (whether input characters are echoed to
output).
XThis command defines the data adaptor response set, and the
CONNECT result code format.
SnThis command reads/writes values of the S-registers, and includes
registers 1-49, 94, 96 (Audio) and 102 (Sleep mode).
\SThis command displays the status of selected commands and
S-registers.
\GThis command sets the use of the software flow control.
\JThis command adjusts the terminal auto rate.
\NThis command displays the type of link.
+CBANDThis command is supported for backward compatibility only, and
has no effect.
?This command displays the most recently updated value stored in
the S-register.
&F This command restores the factory default configuration profile.
ZThis command resets the default configuration.
Sleep Mode Commands
Page 3-192
Page 3-193
Page 3-194
Page 3-197
Page 3-197
Page 3-197
Page 3-197
Page 3-197
Page 3-198
Page 3-198
Page 3-199
S24This S-parameter activates/disables the Sleep mode. If the parame ter
value is greater than 0, it represent the number of seconds till the
G24-L enters sleep mode.
S102This S-register sets the v alue of the delay before sending the data to
the terminal.
+MSCTSThis command defines the behavior of the CTS line when the G24-L
is in Sleep mode.
Error Handling Commands
+CMEEThis command enables/disables the use of result code +CME
ERROR: <err> as an indication of an error relating to the
functionality of the G24-L.
+CEERThis command returns an extended error report containing one or
more lines of information text, determined by the manufacturer,
providing the reasons for the
call-clearing errors.
User Interface
+CRSMThis command provides limited access to the Elementary Files on
the SIM.
&VThis command displays the current active configuration and stored
user profiles.
&WThis command stores the user profile.
Page 3-202
Page 3-203
Page 3-205
Page 3-206
Page 3-213
Page 3-216
Page 3-221
Page 3-222
1-22 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 53
Chapter 1: Product Features
Table 1-1: AT Commands (Cont.)
AT CommandDescriptionPage
&YThis command displays the default user profile.
+CMERThis command enables an external accessory to receive key press
information from the G24-L’s internal keypad.
+CLANThis command handles the selection of language in the ME.
+CINDThis command is used to query the status of various ME indicators.
Unsolicited UI Status Messages
+CIEVAn unsolicited indication regarding various phone indications that is
sent to the DTE when the <ind> parameter of the +CMER command
is set to 1.
GPRS
GPRS Commands
+CGCLASS This command sets the GPRS mobile station class.
+CGDCONT This command specifies the PDP (Packet Data Protocol) context.
+CGQMINThis command sets the minimum acceptable quality of service
profile.
+CGQREQ This command displays the requested quality of service profile.
+CGATT This command attaches the G24-L to the GPRS network.
+CGPADDRThis command reads the allocated PDP addresses for the specified
context identifiers.
Page 3-224
Page 3-225
Page 3-225
Page 3-227
Page 3-229
Page 3-231
Page 3-232
Page 3-234
Page 3-236
Page 3-237
Page 3-238
+MGEERThis command returns the PDP context activation reject cause.
D*99This command enables the ME to pe rform the actions necessary for
establishing communication between the terminal and the external
PDN.
+CGPRSThis command indicates whether there is GPRS coverage.
+CGACTThis command activates/deactivates the PDP Context.
STK Commands
+MTKRThis command displays the profile that is downloaded from the
G24-L to the SIM during the SIM initializatio n process.
+MTKEThis command enables/disables the SIM ToolKit functionalities.
+MTKPThis is both a command and an unsolicited event. The command
responds to an unsolicited event.
+MTKMThis is both a command and an unsolicited event. The command
selects items from the menu.
+MTKCThis unsolicited event notifies the terminal when supplementary
services, SMS Control or Call Control are modified.
+MTKAThis command sends acknowledge response from the user (TE) to
the STK.
Page 3-240
Page 3-242
Page 3-244
Page 3-237
Page 3-247
Page 3-257
Page 3-258
Page 3-272
Page 3-274
Page 3-274
April 15, 2008G24-L AT Commands Reference Manual1-23
Page 54
AT Commands Summary
AT CommandDescriptionPage
TCP/IP Commands
Table 1-1: AT Commands (Cont.)
+MIPCALL This command creates a wireless PPP connection with the GGSN,
and returns a valid dynamic IP for the G24-L.
+MIPOPENThis command causes the G24-L to initialize a new socket and open
a connection with a remote side.
+MIPODMThis command causes the G24-L to initialize a new socket in Online
Data Mode and open a connection with a remote side.
+MIPCLOSEThis command causes the G24-L to free the socket accumulating
buffer and disconnect the G24-L from a remote side.
+MIPSETSThis 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.
+MIPSENDThis command causes the G24-L to transmit the data that the
terminal provides, using an existing protocol stack.
+MIPPUSHThis command causes the G24-L to push the data accumulated in its
accumulating buffers into the protocol stack.
+MIPFLUSHThis command causes the G24-L to flush (delete) data accumulated
in its accumulating buffers.
+MIPRUDPThis unsolicited event is sent to the terminal when data is received
from the UDP protocol stack.
+MIPRTCPThis unsolicited event is sent to the terminal when data is received
from the TCP protocol stack.
Page 3-276
Page 3-277
Page 3-279
Page 3-282
Page 3-283
Page 3-284
Page 3-285
Page 3-286
Page 3-287
Page 3-287
+MIPSTATThis unsolicited event is sent to the terminal indicating a change in
link status.
+MIPXOFFThis unsolicited even t is sent to the terminal to stop sending data.
+MIPXONThis unsolicited event is sent to the terminal when the G24-L has
free memory in the accumulating buffer.
+MIPCONFConfigure Internal TCP/IP stack.
+MPINGThis command will allow verifying IP connectivity to another
remote machine (computer) by sending one or more Internet Control
Message Protocol (ICMP) Echo Request messages.
+MPINGSTATThis is the unsolicited response that the G24-L sends to the terminal
to inform of ping execution status update and provide summary
statistics of ping request when ping request execution is completed.
+MSDNSThis command sets/reads DNS IP address for each socket.
+MIPCFFThis command sets the Filtering Li st ..
NOP Compatible
Ignored (Compatible Only) Commands
%C This command is supported for backward compatibility only, and
has no effect.
Page 3-288
Page 3-288
Page 3-289
Page 3-289
Page 3-289
Page 3-296
Page 3-299
Page 3-301
Page 3-304
1-24 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 55
Chapter 1: Product Features
Table 1-1: AT Commands (Cont.)
AT CommandDescriptionPage
>his command is supported for backward compatibility only, and
has no effect.
&JThis command is supported for backward compatibility only, and
has no effect.
<his command is supported for backward compatibility only, and
has no effect.
&MThis command is supported for backward compatibility only, and
has no effect.
&PThis command is supported for backward compatibility only, and
has no effect.
&QThis command is supported for backward compatibility only, and
has no effect.
&RThis command is supported for backward compatibility only, and
has no effect.
&SThis command is supported for backward compatibility only, and
has no effect.
&TThis command is supported for backward compatibility only, and
has no effect.
\BThis command is supported for backward compatibility only, and
has no effect.
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
\AThis command is supported for backward compatibility only, and
has no effect.
\KThis command is supported for backward compatibility only, and
has no effect.
FThis command is supported for backward compatibility only, and
has no effect.
LThis command is supported for backward compatibility only, and
has no effect.
M This command is supported for backward compatibility only, and
has no effect.
NThis command is supported for backward compatibility only, and
has no effect.
PThis command is supported for backward compatibility only, and
has no effect.
TThis command is supported for backward compatibility only, and
has no effect.
YThis command is supported for backward compatibility only, and
has no effect.
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
Page 3-304
April 15, 2008G24-L AT Commands Reference Manual1-25
Page 56
AT Commands Summary
1-26 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 57
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 are used to request services from the G24-L cellular modem, such as:
• Call services: dial, answer and hang up
• Cellular utilities: send/receive SMS
• Modem profiles: Auto Answer
• Cellular Network queries: GSM signal quality
General Symbols Used in AT Commands Description
The following syntax definitions apply in this chapter:
SyntaxDefinition
<CR>
<LF>
<...>
[...]
//
April 15, 2008G24-L AT Commands Reference Manual2-1
Carriage return character, specifi ed by the va lue of the S3-register.
Line-feed character, specified by the value of the S4-register.
Name enclosed in angle brackets is a syntax element. The brackets themselves do not
appear in the command line.
Optional sub-parameter of a command or an optional part of terminal information
response, enclosed in square brackets. The brackets themselves do not appear in the
command line. When the sub-parameter is not provided in the parameter type
commands, the new value equals its previous value. In action type commands, the
action should be performed on the basis of the recommended default setting of the
sub-parameter.
Denotes a comment, and should not be included in the command.
Page 58
AT Commands Protocol
Command
Terminal
G24-L
N
M
Response
ResultsCode
Indications
N=0,1,...,
K
M=0,1,...,
L
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.
Figure 2-1: AT Commands Protocol
The AT commands interface is basically a Modem Services Upon Request.
Communication (almost) always begins from the terminal side. This means that any service
should be requested from the terminal. Thus a request is called a "command".
Each command must be answered by a "results code" from the G24-L. The results code reports
the command status to the terminal.
Some commands may include several "Response" requests (between 0 to K) to send data back to
the terminal.
Some commands may initiate a mode in which, when specified events are generated in the
G24-L, "Indicator" messages are sent asynchronously. Indicators can be between 0 to L.
The G24-L can echo characters received from the terminal (commands) back to the terminal.
2-2 G24-L AT Commands Reference ManualApril 15, 2008
Read command for checking
current subparameter values
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:
Each AT command has the "AT" prefix string.
Each AT command has the suffix <CR>.
The delimiter is either a semicolon ";" or none, meaning space (basic commands).
Each AT command has the following structure:
TokenModeArguments
The following figure outlines the basic structure of an AT command line:
Figure 2-2: Basic Structure of a Command Line
The following rules must be observed when issuing a command line to the modem:
• Every command line must begin with the letters AT.
• Several commands can be concatenated as one line, as long as the total line does not exceed
140 characters with semicolon characters.
• Characters:
Spaces are ignored. You can leave spaces between each command and between characters of a
command. You can also incl ude punctuation in telephone numbers, and type commands in either
UPPERCASE or lowercase. For example, the following commands are identical:
ATDT8005551234 < Enter > or
atdt (800) 555-1234 < Enter >
Backspace <S5> character is allowed.
• To cancel a dialing command in progress, send any ASCII character to the modem.
• To execute the command line, send the <CR> ASCII character.
April 15, 2008G24-L AT Commands Reference Manual2-3
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:.
PrefixCodeSuffix
where:
The results code prefix is <CR><LF>.
The results code suffix is <CR><LF>.
Response and Indications Structure
The following is the information response and indications structure:
TokenSeparatorArguments
where:
The separator is ":".
The following is an example of Response and Results code:
Figure 2-3: Response to a Command Line
If verbose responses are enabled (using the command V1) and all the commands in a command
line have been performed successfully, the result code <CR><LF>OK<CR><LF> is sent from
the G24-L to the terminal. If numeric responses are enabled (using the command V0), the result
code 0<CR> is sent instead.
If verbose responses are enabled (using the command V1) and sub-parameter values of a
command are not accepted by the G24-L (or if the command itself is invalid or cannot be
performed for any reason), the result code <CR><LF>ERROR<CR><LF> is sent to the terminal
and no subsequent commands in the command line are processed. If the numeric responses are
enabled (using the command V0), the result code 4<CR> is sent instead. The ERROR (or 4)
response may be replaced by +CME ERROR: <err> when the command was not processed due to
an error related to G24-L operation.
2-4 G24-L AT Commands Reference ManualApril 15, 2008
Page 61
Chapter 2: Introduction to AT Commands
ATQx
ATEx
ATS3=x
A
A
A
A
T
TTTC
CMMDD11
TCCMMDD
OOK
K
2
2
2
2
<CR>
<CR>
<CR>
<CR>
<CR>
<CR><CR>
<CR>
ATS5=xATS4=xATVx
<LF>
<LF><LF>
<LF>
1
1
=
=
AT Commands Protocol & Structure Configuration
The AT commands message flow and structure may be configured by the termi nal.
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:
CommandDescription
S3=[<value>]Command line termination character (default setting 0x13).
S4=[<value>]Response formatting character (default 0x10).
S5=[<value>]Command line editing character (default 0x 8).
E[<value>] Command echo (default 0, meaning the G24-L does not echo commands).
Q[<value>]Result code suppression (default 0, meaning the G24-L transmits re sult
codes).
V[<value>]G24-L response format (default 1, meaning verbose format).
X[<value>]Defines CONNECT result code format.
The figure below shows the flow and structure configuration commands:
Figure 2-4: Flow and Structure Configuration Commands
April 15, 2008G24-L AT Commands Reference Manual2-5
Page 62
Command Token Types
Command Token Types
Basic Syntax Command Format
The format of Basic Syntax commands (except for the D and S commands) is:
<command>[<number>]
where:
<command> is either a single character, or the "&" character (IA5 2/6) followed by a single
character.
Characters used in <command> are taken from the set of alphabetic characters.
<number> may be a string of one or more characters from "0" through "9" representing a
decimal integer value.
S-parameters
Commands that begin with the letter S constitute a special group of parameters known as
"S-parameters". These differ from other commands in important respects:
• The number following the S indicates the "parameter number" being referenced. If the
number is not recognized as a valid parameter number, an ERROR result code is issued.
• Immediately following this number, either a "?" or "=" character (IA5 3/15 or 3/13,
respectively) appears:
"?" is used to read the current value of the indicated S-parameter.
"=" is used to set the S-parameter to a new value. "<parameter_number>"
"<parameter_number" =[<value>]
If the "=" is used, the new value to be stored in the S-parameter is specified in decimal form
following the "=".
Extended Syntax Command Format
Both actions and parameters have names, which are used in the related commands. Names always
begin with the character "+" (IA5 2/11). Following the "+", from one to sixteen (16) additional
characters appear in the command name.
All (GSM) cellular commands have the prefix "+C".
All Fax commands have the prefix "+F".
All General modem commands have the prefix "+G".
Most Motorola propriety commands have the prefix "+M".
2-6 G24-L AT Commands Reference ManualApril 15, 2008
Page 63
Command Argument Types
<value> consists of either a numeric constant or a string constant.
<compound_value> consist of several <value> parameters separated by commas.Example of compound_value: <value1>,<value2>,…,<valueN>
Numeric Constants
Numeric constants are expressed in decimal, hexadecimal, or binary form. In the G24-L, the
definition of each command specifies which form is used for values associated with that
command.
String Const ants
String constants consist of a sequence of characters, bounded at the beginning and end by the
double-quote character (").
Chapter 2: Introduction to AT Commands
Command Mode Types
Parameter Set Command Syntax
The terminal may store a value or values in a parameter by using the SET command.
The parameter definition indicates, for each value, whether the specification of that value is
mandatory or optional. For optional values, the definition indicates the assumed (default) value if
none is specified. The assumed value may be either a previous value (that is, the value of an
omitted sub-parameter retains its previous value), or a fixed value (for example, the value of an
omitted sub-parameter is assumed to be zero). Generally, the default value for numeric
parameters is 0, and the default value for string parameters is "" (empty string).
The following syntax are used for:
• Actions that have no sub-parameters: +<name>
• Parameters that accept a single value: +<name>=<value>
• Parameters that accept more than one value: +<name>=<compound_value>
Parameter Read Command Syntax
The terminal can determine the current value or values stored in a parameter by using the
following syntax: +<name>?
Parameter Test Command Syntax
The terminal can test whether a parameter is implemented in the G24-L, and determine the
supported values, by using the following syntax: +<name>=?
April 15, 2008G24-L AT Commands Reference Manual2-7
Page 64
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 RangeDescription
(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.
(0,4-6,9,11-12)An alternative expression of the above list.
Compound Range of Values
When the action accepts more than one sub-parameter, or the parameter accepts more than one
value, the set of supported values may be presented as a list of the parenthetically enclosed value
range strings (described above), separated by commas.
For example, the information text in response to testing an action that accepts three
sub-parameters, and supports various ranges for each of them, could appear as follows:
(0),(1-3),(0,4-6,9,11-12)
Aborting Commands
Some action commands that require time to execute may be aborted while in progress. This is
explicitly noted in the description of the command. Aborting a command is accomplished by
transmitting any character from the terminal to the G24-L. A single character is sufficient to abort
the command in progress. To ensure that the aborting character is recognized by the G24-L, it
should be sent at the same rate as the preceding command line. The G24-L may ignore characters
sent at other rates. When an aborting event is recognized by the G24-L, it terminates the
command in progress and returns an appropriate result code to the terminal, as specified for the
particular command.
When a command is aborted, this does not mean that its operation is reversed. In the case of some
network commands, when the abort signal is detected by the G24-L, although the command is
aborted following G24-L-network negotiation, the operation might be fully completed, partially
completed or not executed at all.
2-8 G24-L AT Commands Reference ManualApril 15, 2008
Page 65
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.
AT+CGMI
+CGMI: "Motorola"
OK
AT+GMI
+CGMI: "Motorola"
OK
AT+FMI
+FMI: "Motorola"
April 15, 2008G24-L AT Commands Reference Manual3-1
Page 66
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.
CommandResponse/Action
AT+CGMM
AT+GMM
AT+FMM
+CGMM
technologies>,<model>
+GMM
technologies>,<model>
+FMM
technologies>,<model>
: <list of supported
: <list of supported
: <list of supported
Example
AT+CGMM
+CGMM: "GSM900","GSM1800","GSM1900","GSM850","MODEL=G24-L"
OK
The following table shows the+CGMM string parameters.
StringDescription
"GSM900"GSM at 900 MHz
"GSM1800"GSM at 1800 MHz
"GSM1900"GSM at 1900 MHz (North American PCS)
"GSM850" GSM at 850 MHz
3-2 G24-L AT Commands Reference ManualApril 15, 2008
Page 67
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.
+CGSN, +GSN, Request Product Serial Number Identification
This command displays the product serial number identification IMEI (International Mobile
Equipment Identification). It can be used even when the SIM card is not inserted.
CommandResponse/Action
AT+CGSN
AT+CGSN?
+GSN
+GSN?
The following table shows the +CGSN, +GSN parameters.
Table 3-1: +CGSN, +GSN Parameters
<Parameter>Description
<sn>The IMEI (International Mobile Station Equipment Identity) number is comprised of
15 digits, as specified by GSM 03.03 [3]. IMEI numbers are composed of the
following elements, all in decimal digits:
Type Approval Code (TAC) - 6 digits
Serial Number (SNR) - 6 digits
Spare digit - 1 digit
The TAC and SNR are protected against unauthorized changes.
+CGSN: <sn>
+GSN: <sn>
April 15, 2008G24-L AT Commands Reference Manual3-3
Page 68
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 <chest> in set command, is
ASCII.
Command
Type
Set
Read
Test
+CSCS=[<chset>]OK
AT+CSCS?+CSCS: <selected character set>
AT+CSCS=?+CSCS: (<supported character sets>)
SyntaxResponse/Action
or:
+CMS ERROR: <err>
The following table shows the +CSCS parameter optional values.
Table 3-2: +CSCS Parameters
<chset>Character SetInput/Output Format
“ASCII”ASCII (0x00 - 0x7F)Quoted string.
(For example, "AB" equals two 8-bit
characters with decimal values 65, 66.)
(For example, 00410042 equals two
16-bit characters with decimal values 65,
66.)
"UTF8"8-bit Unicode (ISO 10646 transformation
format)
"8859-1"LATIN (ISO 8859-1)Quoted string.
Example
AT+CSCS=?
3-4 G24-L AT Commands Reference ManualApril 15, 2008
HEX representation.
Page 69
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.
CommandResponse/Action
AT+CIMI
AT+CIMI?
+CIMI: <imsi>
or:
+CME ERROR: <err>
Example
AT+CIMI
+CIMI: 314566320021400
+CFSN, Read Manufacturing Serial Number
This command is used to query the manufacturing serial number.
CommandResponse/Action
AT+CFSN?+CFSN: <Motorola Serial
Number>
Example
AT+CFSN?
+CFSN: "GLMMA000000069"
April 15, 2008G24-L AT Commands Reference Manual3-5
Page 70
Modem ID
OK
I, Request Identification Information
This command displays various G24-L information items.
CommandResponse/Action
A TIn<information item n>
or:
+CMS ERROR: <err>
The following table shows the information items that are supported by the G24-L.
This command displays a list of all the AT commands supported by the G24-L.
CommandResponse/Action
April 15, 2008G24-L AT Commands Reference Manual3-7
AT$List of available AT commands
Page 72
Modem ID
+CLAC, List of All Available AT Commands
CommandSyntaxResponse/ActionRemarks
Execute
+CLAC
List of available AT
commands
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. It also enables other
support provided by the G24-L, such as information about the currently implemented protocol
version (used to detect older G24-Ls that may not support all commands), as well as determining
which optional commands are implemented in a particular G24-L software load.
3-8 G24-L AT Commands Reference ManualApril 15, 2008
Page 73
Call Control
Managing a CSD (Data) Call
The G24-L working modes can be divided into two modes of operation.
The T erminal mode allows you to instruct th e modem to di al a remote modem by issuing the Dia l
command followed by the phone number. You can also include dial string modifiers in your
command line to give the modem additional instructions. The following dial modifiers are
available on most modems:
Chapter 3: AT Commands Reference
• 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. This is the default working mo d e .
Note: It is possible to switch between the operating modes.
• ","- Pause
Simple Dialing
In order to instruct the modem to dial a remote modem from an ordinary tone-dialing telephone
line, enter the Dial command followed by the phone number. For example, type the following
command:
ATD 876-5555 <Enter>
Note: If you receive characters which were sent, you can disable this with using the Echo
command (ATE0 <Enter>).
After issuing the Dial command, and if the remote modem answers the call, the two modems send
high-pitched carrier tones to one another which establish the transmission speed and other
parameters for the data connection. This process is called negotiation.
After the negotiation process, the message, "OK" followed by the connection speed, is received.
If the other phone line is busy, the message "NO CARRIER" is received.
If the other modem does not answer, the message "NO CARRIER" is received.
Once a connection has been established, the modem is ready to immediately begin transmitting
and receiving data. This may vary from sending messages to each other, sending or receiving
files, logging on to an information service, or any other data communication task you wish to
perform.
April 15, 2008G24-L AT Commands Reference Manual3-9
Page 74
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 A T 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.
Escape is detected only by the G24-L and not by the remote side. The remote side stays in the
Data mode.
Hanging Up
If you are using a communications program, use the "Hang up" or "Disconnect" AT command in
the program to disconnect the call.
When using computers in the "Dumb Terminal mode", return to the Command mode by typing
the Escape Sequence, +++, and then hang up by typing the Hang up command as follows:
ATH <Enter>
If the G24-L responds with "OK", the dial connection is closed.
Dialing to an Electronic Telephone Service
When you dial to an electronic telephone service such as telephone banking, you must typically
instruct the modem to dial a number, then to wait for call establishment, and then send the
password for entering the banking account. A typical command line might look like this:
ATD876-5555,123456; <Enter>
The modem dials the number, then pauses to wait for the call connection (the comma in the
command line causes the pause).
You can also create a longer pause by including several commas in a row in the com mand line,
and then send the password to the service.
Receiving a Data Call
ATA <Enter>
This command instructs the modem to be the "answering modem". Either party may be the
answering or the originating modem, but both parties cannot be the same modem at the same
time.
You hear the modem handsh ake and see th e result code "CONNECT".
Note: Outgoing Voice Call during CSD Call, when switching to Command mode.
If using Dial Command to make Outgoing Voice Call, currently active CSD Call is
dropped and the new Voice Call is generated.
3-10 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 75
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.
For more information about call failure, use the AT+CEER comman d, described in “+CEER,
Extended Error Report” on page 3-213.
Note: If there is an active voice call and the terminal sends another ATD voice call command to
the G24-L, the active call is put on hold and the new number is called.
CommandResponse/Action
ATD<number>[;]
VOICE CALL:
1st response - Voice call place begins
OK
2nd response - Voice call connected:
OK
DATA:
2nd response only - Data call connected
CONNECT
When MO call fails:
1. Connection Failure - NO CARRIER or BUSY or NO ANSWER
2. General Failure - ERROR
3. Security reason (such as SIM not present) - OPERATION NOT
ALLOWED
4. Unknown reason - UNKNOWN CALLING ERROR
April 15, 2008G24-L AT Commands Reference Manual3-11
The following characters are ignored: A B C D - () / and <space>.
The comma <,> digit: When dialing a voice call, digits un til 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. When dialing a data/fax call, the comma digit is ignored,
and all other digits before and after the comma are consid ered ad dressing inform ation
(phone number).
The plus <+> digit: Indicates that the international access code exists in the number.
semicolon (;)When given after <number string>, a voice call is originated to the given address,
otherwise a data call is originated.
Note: ATDP, ATDT, AT*D, <T>, <P> and <*> are ignored. The command is handled as ATD.
Initiating a GPRS connection is done through ATD*99#, as described in “D*99, Request
GPRS Service "D"” on page 3-242.
Example
atd44345678;//VOICE call (with semicolon)
OK
OK
atd44345678 //DATA call (without semicolon)
...
CONNECT //Move to online Data state
D>, Direct Dialing from Phone Books
This command places a FAX/DATA/VOICE call on the current network by dialing directly from
the G24-L phone book.
Notes:
• "+CME ERROR: not found" is returned when no match is found in an existing
phone book.
• FD phone book supports the (?) wild card character. Telephone numbers
containing this character cannot be dialed directly from the phone book.
• "+CME ERROR: Invalid index" is returned when entry <n> is out of the
requested Phonebook range.
• When SM phonebook is searched and the given entry value is of the ME
phonebook, ME phonebook will be searched as well (result code would be the
same as if MT phonebook was searched).
3-12 G24-L AT Commands Refer ence ManualApril 15, 2008
Page 77
Chapter 3: AT Commands Reference
The following table shows a detailed description for the D> commands.
CommandDetailed Description
D><alpha>[;]Originates a call to a phone number with the corresponding alphanumeric field
<alpha>. The Current Phone Book (Set by +CPBS) is searched for the entry that
begins with the alphanumeric pattern <alpha>.
D>mem<n>[;] Originates a call to a phone number in memory (phone book) mem and stored in entry
location <n>. Available memories may be queried with Select Phone Book
Storage Test command +CPBS=?.
Note:
This command does not change the used memory set.
D><n>[;] Originates a call to a phone number from entry location <n> in the Current Phone
Book (Set by +CPBS).
Note: Current used memory (phone book) set/read is done through the memory command
+CPBS=/+CPBS? respectively.
The following table shows the D> parameters.
Table 3-5: D> Paramete rs
<Parameter>Description
<"alpha">String type value, which should be equal to an alphanumeric field in a phone book
entry . The used character set should be the one selected with Select Terminal
Character Set +CSCS. <alpha> is case-sensitive, and should be placed in quotes
("alpha").
<n> This parameter is also called "speed dial location". It is an integer type memory
location. <n> should be in the range of locations available in the memory used.
<mem>This parameter is not case-sensitive.
Example
AT+CPBS="me"//Phone flash memory
OK
AT+CSCS="ASCII"//ASCII characters
OK
AT+CPBW=1,"035659090",129,"VoiceMail"
OK
AT+CPBR=1
+CPBR: 001,"035659090",129,"VoiceMail"
OK
atd>"VoiceMail";//Phonebook by name
OK
OK
ath
NO CARRIER
OK
April 15, 2008G24-L AT Commands Reference Manual3-13
Page 78
Call Control
atd>1;//Speed dial from phonebook
OK
OK
ath
NO CARRIER
OK
atd>1//Speed dial from phonebook
+CME ERROR://Invalid characters in dial string
atd>"Motorola Internal"
+CME ERROR://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. (Refer to “D,
semicolon (;)If the semicolon (;) is given, a voice call is originated to the last dialed number.
If the semicolon (;) is not given, a Fax/Data call is originated.
Note:
The last dialed call type is irrelevant to the DL command.
3-14 G24-L AT Commands Reference ManualApril 15, 2008
Page 79
Chapter 3: AT Commands Reference
Note: When ATDL is issued after a dialed num ber with com ma di git :
• 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.
Example
atdl //Last called number is "035658278"
ATDL: "035658278"
OK //DA TA call
atdl;
ATDL: "035658278"
OK
OK //VOICE call
atdl //Last called number is "035658278,123,78;"
ATDL: "035658278"
CONNECT //DATA call
atdl;//Last called number is "035658278,123,78"
ATDL: "035658278p123p78"
OK
OK //VOICE call
1 2 3 //Sent as DTMF tones
... //Pause
7 8//Sent as DTMF tones
H, Hang-up Call
This command hangs up a call. The G24-L terminates the call whether it is a data or voice call,
and whether it is an incoming, originating, waiting, or connected call.
A NO CARRIER message is returned to the terminal before the regular OK approval.
Note: To terminate (hang-up) a MO data/fax call while call is placed: Any character sent from
the terminal to the G24-L causes the Data/Fax call termination, and NO CARRIER is sent
from the G24-L to the terminal.
To terminate a held Voice call or to terminate a call out of a MTPY call, refer to “+CHLD,
Call Related Supplementary Services Command” on page 3 -23.
The following table shows the call states of the H command.
Call StateResponse/Action
IDLEError 3 ("operation not allowed")
Single ActiveCall released
MTPY ActiveCall released (all ca lls)
Incoming call (RING)Call released
April 15, 2008G24-L AT Commands Reference Manual3-15
Page 80
Call Control
Call StateResponse/Action
Single Active and Waiting CallSingle Active released (waiting not affected)
MTPY Active and Waiting CallMTPY Active released (waiting not affected)
Single Held or MTPY HeldError 3
Single (or MTPY) Active and Single (or
Single (or MTPY) Active released
MTPY) Held
Held (Single or MTPY) and Waiting CallWaiting call released
Single (or MTPY) Active and Single (or
Single (or MTPY) Active released
MTPY) Held & Waiting call
Example
RING//Incoming call
RING //Incoming call
ath//Hang-up incoming call
NO CARRIER
OK //Incoming call has been terminated - user determined user busy
RING
ata
OK//Voice call connected
ath//Hang-up connected call
NO CARRIER
OK //Active call has been hung-up - terminated
(... Active multi party call, with 3 numbers …)
ath
NO CARRIER
NO CARRIER
NO CARRIER
OK
atd035659260;
OK
ath//Terminate MO voice call while placed
NO CARRIER
OK
Example - Hanging up a data call:
atd035659260
CONNECT//Data call connected - Online Data mode
…
+++ //ESC Sequence is sent from the terminal to the G24-L
OK//The G24-L is in Command mode
ath//Terminate Data call
NO CARRIER
OK
3-16 G24-L AT Commands Reference ManualApril 15, 2008
Page 81
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. A waiting call can be answered only if it is a voice call. The waiting
voice call should be answered using the A TA command, which will put the active call on
hold and will connect the waiting call, making it the active call. This ATA action is the
same action as AT+CHLD=2.
Example
Example - Answering a voice call:
AT+CRC=1
+CRING: VOICE
+CRING: VOICE
ata
OK //VOICE call connected - G24-L is in Command mode
ath
NO CARRIER
OK
Example - Answering a data call:
+CRING: REL ASYNC
+CRING: REL ASYNC
ata
...//Connecting (dots are not displayed)
OK //DATA call connected - G24-L is in Online Data mode
Note: In a CSD call, call release is not valid during the phase of call negotiation (from OK until
connect call).
+CRC, Cellular Result Codes and RING, +CRING - Incoming Call
Indication
This command controls whether or not to present the extended format of an incoming call
indication. The RING/+CRING indication is sent from the G24-L to the terminal when the G24-L
is alerted by an incoming call from the network. Once this indication is sent, information is
available on the calling line via +CLIP. When +CRC is disabled, the indication is RING, and
when +CRC is enabled, the indication is +CRING.
April 15, 2008G24-L AT Commands Reference Manual3-17
Page 82
Call Control
Command
Type
Set
Read
Test
SyntaxResponse/ActionRemarks
+CRC=[<n>]OK
+CRC?+CRC: <n>
OK
+CRC=?+CRC: (list of supported <n>s)
RING/+CRING Indication
+CRING: <type>
or:
RING
The following table shows the +CRC parameters.
Table 3-7: +CRC Parameters
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:<type> instead of the normal
RING.
The Read command queries the cur rent
settings for the cellular result code.
The T est command returns the po ssible
<n> values.
<Parameter>Description
<n>0Extended format disabled
1Extended format enabled
The default value is 0.
<type>
ASYNCCSD
REL ASYNCCSD
FAX
VOICE
ALT
Type of incoming call:
asynchronous transparent
asynchronous non-transparent
Fax class 1
Normal voice
Fax/voice
Example
AT+CRC?
+CRC: 0
OK
AT+CRC=?
+CRC: (0-1)
OK
Example - RING/+CRING indication
(..Incoming Data Call..)
RING
RING
3-18 G24-L AT Commands Reference ManualApril 15, 2008
Page 83
Chapter 3: AT Commands Reference
RING
AT+CRC=1//Enable extended ring format
OK
+CRING: REL ASYNC
+CRING: REL ASYNC
ath
AT+CRC=1
OK//Mobile fax call terminated (multi-numbere d scheme) from PSTN
fax machine
+CRING: ALT Voice/F ax
NO CARRIER
OK
+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.
This command allows the user to query the provisioning status of the CLI by the network and by
the G24-L. The command also allows the user to enable/disable the CLI presentation by the
G24-L to the terminal.
The +CLIP indication information varies depending on what is provided by the network and what
information is stored in the G24-L phone book.
Command
Type
Set
Read
TestThe Test command returns the Set
SyntaxResponse/ActionRemarks
AT+CLIP=<n>OK
+CME ERROR: <err>
AT+CLIP?+CLIP: <n>, <m>
OK
The Set command enables or disables
the presentation of the CLI indication
from the G24-L to the terminal.
Note:
The Set command does not
address the network.
The Read command returns the +CLIP
enable/disable state in the G24-L as
well as in the network provisioning
state of the CLI presentation.
command options (0,1).
+CLIP Indication
When the CLI presentation indication is enabled by the G24-L (<n>=1), this unsolicited
indication is sent to the terminal after the RING indication.
April 15, 2008G24-L AT Commands Reference Manual3-19
Page 84
Call Control
The following table shows the +CLIP parameters.
Table 3-8: +CLIP Parameters
<Parameter>Description
<n>Enables/disables the CLI presentation indication after the ring indication:
0Disable CLI presentation
1Enable CLI presentation
The default is 0.
<m>Shows the subscriber CLIP service status in the network:
0CLIP not provisioned
1 CLIP provisioned
2 Unknown (for example, no network and so on)
<"number">Calling line number. The number format is specified by <type>.
<type>Type of address octet in integer format:
145Default when the dialing string includes the international access code character
"+".
129Default when making a local call.
128Type of number is unknown (usually the output when the number itself is
unknown).
<subaddr>NULL, field not used (String type subaddress of format specified by <satype>)
<satype>Field not used. Value is always 128 (unknown) - type of sub address octet in integer
format.
<"alpha">Name of the calling party (if provided by the network or if the number is found in the
G24-L phone books).
<CLI validity>The Validity of the Calling Line Identity presentation:
0CLI valid.
1CLI has been withheld by the originator.
2CLI is not available due to networking problems or limitations of the
originating network.
Example
AT+CLIP=?
+CLIP: (0,1)//CLI presentation is disabled by the G24-L (0) and is enabled by the
network (1)
OK
AT+CLIP=1
OK
Example +CLIP indication:
(…incoming call…)
RING
+CLIP: "2173845400",129,,128,"Doe John",0
Example +CLIP indication with restricted CLI:
AT+CRC=1
OK
(…incoming call…, caller restricted the CLI presentation (used AT+CLIR)…)
+CRING: VOICE
+CLIP: "",128,,128,"",1
3-20 G24-L AT Commands Reference ManualApril 15, 2008
Page 85
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.
A CCWA indication is sent to the terminal only during a v oice call-waiting event. A
CCWA indication is not sent for a fax/data call during in a voice session.
ActionSyntaxResponseRemarks
Set
Read
Test
+CCWA=[<n>[,
<mode>[,<class>]]]
+CCWA?+CCWA: <n>
+CCWA=?+CCWA: (list of
OK
If <mode>=2 and the
command succeeds:
+CCWA:
<status>,<class1>
[<CR><LF>+CCWA:
<status>,<class2>
[...]]
OK
OK
supported <n>s)
The Set command enables/disables the
Call-Waiting indication in the G24-L and
in the network. Activation, deactivation
and status query are supported.
Note:
When the <mode> parameter is set
to 2 (network query), the <n>
parameter is ignored. This means
that no enable/disable action is
performed while querying the
network.
The Read command returns the
enable/disable status of the call waiting
indication in the G24-L (<n>).
The Test command returns <n> values
supported by the G24-L as a compound
value.
+CCWA Indication
When a call-waiting indication is enabled by the G24-L (<n>=1), the following unsolicited
indication is sent to the terminal from the G24-L:
April 15, 2008G24-L AT Commands Reference Manual3-21
Page 86
Call Control
The following table shows the +CCWA parameters.
Table 3-9: +CCWA Parameters
<Parameter>Description
<n>Enables/disables the call waiting indication to the terminal by the G24-L.
0 - Disable
1 - Enable
The default is 0.
<mode>Call waiting service request to the network. When the <mode> parameter is not given,
the network is not interrogated.
0 - Disable
1 - Enable
2 - Query status
<class>Sum of integers each representing a class of information.
1 - Voice (telephony)
2 - Data (refers to all bearer services)
4 - Fax (facsimile services)
The default value is 7.
<"number">Calling line number. The number format is specified by <type>.
<type>Type of address octet in integer format:
145 - Default when the dialing string includes the international access code character
"+".
129 - Default when making a local call.
128 - Type of number is unknown (usually the output when the number itself is
unknown)
<status>Call waiting support by the network (output for <mode>=2).
0 - Not active
1 - Active
<"alpha">Name of the calling party (if provided by the network or if the number is found in the
G24-L phone books).
<CLI validity>The Validity of the Calling Line Identity presentation:
0 - CLI valid.
1 - CLI has been withheld by the originator.
2 - CLI is not available due to networking problems or limitations of the originating
network.
Note: When the parameter <mode> is 2 (Query status), the first parameter is ignored and the
third parameter is always treated as class = 7.
Example
AT+CCWA=1 //Enable call waiting on G24-L
OK
AT+CCWA=?
+CCWA: (0,1)
OK
AT+CCWA?
+CCWA: 1
3-22 G24-L AT Commands Reference ManualApril 15, 2008
Page 87
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 feature in the network, and in the G24-L
Example +CCWA indication
atd9311234567; //Originate a voice call
OK
OK//Voice call connected
(...conversation...)
(… call waiting indication received by the G24-L …)
+CCWA: "+358317654321",145,1,"Bob"
+CCWA: "+358317654321",145,1,"Bob"
AT+CHLD=0 //Release the waiting call
OK
NO CARRIER
AT+CRC=1//RING indication is not relevant to CCWA indication
OK
(…waiting call…, caller restricted to its CLI presentation (used AT+CLIR)…)
+CCWA: "",128,1,"",1//CLI is restricted, but call type recognized as voice
+CCWA: "",128,1,"",1
+CHLD, Call Related Supplementary Services Command
This command controls the Call Hold and Multiparty Conversation services. This command
manipulates voice calls only.
Set Command
The Set command allows the control of the following call related services:
• Call HOLD: A call can be temporarily disconnected from the G24-L, but the connection is
The network does not reserve more than one traffic channel for a mobile station, therefore the
G24-L can have only one call on hold at a time.
April 15, 2008G24-L AT Commands Reference Manual3-23
Page 88
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 numb er of remote parties is 5.
In this command, the term CALL refers to a single or MTPY call.
A single Active call is considered a MTPY call with one call index numbered as 1.
CommandResponse/Action
+CHLD=<n>If the call is terminated:
OK (approve request was submitted)
NO CARRIER
If the call state is changed (link, split, from active to hold, and so on):
OK (approve request was done)
If the call is terminated and another call is answered:
OK (approve request was submitted)
NO CARRIER
OK (call answered and is now connected)
Command
Type
Test
SyntaxResponse/ActionRemarks
+CHLD=?+CHLD: (list of supported <n>s)
OK
The following table shows the +CHLD parameters.
Table 3-10: +CHLD Parameters
<Parameter>Description
<n>Call hold operation:
0 - Releases all held calls
OR
Sets User Determined User Busy for a waiting call
1 - Releases all active calls and accepts the held or waiting call
1x - Release specific call x, where x is the serial number of a call participating in an
active MTPY call.
2 - Places all active calls on hold and accepts the held or waiting call
2x - In the case of an active MTPY call, places all ac tiv e call s on ho ld, exc ept fo r call
x. Call x remains active.
3 - Adds a held call to the conversation - MTPY
Note:
"Held calls" or "active calls" means a held or active single or MTPY call. There
cannot be two or more different held/active single/MTPY calls.
The Test command returns <n> values
supported by the G24-L to the terminal
3-24 G24-L AT Commands Reference ManualApril 15, 2008
Page 89
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 <operation>
Call State
IDLEError 3
Single Active
Call
MTPY Active
Call
Incoming
Call (RING)
Single Active
Call and
Waiting Call
0 -Release
Held Call
Error 3.Releases
Error 3.Releases
Error 3.
Releases
waiting call.
1 - Release
Active Call,
Accept Held
Call
active call.
active call.
Releases
active call,
accepts
waiting call.
1x - Release
Active/Held
Call x from
MTPY Call
If x=1,
releases
active call,
otherwise
error 22.
Releases
specific
active call x.
If x does not
exist, then
error 22.
Releases
specific
active call x.
If x does not
exist, then
error 22.
2 - Switch
Between
Held and
Active Call
Puts active
call on hold.
Puts active
call on hold.
Puts active
call on hold,
accepts
waiting call.
2x - Active
MTPY Call to
Hold, Except
for Call x
Error 3.Error 3.
Split. If call x
does not exist,
then error 22.
Error 3. Error 3.
3 - Add Held
Call to
Active Call
Error 3.
MTPY Active
Call and
Waiting Call
Single Held
Call
MTPY Held
Call
Single (or
MTPY)
Active Call
and Single (or
MTPY) Held
Call
April 15, 2008G24-L AT Commands Reference Manual3-25
Releases
waiting call.
Releases held
call.
Releases held
call.
Releases held
call.
Releases
active call,
accepts
waiting call.
Accepts held
call.
Accepts held
call.
Releases
active call
and accepts
held call.
Releases
specific
active call x.
If x does not
exist, then
error 22.
Releases held
call.
Releases
specific
call x. If x
does not exist,
then error 22.
Releases
specific
active call x.
If x does not
exist, then
error 22.
Puts active
call on hold
and accepts
waiting call.
Accepts held
call.
Accepts held
call.
Switches.Error 3.Makes a
Split. If x
does not exist,
then error 22.
Error 3.Error 3.
Error 3.Error 3.
Error 3.
conference
call.
Page 90
Call Control
Table 3-1 1: +CHLD Actions According to Call State and Operation (Cont.)
CHLD <operation>
Call State
Held (Single
or MTPY)
0 -Release
Held Call
Releases
waiting call.
1 - Release
Active Call,
Accept Held
Call
Accepts
waiting call.
1x - Release
Active/Held
Call x from
MTPY Call
Error 3.Accepts
Call and
Waiting Call
Single (or
MTPY)
Active Call
and Single (or
MTPY) Held
and Waiting
Releases
waiting call.
Releases
active call,
and accepts
waiting call.
Releases
specific
active call x.
If x does not
exist, then
error 22.
Call
Split: Places the active MTPY call on hold, except for a specific call x.
Switch: Places the active call on hold and accepts the Held call
Error 3: "Operation not allowed"
Error 22: "Not found"
Example
AT+CHLD=?
+CHLD: (0,1,1x,2,2x,3)
OK
AT+CCWA=1//Enable call waiting
OK
atd9311234567; //Originate a voice call
OK
OK
(...conversation...)
+CCWA: "+358317654321",145,1,"Bob" //Awaiting call alerts
AT+CHLD=2 //Put first call on hold and answer the second call
OK
(...conversation...)
AT+CHLD=3 //Add the held call to the conversation
OK
(...MTPY conversation...)
AT+CHLD=22 //Split: Place the MO active call on hold, MT call remains active
OK
AT+CHLD=0 //Release the held call
OK
NO CARRIER
ath //Release the active call
NO CARRIER
OK
atd9311234567; //Originate a voice call
OK
2 - Switch
Between
Held and
Active Call
waiting call.
Error 3 (too
many calls on
hold.
2x - Active
MTPY Call to
Hold, Except
for Call x
3 - Add Held
Call to
Active Call
Error 3.Error 3.
Error 3. Makes a
conference
call. Waiting
call is not
touched.
3-26 G24-L AT Commands Reference ManualApril 15, 2008
Page 91
Chapter 3: AT Commands Reference
OK
+CCWA: "055728386",129,1,"",0 //Waiting call alerts
AT+CHLD=1//Release the active call, accept the waiting call
OK
NO CARRIER//Active 9311234567 was released
OK//Waiting 055728386 wa s 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.
The Set command
instructs the G24-L
which call
forwarding settings
to request from
network. The Set
command, in query
mode, interrogates
the network about
the subscriber
current call
forwarding status.
The Test command
returns <reason>
values supported
by the G24-L to the
terminal.
April 15, 2008G24-L AT Commands Reference Manual3-27
Page 92
Call Control
The following table shows the +CCFC parameters.
Table 3-12: +CCFC Parameters
<Parameter>Description
<reason>0 - Unconditional
1 - Mobile busy
2 - No reply
3 - Not reachable
4 - All call forwarding
5 - All conditional call forwarding
<"number">Calling line number. The number format is specified by <type>.
<type>Type of address octet in integer format-.
145Default when dialing string includes international access code character "+".
129Default when making a local call.
<subaddr>NULL, field not used (String type subaddress of format specified by <satype>).
<satype>Field not used. Value is always 128 (unknown) - type of sub address octet in integer
format.
<classx>The sum of integers each representing a class of information.
1 - Voice
2 - Data - refers to all bearer services.
4 - Fax
The default value is 7.
<time>1-30 - The number of seconds to wait before calls are forwarded, when "no reply" is
enabled or queried. The default value is 20.
Note:
The parameter must be a multiple of 5, for example, 5, 10, 15 and so on. If not,
the modulo of 5 will be ignored.
<status>0 - Not active
1 - Active
Note: A forward-to phone <number> (and the optional fields <type>, <subaddr> and <satype>)
are tied to a <reason> and a <class>. This means that there can be a different <number>
for the same <reason> because of a different <class>. When registering without
mentioning a <class>, <class>=7 is selected.
A <number> field is mandatory when registering (<mode>=3) and it is irrelevant
(ignored) in all other <mode>s.
3-28 G24-L AT Commands Reference ManualApril 15, 2008
Page 93
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 <reason>=3, forward only voice calls is activated.
AT+CCFC=4,2//Interrogate reason all-call-forwarding for all classes.
+CME ERROR: no network service //Interrogation of <reason>=30 is not supported by network.
AT+CCFC=2,3,"+972545658278"
OK
AT+CCFC=2,0//Disable call-forwarding for reason no-reply of all classes.
OK
AT+CCFC=2,2
+CCFC: 0,1,"+972545658278",145,,25
+CCFC: 0,2,"+972545658278",145,,25
+CCFC: 0,4,"+972545658278",145,,25
OK
+CLIR, Calling Line Identification Restriction
This command instructs the G24-L to query, enable or disable the presentation of the CLI (calling
line ID) of a MO call to the called party. The restriction of the CLI (disable presentation) is
dependent both on the G24-L and on the network.
The network enables three possible provisions of CLIR:
• Not provisioned (CLIR Off - presentation allowed)
• Provisioned permanently
• Provisioned with Temporary mode
The provision is fixed and cannot be changed by an AT command.
Temporary Mode:
Temporary mode can be in one of two states:
• A - Presentation restricted (CLIR On) as default.
• B - Presentation allowed (CLIR Off) as default. A subscriber to Temporary mode always has
a default subscription to state A or B. Temporary-mode provisioning means that the terminal
can request the G24-L to switch the default mode from A to B, and vice versa.
April 15, 2008G24-L AT Commands Reference Manual3-29
Page 94
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.
Command
Type
Set
Read
Test
SyntaxResponse/ActionRemarks
+CLIR=<n>OK
+CLIR? +CLIR:<n>,<m>
OK
+CLIR=?+CLIR: (list of supported
<n>s)
The following table shows the +CLIR parameters.
Table 3-13: +CLIR Parameters
<Parameter>Description
<n>Adjustment for outgoing calls
0 - Presentation indicator is used according to the subscription of the CLIR service
1 - CLIR invocation
2 - CLIR suppression
The default is 2.
The Set command instructs the G24-L to
enable/disable CLI restriction for all MO
calls.
The Read command returns the current
setting of CLIR on the network <m> and
on the G24-L <n>.
The Test command returns <n> values
supported by the G24-L.
<m>Subscriber CLIR service status in the network
0 - CLIR not provisioned
1 - CLIR provisioned in permanent mode
2 - Unknown (for example, no network and so on)
3 - CLIR Temporary mode presentation restricted (can be the default)
4 - CLIR Temporary mode presentation allowed (can be the default)
Example
AT+CLIR=?
+CLIR: (0,1,2)
OK
AT+CLIR?
+CLIR: 1,4
AT+CLIR=2
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: "",128,,128,"",1
3-30 G24-L AT Commands Reference ManualApril 15, 2008
Page 95
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).
It chooses one of the bearer services, the data rate of the service (actually the modulation when
modem IWFs are used), and enables or disables the Radio Link Protocol.
Command
Type
Set
SyntaxResponse/ActionRemarks
AT+CBST=[<speed>[,<
name>
[,<ce>]]]
OK
+CME ERROR: <err>
The Set command selects the bearer
service <name> with data rate <speed>
and the connection element <ce> to b e
used when data calls are originated
(refer to GSM 02.02). Values may also
be used during mobile terminated data
call setup, especially in the case of
single numbering scheme calls.
Note:
The G24-L does not change the output,
but for incoming calls, the phone
works in automatic mode.
For incoming calls, the bearer
service will be taken
automatically from incoming
parameters and not according
to the CBST Set command.
April 15, 2008G24-L AT Commands Reference Manual3-31
Page 96
Call Control
Command
Type
Read
Test
SyntaxResponse/ActionRemarks
AT+CBST?+CBST:
<speed>,<name>,<ce>
OK
AT+CBST=?+CBST: (list of
supported
<speed>s),(list of
supported
<name>s),(list of
supported <ce>s)
OK
The Test command returns values
supported by the MA as compound
values.
The following table shows the +CBST parameters.
Table 3-14: +CB ST Parame te rs
<Parameter>Description
<speed>0 - Auto-bauding (automatic selection of the speed; this setting is possible in case of
3.1 kHz modem and non-transparent service)
6 - 4800 bps (V.32)
7 - 9600 bps (V.32)
14 - 14400 bps (V.34)
68 - 2400 bps (V.110 or X.31 flag stuffing)
70 - 4800 bps (V.110 or X.31 flag stuffing)
71 - 9600 bps (V.110 or X.31 flag stuffing)
75 - 14400 bps (V.110 or X.31 flag stuffing)
The default value is 7.
Note:
Currently the G24-L supports:
2 baud rates: 4800 and 9600 bps
2 protocols: V.110 and V.32
<name>0 - Data circuit asynchronous (UDI or 3.1 kHz modem)
1 - Data circuit synchronous (UDI or 3.1 kHz modem)
The default value is 0.
<ce>0 - Transparent (Reserved for future implementation)
1 - Non-transparent (default)
Example
AT+CBST=?
+CBST: (000,004,006,007,014,068,070,071,075),(000-001),(000-003)
OK
AT+CBST?
+CBST: 007,000,001
OK
AT+CBST=6
OK
AT+CBST?
+CBST: 006,000,001
OK
3-32 G24-L AT Commands Reference ManualApril 15, 2008
Page 97
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 <text> 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). The O command returns the phone to the fully Online Data mode
(as it was before using the ESC command).
Note: The escape character '+' can be changed using the S2-register.
The time delay between consecutive escape characters is configured using the
S12-register.
Command
Type
Execute
ATOCONNECT
SyntaxResponse/Action
+CME ERROR: <err> If phone is not in Data
Call
NO CARRIER: If connection is not
successfully resumed.
Example
ATD035684072//Calling a remote modem - data call
CONNECT//G24-L is in Data mode
//Escaping back to Command mode using the +++ sequence
OK
AT//G24-L is in Command mode
OK
ATO//Returning to Data mode
CONNECT
&Q, Asynchronous Mode
This command selects the asynchronous mode, and has no effect.
April 15, 2008G24-L AT Commands Reference Manual3-33
QnDescription
Q0Normal asynchronous operation (no error correction)
Q5Error corrected operation (default)
Q6Normal asynchronous operation (no error correction)
Page 98
Call Control
+CHUP, Hang Up Call
This command causes the G24-L to hang up the current GSM call.
Command TypeSyntaxResponse/ActionRemarks
Set
+CHUPOK
+CME ERROR <err>
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. If the calling party specifies the required
bearer capability, this capability is used for the call setup attempt. If the calling party does not
specify the required bearer capability (for example, because the call originated in the PSTN), the
network attempts to determine it, as described below.
Some cellular networks use a multi-numbering scheme, where several mobile station ISDN
numbers, or MSISDNs, are associated with one IMSI in order to define the bearer capability by
the MSISDN. Each MSISDN is used for a different bearer capability. If the network uses a
multi-numbering scheme and the calling party has not specified the required bearer capability,
then the network uses the bearer capability associated with the called party MSISDN.
However, some networks omit the bearer capability associated with the called party MSISDN,
when this MSISDN is associated with voice service and the calling party has not specified the
required bearer capability (for example, because the call originated in the PSTN). In these cases,
the +CSNS command is used to select the desired bearer or teleservice for a single-numbering
scheme, in which one MSISDN is associated with each IMSI. The +CSNS command has a
default mode, so is not mandatory to set it.
If the network uses a single-numbering scheme and the calling party has not specified the
required service, then the network omits the bearer capability information.
Command
Type
Set
Read
Test
3-34 G24-L AT Commands Reference ManualApril 15, 2008
+CSNS=<mode>[,<repeated>] OK
+CSNS?+CSNS: <mode>
+CSNS =?+CSNS: (list of
SyntaxResponse/ActionRemarks
The Set command selects the
+CME ERROR: <err>
supported mode>s),
<repeated>
bearer or teleservice to be use
when a mobile-terminated
single numbering scheme call is
established.
The Read command displays the
currently active CSNS mode.
The Test command displays the
list of supported CSNS modes.
Page 99
Chapter 3: AT Commands Reference
The following table shows the AT+CSNS parameters.
Table 3-15: +CSNS Parameters
<Parameter>Description
<mode>CSNS mode:
0 - Voice (default)
2 - Fax (TS 62)
4 - Data
<repeated>Defines for how long to save the new setting:
0One shot (new setting is not saved)
1CSNS mode is saved until new +CSNS set command is issued or next power
cycle, whichever occurs first.
2CSNS mode is saved until new +CSNS set command is issued. The CSNS
mode will be stored in non-volatile memory and will be effective after power
cycle.
Note: Any mobile-terminated call lacking bearer capability information is handled according to
the current CSNS setting.
When <mode> is set to data service, the parameter values set with the +CBST command
are used (Refer to “+CBST, Select Bearer Service Type” on page 3-31). If the +CBST
parameter is set to a value that is not applicable to single numbering calls, the G24-L
maps the value to the matching one, according to the Mapping Table (Table 3-16).
The <mode> selected in conjunction with <repeated> value ’2’ setting replaces <mode>
setting in MS non-volatile memory of the bearer or teleservice to be used when mobile
terminated single numbering scheme call is established. Selected <mode> is effective
until new CSNS set command is issued. After power cycle, <mode> setting in MS
non-volatile memory returns to be effective (<mode> selected in conjunction with
<repeated> value ’2’ or default <mode>).
If CSNS set command is issued in conjunction with <repeated> value ’0’ (one shot), then
selected <mode> is effective until any call indication is received (RING, CRING, CLCC,
and so on). Afterwards, <mode> stored in MS non-volatile memory, returns to be
effective.
If CSNS set command is issued in conjunction with <repeated> value ’1’, then selected
CSNS <mode> is effective until new CSNS set command is issued or until next power
cycle.
If CSNS set command is issued without parameter <repeated>, the value of repeated is
assumed to be ’0’.
April 15, 2008G24-L AT Commands Reference Manual3-35
Page 100
Call Control
The only +CBST parameter that needs mapping for mobile terminated calls is <speed>, 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 settingMapped value for mobile terminated call
0autobauding
42400 bps (V.22bis)
64800 bps (V.32)
79600 bps (V.32)
1414400 bps (V.34)
682400 bps (V.110 or X.31 flag stuffing)
704800 bps (V.110 or X.31 flag stuffing)
719600 bps (V.110 or X.31 flag stuffing)
7514400 bps (V.110 or X.31 flag stuffing)
Note: CSNS has read-only access to CBST data.
+MDC, Selection of Desired Message to Be Displayed Upon
Connection of a Voice Call
This AT command enables you to select the desired messages to be displayed upon connection of
a voice call with a remote party. The OK and CONNECT messages are available.
Command TypeSyntaxResponse/ActionRemarks
Set
Read
+MDC=<mode>OK
or:
ERROR
+MDC?++MDC: <mode>
OK
The Set command selects which of the
supported messages will be displayed
upon connection of a voice call.
<mode> Command Parameters:
0 - Display OK on voice call
connection
1 - Display CONNECT on voice call
connection
Default Values:
Power Up - As previously saved in
NVM FLEX bit
0 - Before Set command is first used
The Read command should return the
current selection of <mode>.
Test
3-36 G24-L AT Commands Reference ManualApril 15, 2008
+MDC=?+MDC: (list of
supported <mode>s)
OK
The T est command returns the po ssible
<mode> values.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.