at commands
TRANSCRIPT
2
72E-57474-02Revision A — March 2003
Symbol Technologies, Inc. One Symbol Plaza, Holtsville N.Y. 11742
G18 GSM/GPRS Modem AT Command Set
ii
2002-2003 by Symbol Technologies, Inc. All rights reserved.
No part of this publication may be reproduced or used in any form, or by any electrical or mechanical means, without permission in writing from Symbol. This includes electronic or mechanical means, such as photocopying, recording, or information storage and retrieval systems. The material in this manual is subject to change without notice.
The software is provided strictly on an “as is” basis. All software, including firmware, furnished to the user is on a licensed basis. Symbol grants to the user a non-transferable and non-exclusive license to use each software or firmware program delivered hereunder (licensed program). Except as noted below, such license may not be assigned, sublicensed, or otherwise transferred by the user without prior written consent of Symbol. No right to copy a licensed program in whole or in part is granted, except as permitted under copyright law. The user shall not modify, merge, or incorporate any form or portion of a licensed program with other program material, create a derivative work from a licensed program, or use a licensed program in a network without written permission from Symbol. The user agrees to maintain Symbol’s copyright notice on the licensed programs delivered hereunder, and to include the same on any authorized copies it makes, in whole or in part. The user agrees not to decompile, disassemble, decode, or reverse engineer any licensed program delivered to the user or any portion thereof.
Symbol reserves the right to make changes to any software or product to improve reliability, function, or design.
Symbol does not assume any product liability arising out of, or in connection with, the application or use of any product, circuit, or application described herein.
No license is granted, either expressly or by implication, estoppel, or otherwise under any Symbol Technologies, Inc., intellectual property rights. An implied license only exists for equipment, circuits, and subsystems contained in Symbol products.
Symbol is a registered trademarks of Symbol Technologies, Inc. Inet is a trademark of INET, Inc. Other product names mentioned in this document may be trademarks or registered trademarks of their respective companies and are hereby acknowledged.
Symbol Technologies, Inc.One Symbol PlazaHoltsville, N.Y. 11742-1300WWW: http://www.symbol.com
Contents
About This GuideIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiiNotational Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiiAbbreviations and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xivReferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xivService Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Chapter 1. IntroductionAT Command Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Chapter 2. Basic FunctionalityAT+CPIN, PIN and PUK Code Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1System Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3Establishing a Voice Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4Answering a Voice Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5Finding a Phonebook Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5Writing a Phonebook Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6Reading a Phonebook Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6Phone Book Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7Sending an SMS in PDU Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Chapter 3. AT Command SetATD, Dial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2ATDL, Redial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4AT+CAOC, Advice of Charge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5AT+CBAND, Change Band . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6AT+CBAUD, Set Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7AT+CBST, Select Bearer Service Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
iii
G18 GSM/GPRS Modem AT Command Set
AT+CCFC, Call Forwarding Number and Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11AT+CCWA, Call Waiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14AT+CEER, Extended Error Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16AT+CESP, Enter SMS Block Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17AT+CGACT, PDP Context Activation/Deactivation Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18AT+CGATT, GPRS Attach/Detach Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20AT+CGCLASS, GPRS MS Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21AT+CGDCONT, Define PDP Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22AT+CGMI, Request Manufacturer Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24AT+CGMM, Request Model Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25AT+CGMR, Request Revision Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26AT+CGPADDR, Show PDP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27AT+CGPRS, GPRS Coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28AT+CGQMIN, Quality of Service Provider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29AT+CGQREQ, Define/Modify/Remove Requested Quality of Service Profile . . . . . . . . . . . . . . . 3-31AT+CGSN, Request Product Serial Number Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33AT+CHLD, Call Related Supplementary Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34AT+CHUP, Hang Up Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39AT+CIMI, Request International Mobile Subscriber Identity (IMEI) . . . . . . . . . . . . . . . . . . . . . . . 3-40AT+CIP, IP Primitive Over AT Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41AT+CIPE, Enable +CIP AT Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42AT+CKPD, Keypad Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43AT+CLCC, List Current Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45AT+CLCK, Facility Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48AT+CLIP, Calling Line Identification Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50AT+CLIR, Calling Line Identification Restriction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52AT+CMEC, Mobile Equipment Control Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54AT+CMEE, Report Mobile Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-56AT+CMER, Mobile Equipment Event Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-58AT+CMGD, Delete SMS Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-60AT+CMGF, Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63AT+CMGL, List Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-64AT+CMGR, Read Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-66AT+CMGS, Send SMS Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-67AT+CMGW, Write Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-68AT+CMOD, Calling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-69AT+CMSS, Send Message from Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-70AT+CMUX, Multiplexing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-71AT+CNMA, DTE Confirming the Previous Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-72AT+CNMI, New Message Indications to TE+CNMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-73AT+CNUM, Subscriber Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-77AT+COPS, Operator Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-79AT+CPAS, Phone Activity Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-82AT+CPBF, Find Phone Book Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-84
iv
Contents
AT+CPBR, Read Phone Book Entries. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-86AT+CPBS, Select Phone Book Memory Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-88AT+CPBW, Write Phone Book Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-91AT+CPIN, Enter Pin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-94AT+CPMS, Preferred Message Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-97AT+CPOL, Preferred Operator List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-99AT+CPWD, Change Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-101AT+CR, Service Reporting Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-103AT+CRC, Cellular Result Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-105AT+CREG, Network Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-107AT+CRLP, Radio Link Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-109AT+CRSM, Restrict SIM Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-110AT+CRTT, Select Ring Tone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-112AT+CSCA, Service Center Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-114AT+CSCB, Select Cell Broadcast Message Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-116AT+CSCR, SIM Card Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-121AT+CSCS, Select TE Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-122AT+CSMP, Set SMS SIM Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-124AT+CSMS, Select Message Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-126AT+CSQ, Signal Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-128AT+CSTA, Select Type of Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-130AT+CSVM, Set Voice Mail Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-132AT+CTFR1, Divert an Incoming Call to Voice Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-135AT+FCLASS, Select Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-136AT+GCAP, Request Complete Capabilities List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-137AT+IPR, Setting and Saving Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-138AT+MCELL, Motorola Cell Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-140AT+MCSAT, Control SMS Alert Tone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-143AT+MCWAKE, DTE Wake Line Control Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-145AT+MECC, Motorola Extended Characters Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-146AT+MFS, Frequency of Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-148AT+MMGA, Change Message Attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-150AT+MMGL, Message List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-151AT+MMGR, Read Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-153AT+MSCTS, Sleep CTS Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-154AT+MTCTS, CTS Line Test Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-156AT+MTDTR, DTR Line Test Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-157AT+PT42 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-158
Index
Feedback
v
About This Guide
IntroductionThe G18 GSM/GPRS Modem AT Command Set provides information necessary for developing applications for Symbol terminals using the G18 modem.
Notational ConventionsThis document uses these conventions:
• “terminal” refers to any Symbol terminal using the G18 modem. • “User” refers to anyone using an application on the terminal.• “You” refers to the developer or other person using this manual as a reference to
develop applications for the terminal.• Italics are used to indicate command variables, highlight specific items in the
general text, and to identify chapters and sections in this and related documents. It also identifies names of dialog boxes and tabs within dialog boxes.
• Bullets (•) indicate:• lists of alternatives or action items.• lists of required steps that are not necessarily sequential.
• Numbered lists indicate a set of sequential steps, i.e., those that describe step-by-step procedures.
xiii
G18 GSM/GPRS Modem AT Command Set
Abbreviations and AcronymsThe following abbreviations/acronyms are used throughout this guide:
• AT: ATtention, used to start a command line.• ETSI: European Telecommunications Standards Institute.• GPRS: General Packet Radio Service• GSM: Global System for Mobile communications.• ITU-T: International Telecommunication Union = Telecommunication
Standardization Sector.• ME: Mobile Equipment. Refers to the GSM Modem.• MOC: Mobile Originated Call; a call from the SPT 1834 to the fixed network
(outgoing call).• MS: Mobile Station• MTC: Mobile Terminated Call; a call from the fixed network to the SPT 1834
(incoming call).• PIN: Personal Identification Number, 4-digit code used to protect the SIM.• PUK: Unblocking Key, 8-digit code used to unblock SIM PIN.• SIM: Subscriber Identity Module.• TA: Terminal Adapter. Refers to the GSM Modem.• TE: Terminal Equipment. Refers to the host device/application.
ReferencesThe following table lists the documents referenced throughout this guide.
GSM 07.05 GTS 07.05: January 1998 (GSM 07.05 version 5.5.0) Use of Data Terminal Equipment - Data Circuit terminating Equipment (DTE - DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS), ETSI
GSM 07.07 ETS 300 916: February 1998 (GSM 07.07 version 5.5.0) AT command set for GSM Mobile Equipment (ME)
T.32 T.32 (08/95) Asynchronous facsimile DCE control - service class 2, ITU
V.25ter (ITU-T V.25 ter, 1997) ITU-T Recommendation V.25ter; series V: data communication over the telephone network; Interfaces and voiceband modems; Serial asynchronous automatic dialing and control, ITU
xiv
About This Guide
Service InformationIf you have a problem with your equipment, contact the Symbol Support Center for your region. See page xvi for contact information. Before calling, have the model number, serial number, and several of your bar code symbols at hand.
Call the Support Center from a phone near the scanning equipment so that the service person can try to talk you through your problem. If the equipment is found to be working properly and the problem is symbol readability, the Support Center will request samples of your bar codes for analysis at our plant.
If your problem cannot be solved over the phone, you may need to return your equipment for servicing. If that is necessary, you will be given specific directions.
Note: Symbol Technologies is not responsible for any damages incurred during shipment if the approved shipping container is not used. Shipping the units improperly can possibly void the warranty. If the original shipping container was not kept, contact Symbol to have another sent to you.
GSM 03.40 (ETS 300 901): Digital cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS) Point-to-Point (PP).
GSM 04.11 (ETS 300 942): Digital cellular telecommunications system (Phase 2+); Point-to-Point (PP) Short Message Service (SMS) support on mobile radio interface.
GSM 03.38 (ETS 300 900): Digital cellular telecommunications system (Phase 2+); Alphabets and language-specific information.
GSM 03.41 (ETS 300 902): Digital cellular telecommunications system (Phase 2+); Technical realization of Short Message Service Cell Broadcast (SMSCB).
8410.011.00.201 January 6, 2000, ACI - Application Control Interface, Functional Interface description, Condat
GSM 07.05 GTS 07.05: January 1998 (GSM 07.05 version 5.5.0) Use of Data Terminal Equipment - Data Circuit terminating Equipment (DTE - DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS), ETSI
xv
G18 GSM/GPRS Modem AT Command Set
Symbol Support CenterFor service information, warranty information or technical assistance contact or call the Symbol Support Center in:
United States 1Symbol Technologies, Inc.One Symbol PlazaHoltsville, New York 11742-13001-800-653-5350
CanadaSymbol Technologies Canada, Inc.2540 Matheson Boulevard EastMississauga, Ontario, Canada L4W 4Z2905-629-7226
United KingdomSymbol TechnologiesSymbol PlaceWinnersh Triangle, Berkshire RG41 5TPUnited Kingdom0800 328 2424 (Inside UK)+44 118 945 7529 (Outside UK)
Asia/PacificSymbol Technologies Asia, Inc (Singapore Branch)230 Victoria Street #05-07/09Bugis Junction Office TowerSingapore 188024Tel : +65-6796-9600 Fax : +65-6337-6488
AustraliaSymbol Technologies Pty. Ltd.432 St. Kilda RoadMelbourne, Victoria 30041-800-672-906 (Inside Australia)+61-3-9866-6044 (Outside Australia)
Austria/ÖsterreichSymbol Technologies Austria GmbH Prinz-Eugen Strasse 70 / 2.Haus1040 Vienna, Austria01-5055794-0 (Inside Austria)+43-1-5055794-0 (Outside Austria)
Denmark/DanmarkSymbol Technologies ASDr. Neergaardsvej 32970 Hørsholm7020-1718 (Inside Denmark)+45-7020-1718 (Outside Denmark)
Europe/Mid-East Distributor OperationsContact your local distributor or call+44 118 945 7360
xvi
About This Guide
Finland/SuomiOy Symbol TechnologiesKaupintie 8 A 6FIN-00440 Helsinki, Finland9 5407 580 (Inside Finland)+358 9 5407 580 (Outside Finland)
FranceSymbol Technologies FranceCentre d'Affaire d'Antony3 Rue de la Renaissance92184 Antony Cedex, France01-40-96-52-21 (Inside France)+33-1-40-96-52-50 (Outside France)
Germany/DeutchlandSymbol Technologies GmbHWaldstrasse 66D-63128 Dietzenbach, Germany6074-49020 (Inside Germany)+49-6074-49020 (Outside Germany)
Italy/ItaliaSymbol Technologies Italia S.R.L.Via Cristoforo Columbo, 4920090 Trezzano S/N NavigiloMilano, Italy2-484441 (Inside Italy)+39-02-484441 (Outside Italy)
Latin America Sales Support2730 University Dr.Coral Springs, FL 33065 USA1-800-347-0178 (Inside United States)+1-954-255-2610 (Outside United States)954-340-9454 (Fax)
Mexico/MéxicoSymbol Technologies Mexico Ltd.Torre PicassoBoulevard Manuel Avila Camacho No 88Lomas de Chapultepec CP 11000Mexico City, DF, Mexico5-520-1835 (Inside Mexico)+52-5-520-1835 (Outside Mexico)
Netherlands/NederlandSymbol TechnologiesKerkplein 2, 7051 CXPostbus 24 7050 AAVarsseveld, Netherlands315-271700 (Inside Netherlands)+31-315-271700 (Outside Netherlands)
Norway/NorgeSymbol’s registered and mailing address:Symbol Technologies NorwayHoybratenveien 35 CN-1055 OSLO, Norway
Symbol’s repair depot and shipping address:Symbol Technologies NorwayEnebakkveien 123N-0680 OSLO, Norway
+47 2232 4375
xvii
G18 GSM/GPRS Modem AT Command Set
If you purchased your Symbol product from a Symbol Business Partner, contact that Business Partner for service.
For the latest version of this guide go to:http://www.symbol.com/manuals.
South AfricaSymbol Technologies Africa Inc.Block B2Rutherford Estate1 Scott StreetWaverly 2090 JohannesburgRepublic of South Africa11-809 5311 (Inside South Africa)+27-11-809 5311 (Outside South Africa)
Spain/EspañaSymbol Technologies S.L.Avenida de Bruselas, 22Edificio SauceAlcobendas, Madrid 28108Spain91 324 40 00 (Inside Spain)+34 91 324 40 00 (Outside Spain)Fax: +34.91.324.4010
Sweden/Sverige“Letter” address:Symbol Technologies ABBox 1354S-171 26 SOLNASweden
Visit/shipping address:Symbol Technologies ABSolna Strandväg 78S-171 54 SOLNASweden
Switchboard: 08 445 29 00 (domestic)Call Center: +46 8 445 29 29 (international)Support E-Mail: [email protected] support is available 24 hours a day, 7 days a week.
xviii
Chapter 1 Introduction
The G18 integrated tri-band GSM/GPRS radio modem allows the terminal wireless connectivity using the GSM900/1800/1900 cellular networks. This guide describes the AT command set supported by this radio modem.
1-1
G18 GSM/GPRS Modem AT Command Set
AT Command TablesThe following tables list the commands supported by the modem.
AT CommandsTable 1-1 and Table 1-2 list the AT commands for the modem. Most of these commands are from the V.25ter reference.
The format of the command is:
AT<command>
For example, ATE0 turns off the echo command.
Note: To repeat the previous command, use A/. This is not prefixed with AT.
Table 1-1. Basic Call Control Commands (Including V.25ter)
Command Function
A Goes off-hook and attempts to answer a call
Dn Dial modifier. For voice calls use one of the following commands:ATDxxxAT*Dxxxx ATD>102 ATD>DAN ATDS=1 ATDS=0 ATD>SM101
E0 Turns off command echo
E1 Turns on command echo
F No action, compatibility only
H Initiates a hang-up sequence
I0 Reports product code
1-2
Introduction
I1 Reports pre-computed checksum
I2 Reports processor name
I3 Reports firmware revision
I4 Reports product name
I6 Reports processor name
L No action, compatibility only
M No action, compatibility only
N No action, compatibility only
P No action, compatibility only
O Goes on-line
Q0 Allows result codes to the DTE
Q1 Inhibits result codes to the DTE
Sn=x Sets value x for S-register n
Sn? Returns the value of S-register n
S0 Reads/sets the number of rings before Automatic Answer
S2 Reads/sets Escape code character
S3 Reads/sets Carriage return code character
S4 Line feed code character
S5 Command line editing characterNote: In command line editing, all characters with a hexadecimal value of 0 to $1F, except for Backspace, Line Feed and Carriage Return, are ignored.
S7 Wait time for data call carrier
S24 ATS24=0: the modem is not in sleep modeATS24=#: the modem is in sleep mode and will enter sleep mode after # seconds
Sn for n equal to 14, 21, 22, 31, 36, 39, 40, 41
Bit map registers
Table 1-1. Basic Call Control Commands (Including V.25ter) (continued)
Command Function
1-3
G18 GSM/GPRS Modem AT Command Set
S95 Bitmap register for extended result code
S96 Echo cancelling feature for audio devices by ATS96=1
S97 Antenna diagnostic feature: ATS97? responds with 000 or 001. 000 means that either the antenna is not connected or the hardware does not support this feature.
S98 ATS98=1 allows the handset’s backlight to behave as if the unit was not powered by the TS line. It turns off the backlight immediately, for the first time after powering up. Note: ATS98=x is allowed only for x=1.
S99 ATS99=x defines the length in ms of the hardware pulse given when the GPRS coverage is changed from no coverage to coverage. The pulse length is 2x when the data indication is sent. The default value is 30 ms; 0 is not allowed. S99 responds with an error if the value is greater than 2,147,483,647 or equal to zero.
S100 ATS100=x, where x defines the number of seconds. To avoid frequent hardware interrupts, the modem uses hardware indication for data only after x seconds from the last sent character to the DTE. The default value of x is 1 second; 0 is not allowed. S100 responds with an error if the value is greater than 32,767 or equal to zero.
S101 Sets the wakeup line forever when x=1, and resets it when x=0. ATS101? returns the current state. These operations are allowed only when the factory bit is set. When the parameters are wrong, or the factory bit is not set, it returns an error.
T No action, compatibility only
V0 Reports short form (terse) result codes
V1 Reports long form (verbose) result codes
W0 Reports DTE in Error Correction (EC) mode
X0 Reports basic call progress result codes: OK, CONNECT, RING, NO CARRIER (also for busy, if enabled, and dial tone not detected), NO ANSWER, and ERROR.
X1 Reports basic call progress result codes and connection baud rates: OK, CONNECT, RING, NO CARRIER (also for busy, if enabled, and dial tone not detected), NO ANSWER, CONNECT XXXX, and ERROR.
X4 Reports all calls progress result codes and connection rates: OK, CONNECT, RING, NO CARRIER, NO ANSWER, CONNECT XXXX and ERROR
Y No action, compatibility only
Z Resets to default configuration
Table 1-1. Basic Call Control Commands (Including V.25ter) (continued)
Command Function
1-4
Introduction
&C0 DCD is forced ON at all times
&C1 DCD is set to ON when the CSD carrier is detected or when the GPRS session is started
&C2 DCD is set to ON when the PDP is active and the IP address is received from the network. This command should not be used with a computer dial-up networking program.
&D0 Interprets the DTR on-to-off transition; modem ignores DTR
&D1 Interprets the DTR on-to-off transition; modem performs as asynchronous to command mode
&D2 Interprets the DTR on-to-off transition; modem hangs up
&D3 Interprets the DTR on-to-off transition; modem hangs up
&F0 Restores the factory configuration 0
&F1 Restores the factory configuration 1
&G No action, compatibility only
&J No action, compatibility only
&K0 Disables all DTE/DCE flow controls
&K3 Enables RTS/CTS DTE/DCE flow controls
&K4 Enables XON/XOFF DTE/DCE flow controls
&K6 Enables RTS/CTS DTE/DCE flow controls
&L No action, compatibility only
&M No action, compatibility only
&P No action, compatibility only
&Q0 Selects a direct asynchronous mode (this has no effect on the modem since it only has a non-transparent mode)
&Q5 Modem negotiates an error corrected link (default) (this has no effect on the modem, since it only has a non-transparent mode)
&Q6 Selects an asynchronous operation in normal mode (this has no effect on the modem, since it only has a non-transparent mode)
&R No action, compatibility only
Table 1-1. Basic Call Control Commands (Including V.25ter) (continued)
Command Function
1-5
G18 GSM/GPRS Modem AT Command Set
&S Defines the DSR's behavior (always active)
&T No action, compatibility only
&V Displays the current configuration and stores the profiles
&W0 Stores the active profile in NVRAM profile 0
&W1 Stores the active profile in NVRAM profile 1
&Y0 Recalls the stored profile 0 upon power up
&Y1 Recalls the stored profile 1 upon power up
&Zn=x Stores the dial string x (up to 35 characters) into location n = (0 to 3)
\N1 Selects the direct mode (this has no effect on the modem, since it only has a non-transparent mode)
\N2 Selects the reliable link mode (this has no effect on the modem, since it only has a non-transparent mode)
AT*A Same as ATA
AT*D Dials voice call numbers
AT*P No action, compatibility only
AT*V No action, compatibility only
A/ Repeats last command
AT? Returns the value of the last updated S-Register
AT$ Lists the supported AT commands
Table 1-1. Basic Call Control Commands (Including V.25ter) (continued)
Command Function
1-6
Introduction
Table 1-2. Advanced AT Commands List
Command Function
+CRTT Selects ring tone
+CIPE Enables/disables CIP command
+CIP Sends IP primitives (messages used by the DSC bus) over RS232
+CBAUD Selects the baud rate
+CGPRS Indicates the GPRS coverage
+MTDTR Supported for DTR line test command
+MTCTS Supported for CTS line test command
+MCWAKE Supported for DTE wake line control command
+MMGL Lists the messages without changing their attributes
+MMGR Reads the message without changing its attributes
+MMGA Changes the message attributes
+CMSS Sends the message from storage
1-7
G18 GSM/GPRS Modem AT Command Set
Error Correction And Compression (ECC) CommandsThe modem supports the commands listed in Table 1-3.
Table 1-3. Supported ECC Commands List
Command Function
%C0 Disables data compression (this has no effect on the modem, since it does not have compression)
%C1 Enables MNP 5 data compression (this has no effect on the modem, since it does not have compression)
%C2 Enables V.42 bis data compression (this has no effect on the modem, since it does not have compression)
%C3 Enables both V.42 bis and MNP 5 compression (this has no effect on the modem, since it does not have compression)
\A0 Sets the maximum block size in MNP to 64
\A1 Sets the maximum block size in MNP to 128
\A2 Sets the maximum block size in MNP to 192
\A3 Sets the maximum block size in MNP to 256
\G Uses XON/XOFF flow controls; not supported by the modem
\S Shows the status of the commands and S-Registers in effect
1-8
Introduction
FAX Class 1 Commands
Table 1-4. FAX Class Commands
Command Function Remark
"FCLASS" Selects mode 0 – data 1 – fax Class 1
"FAE" fax_auto_answer Class 1
"FRH" fax_receive_hdlc_data Class 1
"FRM" fax_receive_data Class 1
"FRS" fax_receive_silence Class 1
"FTH" fax_transmit_hdlc_data Class 1
"FTM" fax_transmit_data Class 1
"FTS" fax_transmit_silence Class 1
1-9
G18 GSM/GPRS Modem AT Command Set
ETSI 07.07 StandardThe following tables list the commands defined by ETSI standard 07.07 Phase 1, supported by the modem. For more information on ETSI commands, see the ETSI document GSM 07.07 — prETS 300 916, GSM 07.05, GSM 03.40 Sections 9.1 and 9.2, GSM 04.11 Sections 8.2.5.1 and 8.2.5.2, and GSM 03.38.
For each command we recommend using the ? option to query the modem for details of each command. For example, use AT+CR? to get the full details on the +CR command.
Table 1-5. General ETSI 07.07 Commands
Command Description Reference
+CGMI Requests manufacturer identification 5.1
+CGMM Requests model identification 5.2
+CGMR Requests revision identification 5.3
+CGSN Requests product serial number identification 5.4
+CSCS Selects TE character set 5.5
+CIMI Requests international mobile subscriber identity 5.6
+GCAP Requests overall capabilities of TA V25ter section 6.1.9
1-10
Introduction
Table 1-6. ETSI 07.07 Call Control Commands and Methods
Command Description Reference
+CSTA Selects type of address and dial characters allowed in dial string
6.1
D Dial modes Dial modifiers for V.25ter dialing (TP!W,>IiGg)
6.2
Dx V.25ter: Direct dialing from phone books where x is the location 6.3
+CMOD Call mode 6.4
+CHUP Hangs up call (similar to ATH) 6.5
+CBST Selects bearer service type (baud rate, V110/RLP, etc.) 6.7
+CRLP Radio link protocol parameters 6.8
+CR Service reporting control (result codes) 6.9
+CEER E Extended error report (report failure reason of last call) 6.10
+CRC Cellular result codes 6.11
ITU-T V.25ter Call control commands 6.20
Table 1-7. ETSI 07.07 Mobile Extended Error Report
Command Description
+CEER Extended error report
+CEER ERROR 1 Unassigned or unallocated number
3 No route to destination
6 Channel unacceptable
8 Operator determined barring
16 Normal call clearing
17 User busy
18 No user responding
19 User alerting, no answer
1-11
G18 GSM/GPRS Modem AT Command Set
+CEER ERROR 21 Call rejected
22 Number changed
26 Non selected user clearing
27 Destination out of order
28 Invalid number format (incomplete number)
29 Facility rejected
30 Response to STATUS ENQUIRY
31 Normal, unspecified
33 Command aborted
34 No circuit/channel available
38 Network out of order
41 Temporary failure
42 Switching equipment congestion
43 Access information discarded
44 Requested circuit/channel unavailable
47 Resources unavailable, unspecified
49 Quality of Service unavailable
50 Requested facility not subscribed
55 Incoming calls barred within the CUG
57 Bearer capability not authorized
58 Bearer capability not presently available
63 Service or option not available, unspecified
65 Bearer service not implemented
69 Requested facility not implemented
70 Only restricted digital information bearer capability is available
79 Service or option not implemented, unspecified
81 Invalid transaction identifier value
Table 1-7. ETSI 07.07 Mobile Extended Error Report (continued)
Command Description
1-12
Introduction
+CEER ERROR 87 User not member of CUG
88 Incompatible destination
91 Invalid transit network selection
95 Semantically incorrect message
96 Invalid mandatory information
97 Message type non-existent or not implemented
98 Message type not compatible with protocol state
99 Information element non-existent or not implemented
100 Conditional IE error
101 Message not compatible with protocol state
102 Recovery on timer expiry
111 Protocol error, unspecified
127 Inter-working, unspecified
Table 1-8. ETSI 07.07 Network Service Related Commands
Command Description Reference
+CNUM Subscriber number 7.1
+CREG Network registration 7.2
+COPS GSM network operator selection 7.3
+CLCK Facility lock 7.4
+CPWD Changes password 7.5
+CLIP Calling line identification presentation 7.6
+CLIR Calling line identification restriction 7.7
+CCFC Call forwarding number and conditions 7.10
+CCWA Call waiting 7.11
Table 1-7. ETSI 07.07 Mobile Extended Error Report (continued)
Command Description
1-13
G18 GSM/GPRS Modem AT Command Set
+CHLD Call-related supplementary services 7.12
+CTFR1* Reject an incoming call, and divert it to the voice mail (not to another number)
7.13
+CAOC Advice of charge 7.15
+CLCC Lists current calls and asynchronous answers 7.17
+CPOL Preferred operator list 7.18
*This command is based on the +CTFR standards.
Table 1-9. ETSI 07.07 Mobile Equipment Control and Status Commands
Command Description Reference
+ Phone activity status (off, on, online) Return Code - Meaning:+CPAS:000 - Ready +CPAS:001 - Unavailable +CPAS:002 - Unknown +CPAS:003 - Ringing +CPAS:004 - Call in process +CPAS:005 - Asleep
8.1
+CPIN Enter/change PIN (4 - 8 digits) 8.3
+CSQ Signal quality 8.5
+CMEC Mobile equipment control mode (optional if keypad and display not supported)
8.6
+CKPD Keypad control 8.7
+CDEV* Display Control - upon sending AT+CMER=0,0,1 current text display report is received
8.8
*Not supported by modem. To obtain +CDIS functionality, follow the instructions above.**Not supported by modem. To obtain +CIND functionality, follow the instructions above.***Not supported by modem. To obtain +CMUT functionality, use +CIP AT command, and follow the instructions above.
Table 1-8. ETSI 07.07 Network Service Related Commands (continued)
Command Description Reference
1-14
Introduction
+CIEV** Indicator Control - upon sending AT+CMER=0,0,0,1 current indicator report is received
8.9
+CMER Mobile equipment event reporting 8.10
+CPBS Selects phone book memory storage (optional if phone book not supported)
8.11
+CPBR Reads phone book entries 8.12
+CPBF Finds phone book entries 8.13
+CPBW Writes phone book entry 8.14
+CRSM Restricts SIM access 8.18
+CMUT*** Mute control – use AT+CIP with IP_MUTE_REQ command for mute toggling
8.24
Table 1-10. ETSI 07.07 Mobile Equipment Errors and Status Reports
Command Description Reference
+CMEE Report mobile equipment error 9.1
+CME ERROR 0 Phone failure 9.2
1 No connection to phone
2 Phone-adaptor link reserved
3 Operation not allowed
4 Operation not supported
5 PH-SIM PIN required
6 PH-FSIM PIN required
7 PH-FSIM PUK required
Table 1-9. ETSI 07.07 Mobile Equipment Control and Status Commands (continued)
Command Description Reference
*Not supported by modem. To obtain +CDIS functionality, follow the instructions above.**Not supported by modem. To obtain +CIND functionality, follow the instructions above.***Not supported by modem. To obtain +CMUT functionality, use +CIP AT command, and follow the instructions above.
1-15
G18 GSM/GPRS Modem AT Command Set
+CME ERROR 10 SIM not inserted 9.2
11 SIM PIN required
12 SIM PUK required
13 SIM failure
14 SIM busy
15 SIM wrong
16 Incorrect password
17 SIM PIN2 required
18 SIM PUK2 required
20 Memory full
21 Invalid index
22 Not found
23 Memory failure
24 Text string too long
25 Invalid characters in text string
26 Dial string too long
27 Invalid characters in dial string
30 No network service
31 Network time-out
32 Network not allowed - emergency calls only
Table 1-10. ETSI 07.07 Mobile Equipment Errors and Status Reports (continued)
Command Description Reference
1-16
Introduction
V.25TER Commands Used With GSMThe following tables list the V.25ter commands that can be used with GSM.
Table 1-11. V.25ter Commands Used with GSM
Command Description V.25ter Reference
&C DCD (received line signal detector) behavior 6.2.8
&D DTR (data terminal ready) behavior 6.2.9
&F Set to factory-defined configuration 6.1.2
+GCAP Request complete capabilities list 6.1.9
+CGMI Request manufacturer identification 6.1.4
+CGMM Request model identification 6.1.5
+CGMR Request revision identification 6.1.6
+CGSN Request product serial number ID (IMEI) 6.1.7
A Answer 6.3.5
D Dial 6.3.1
E Command echo 6.2.4
H Hook control 6.3.6
I Request identification information 6.1.3
O Return to online data state 6.3.7
S0 Automatic answer 6.3.8
S2 Read/set escape code character
S3 Command line termination character 6.2.1
S4 Response formatting character 6.2.2
S5 Command line editing character 6.2.3
S7 Connection completion time-out 6.3.10
S24 Sleep mode
1-17
G18 GSM/GPRS Modem AT Command Set
Sn for n equals to 14, 21, 22, 31, 36, 39, 40, 41
Bit map registersNote: S14 is a read only register. When entering it returns OK but value is not changed.
S94 Sidetone enable/disable (unmute/mute) feature for analog audio devices. When ATS94=1, sidetone is enabled (default).
S95 Bitmap register for extended result code
S96 Echo cancelling feature for audio devices by ATS96=1 After sending this command, restart the modem to activate this feature.
S97 Antenna diagnostic feature: ATS97? responds with 000 or 001. 000 means the antenna is not connected or the hardware does not support this feature
S98 ATS98=1 allows the handset’s backlight to behave as if the unit was not powered using the TS line. It turns off the backlight immediately, for the first time after powering up. Note: ATS98=x is allowed only for x=1.
S99 ATS99=x, where x defines the length in ms of the hardware pulse given when GPRS coverage is changed from no coverage to coverage. The pulse length is 2x when data indication is sent. The default value is 30 ms; 0 is not allowed. S99 responds with an error if the value is greater than 2,147,483,647.
S100 ATS100=x, where x defines number of seconds. To avoid frequent hardware interrupts, the modem uses hardware indication for data only after x seconds from the time the last character was sent to the DTE. The default value of x is 1 second; 0 value is not allowed. S100 responds with an error if the value is greater than 32,767.
S101 Sets wakeup line forever when x=1, and resets it when x=0. ATS101? returns the current state. These operations are allowed only when the factory bit is set. When the parameters are incorrect, or the factory bit is not set, returns an error.
V DCE response format 6.2.6
Table 1-11. V.25ter Commands Used with GSM (continued)
Command Description V.25ter Reference
1-18
Introduction
ETSI 07.05 Standard (SMS)The following tables list the complete set of commands as described in ETSI standard 07.05. For each command we recommended using the ? option to query the modem for details of each command. For example, use AT+CR? to get the full details on the +CR command.
Block mode is an older stand-alone mode (provided for compatibility reasons) that makes use of full text commands and responses to send and receive SMS messages. PDU mode is the preferred method since it is the easiest to use. Text mode is not supported by the modem.
X Result code selection and call progress monitoring control 6.2.7
Z0 Restores stored profile 0 6.1.1
Z1 Restores stored profile 1 6.1.1
Table 1-12. V.25ter Voice Commands
Command Description
*A Voice answer
*D Voice dial
ATD*99 Request GPRS service "D"
ATD*100 Manually accepts a network request
; Dial modifier Modifier for voice dial
A Voice answer
H Voice hang-up
Table 1-11. V.25ter Commands Used with GSM (continued)
Command Description V.25ter Reference
1-19
G18 GSM/GPRS Modem AT Command Set
Block ModeSMS block mode is described in GSM 07.05, section 2.
Table 1-13. ETSI 0705 TE Commands Sent from Host to Phone
Command Description ETSI 07.05 Reference
ACKNOWLEDGE MESSAGE
Acknowledges receipt of INC MESSAGE or MESSAGE ARRIVED
2.4.1.12
DELETE MESSAGE Deletes SMS message 2.4.1.9
END SMS MODE Terminates SMS/CBS mode of the DTE/DCE interface
2.4.1.11
GET FIRST MESSAGE Retrieves the first message stored on the phone 2.4.1.3
GET MESSAGE Retrieves a specific message stored on the phone 2.4.1.2
GET NEXT MESSAGE Retrieves the next message stored on the phone 2.4.1.4
INDICATE INC SMS Requests notification of any incoming SMS messages
2.4.1.6
INSERT SMS Sends an SMS message 2.4.1.8
LIST REQUEST Requests list of messages stored on the phone 2.4.1.1
TRANSFER INC CBS Requests direct transfer of broadcast messages directly to host computer
2.4.1.7
TRANSFER INC SMS Requests direct transfer of incoming SMS messages from the air directly to host computer
2.4.1.5
UNABLE TO PROCESS Indicates that a phone message could not be processed
2.4.1.10
Table 1-14. ETSI07.05 MT Responses Sent from Phone to Host
Response Description ETSI 07.05 Reference
DELETE MESSAGE COMPLETE
Host’s request to delete a message has been completed
2.4.2.8
DELETE MESSAGE FAILURE
Host’s request to delete a message has failed 2.4.2.9
1-20
Introduction
Text ModeText mode is described in GSM 07.05, section 3. The modem does not support text mode, however the following commands are supported, since they are used for PDU mode.
END SMS MODE Phone is exiting SMS mode 2.4.2.11
GET MESSAGE FAILURE
Request for a message cannot be fulfilled 2.4.2.3
INC MESSAGE Incoming message transfer to host requested 2.4.2.4
INSERT SMS COMPLETE
Host’s request to insert a message completed 2.4.2.6
INSERT SMS FAILURE Host’s request to insert a message failed 2.4.2.7
MESSAGE Indicates a message requested 2.4.2.2
MESSAGE ARRIVED Indicates an incoming messages requested 2.4.2.5
MESSAGE LIST Indicates receipt of LIST REQUEST 2.4.2.1
REQUEST CONFIRMED Request received and will be performed 2.4.2.12
UNABLE TO PROCESS Host’s request could not be processed 2.4.2.10
Table 1-15. ETSI 07.05 Text Mode
Command Description ETSI 07.05 Reference
+CSMS Select message service (phase 2, phase 2+, etc.) 3.2.1
+CPMS Preferred message storage 3.2.2
+CMGF Message format: PDU or text mode selection, PDU = default 3.2.3
+CESP Enter SMS block mode protocol 3.2.4
Table 1-14. ETSI07.05 MT Responses Sent from Phone to Host (continued)
Response Description ETSI 07.05 Reference
1-21
G18 GSM/GPRS Modem AT Command Set
+CMS Message service failure result code: 0 - 127 GSM 04.11 Appendix E-2 values 128 - 255 GSM 03.40 sub-clause 9.2.3.22 values 300 ME failure 301 SMS service of ME reserved 302 Operation not allowed 303 Operation not supported 304 Invalid PDU mode parameter 305 Invalid text mode parameter 310 SIM not inserted +CMS 311 SIM PIN required 312 PH-SIM PIN required 313 SIM failure 314 SIM busy 315 SIM incorrect 316 SIM PUK required 317 SIM PIN2 required 318 SIM PUK2 required 320 Memory failure 321 Invalid memory index 322 Memory full 330 SMSC address unknown 331 No network service 332 Network time-out 340 No +CNMA acknowledgement expected 500 Unknown error
3.2.5
+CMGD Deletes message 3.5.4
+CSCA Service centre address 3.3.1
+CNMI Indicates new message 3.4.1
+CMGL Lists messages 3.4.2
+CMGR Reads message 3.4.3
Table 1-15. ETSI 07.05 Text Mode (continued)
Command Description ETSI 07.05 Reference
1-22
Introduction
PDU ModePDU mode is described in GSM 07.05 Section 4. PDU mode uses the same commands and responses as Text mode, but different formats for the following commands and responses.
See GSM 04.11 and GSM 03.40 for details on formatting the Service Center Address and Transport Data Protocol Unit of the SMS PDU.
+CNMA Acknowledges new message to ME/TA 3.4.4
+CMSS Sends message from storage 3.5.2
Table 1-16. ETSI 0705 PDU Mode
Command Description ETSI 07.05 Reference
+CMGL Lists messages 4.1
+CMGR Reads message 4.2
+CMGS Sends message 4.3
+CMGW Writes message 4.4
+CNMA Acknowledges new message to ME/TA 4.6
+CMSS Sends message from storage 4.7
Table 1-15. ETSI 07.05 Text Mode (continued)
Command Description ETSI 07.05 Reference
1-23
G18 GSM/GPRS Modem AT Command Set
GPRS CommandsTable 1-17. ETSI 07.07 Commands for GPRS
Command Function Reference
+CGDCONT Defines, modifies or removes a PDP context 10.1.1
+CGQREQ Defines, modifies or removes a requested Quality of Service profile
10.1.2
+CGQMIN Defines, modifies or removes a minimum required Quality of Service profile
10.1.3
+CGATT Attaches/detaches GPRS requests 10.1.4
+CGACT Activates/deactivates PDP context request 10.1.5
+CGPADDR Shows PDP address 10.1.8
+CGCLASS Interfacing mobile station class parameters (stores, manages, retrieves)
10.1.11
1-24
Chapter 2 Basic Functionality
AT+CPIN, PIN and PUK Code EntryIf your SIM card requests a PIN number, use the following commands:
AT Command Reaction Remarks
AT+CPIN=”nnnn” +CME ERROR: <err> Enables the SIM card.
nnnn = PIN number (4 - 8 digits). If PIN is correct, returns “OK”. If PIN is incorrect, returns “ERROR”.
AT+CPIN? +CPIN: <code>+CME ERROR: <err> Responds with information about the SIM and PIN.
When no SIM is available: +CME ERROR:<err> When PIN is not needed: +CPIN:READY When PIN is needed: +CPIN: SIM PIN When PUK number is needed: +CPIN: SIM PUK When PIN2 is blocked: +cpin: SIM PUK2
AT+CPIN=? OK
Table 2-1. CPIN Results
SIM/PIN Status Allowed
Commands
AT Command Result for
Non-allowed Commands
+CPIN? Result +CPIN? Code
Output
No SIM G1 SIM Not inserted SIM Not inserted -
2-1
G18 GSM/GPRS Modem AT Command Set
G1 is the following AT commands group:
• Basic AT command (includes ATD, ATA, ATH).• AT+CKPD (to simulate handset key strokes).• AT+CMER (to get handset screen output).
G2 is the AT command group which interacts with the ME. The following commands are accepted when ME is pending: SIM PIN, SIM PUK or PH-SIM (GSM 7.07 section 8.3): +CGMI, +CGMM, +CGMR, +CGSN, +CPAS, +CPIN.
Note: The following AT commands are enabled without a valid SIM: GCAP, GMI,GMR, IFC, CEER, CGMI, CGMM, CGMR, CGSN, CHUP, CIPE, CKPD, CMEE, CMER, CIP, CRC, CSQ, CR, MTDTR
Bad SIM G1 SIM Failure SIM Failure -
Required SIM Card PIN
G1, G2 SIM PIN Required OK SIM PIN
PIN1 Blocked G1, G2 SIM PUK Required OK SIM PUK
Permanent Blocked (PUK)
G1 SIM Failure SIM Failure -
PIN2 required All Depends on AT command
OK SIM PIN2
PIN2 blocked All Depends on AT command
OK SIM PUK2
Permanent Blocked (PUK2)
G1 SIM Failure SIM Failure -
Other All Depends on AT command
OK READY
Table 2-1. CPIN Results (continued)
SIM/PIN Status Allowed
Commands
AT Command Result for
Non-allowed Commands
+CPIN? Result +CPIN? Code
Output
2-2
Basic Functionality
System Feedback
AT Command Reaction Remark
ATI3 Provides software version E.g., E6.02.07
AT+CGMR Provides hardware information +CGMR: g18_v_E6_02_07 (PC card)
AT+CGMI Provides hardware information +CGMI: "MOTOROLA"
AT+CNUM Provides subscriber number +CNUM: "VOICE","054445561",129 +CNUM: "DATA","054626515",129 +CNUM: "FAX","054562511",129
AT+COPS? Provides network operator name E.g., +COPS: 000, 000, "IL ORANGE"
AT+CSQ Provides signal strength indication e.g., +csq: 031,099
E.g., +CSQ: 030, 099 Note: Ber information not supported
AT+CMEE=<n> Report mobile equipment error; should always be set to 2
0 = disabled (ERROR)1 = enabled (numeric, +CME ERROR: 3)2 = enabled (string, +CME ERROR: “operation not allowed”)
AT+CMER Mobile equipment event reporting to IP
E.g., AT+CMER=0,0,1,1,0
2-3
G18 GSM/GPRS Modem AT Command Set
Establishing a Voice CallThe following table shows the basic commands to be sent to the modem to establish a voice call.
NoteIn a voice call, when the other side hangs up, DTE receives a “NO CARRIER" message. Only the second OK in a voice call notifies the user that the call was established.
AT Command Response/Action Remark
Power up the modem.
AT+CPIN= “xxxx” Enables SIM card. DSC LED lights up.xxxx = PIN number (4 - 8 digits).
ATD (phone number); orAT*D (phone number) orATD> <index>; orATD> <name>orATDS=n (n=0 to 3) orATD><mem><index>;
Dials the phone number (voice call).For example:ATD123456;ATD>102; orATD>”DAN” orATDS=1; orATDS=0 orATD>SM101;
OK.NO CARRIER
ATDL Redials the last number.
AT*dxxxx Current call is a voice call.
ATH Hangs up. In Multi-party calls, ATH does not end the last call; you must use AT+CHLD=1.
2-4
Basic Functionality
Answering a Voice CallThe following table shows the basic commands to be sent to the modem to answer a voice call.
Finding a Phonebook EntryThe following table shows the basic commands to be sent to the modem to find a phonebook entry.
AT Command Response/Action Remarks
Power up the modem.
AT+CPIN=<nnnn> Enables SIM card. nnnn = PIN number (4 - 8 digits)
ATA Answers the call.
AT Command Response/Action Remark
Power up the modem.
AT+CPIN= “nnnn” Enables SIM card. nnnn = PIN number (4 - 8 digits)
AT+CPBS= “mt” Enables the phone and SIM memory.
AT+CPBF= “Name” Modem shows the number on that position +CPBF: xxx, <phone number>, yyy, <name of entry>
<name> is a string of up to 3 characters:<xxx> = position in the memory:0-100 = phone memory101-220 = SIM card memory<yyy> = phone number:129 normal number 145 international number
2-5
G18 GSM/GPRS Modem AT Command Set
Writing a Phonebook Entry
Reading a Phonebook Entry
AT Command Response/Action Remark
Power up the modem.
AT+CPIN= “nnnn” Enables SIM card. nnnn = PIN number (4 - 8 digits)
AT+CPBS= “mt” Enables the phone and SIM memory.
AT+CPBW=xxx, “Phone number”, yyy, “Name of entry”
Modem writes the number on that position.
<xxx> = position in the memory:0-100 = phone memory101-220 = SIM card memory<yyy> = phone number:129 normal number 145 international number
AT Command Response/Action Remark
Power up the modem.
AT+CPIN= “nnnn” Enables SIM card. nnnn = PIN number (4 - 8 digits)
AT+CPBS= “mt” Enables the phone and SIM memory.
AT+CPBR= xxx Modem shows the number on that position +CPBR: xxx, “phone number”, yyy, “Name”
<xxx> = position in the memory:0-100 = phone memory101-220 = SIM card memory<yyy> = phone number:129 normal number 145 international number
2-6
Basic Functionality
Phone Book Function
Sending an SMS in PDU Mode
AT Command Response/Action Remark
AT+CPBS=”NN” Use this first to select the phone book.
<NN>:FD = SIM fix dialing phonebook LD = last dialing phonebookME = ME phonebook MT = ME and SIM phonebook SM = SIM phonebook DD = Direct Dial phonebook RC = ME received calls list MC = ME missed calls list
AT+CPBS? e.g., +CPBS: "SM",45, 100
AT+CPBS=? +CPBS: ("FD","LD","ME","MT", "SM","DD","RC","MC")
List of supported memory
AT+CPBR= xxx e.g., AT+CPBR=101 +CPBR: 101,"123456",129,"AVI"
<xxx>is a number 0-100 for reading from ME phonebook;101-220 for reading from SIM phone book
AT Command Response/Action Remark
Power up the modem.
AT+CPIN= “nnnn” Enables SIM card. nnnn = PIN number (4 - 8 digits)
AT+CSMS=<service> Select message service response: +CSMS: <mt>,<mo>, <bm> +CSMS: 001,001,001 OK
<Service> 0 for phase 2
<mt>,<mo>,<bm> 1 supported 2 not supported
2-7
G18 GSM/GPRS Modem AT Command Set
AT+CPMS= “sm” Preferred message storage response: +CPMS:<used1>,<total1>,<used2>,<total2> +CPMS: 001,0015,001,015 OK
AT+CMGS=160 >0791947122720 00011000c91947 1628128430000a 704f4f29c0e ctrl-z
Send SMS in PDU mode return: +CMGS: 000
Send "TEST": to phone # 49-172- 6188234 to SMS center 49-172- 2720000
AT Command Response/Action Remark
2-8
Chapter 3 AT Command Set
This chapter covers the AT commands supported by the G18 GSM/GPRS modem.
3-1
G18 GSM/GPRS Modem AT Command Set
ATD, Dial
DescriptionDials a voice call.
Command Possible Response/Action
ATD <number> OKBusyNo Carrier
ATD (phone number) (for voice calls only)
AT*D (phone number)(for voice calls only)
ATD> <index>
ATD> <name>
ATDS= (n=0 to 3)
ATD> <mem><index>;
ATDL ATDL: “<number>”
ATD*99 (request GPRS service "D".Manual acceptance of a network request)
at*d xxxxxx (current call is a voice call)
where:
<number>: data/fax number
<phone number>: for voice calls only
<n>: 0 - 3
<value>: status of call
busy called party not available
no carrier no connection to number
3-2
AT Command Set
Note: Only the second OK for the voice call notifies the user that the call was established.
ExampleAT*D06113611404
OKOK [call connected]
ATD06512467; [another format for voice call]ATDL [dial last number]ATDL: “06512467;”
OKOK [call connected]
ATHNO CARRIEROK
ATD06113611404 [Data call]OKBUSYNO CARRIER
ATD06113611404 [data call - success]CONNECT
3-3
G18 GSM/GPRS Modem AT Command Set
ATDL, Redial
DescriptionRedials the last number used in the ATD command. For voice calls only.
Command Possible Response/Action
ATDL OK
3-4
AT Command Set
AT+CAOC, Advice of Charge
DescriptionReturns cost of current call.
Note This command requires the support of the local network.
Example AT+CAOC=?
+CAOC: 0 OK
AT+CAOC=0+CAOC: 000000OK
Command Possible Response/Action
AT+CAOC=? +CAOC: (list of supported <mode>s)OK+CME ERROR: <err>
AT+CAOC [=<mode>] +CAOC: <xxxx>OK+CME ERROR: <err>
AT+CAOC? +CAOC: <mode>OK+CME ERROR:<err>
where:
<mode>:
0 query CCM value
<xxxx>: actual price of current call (hex)
3-5
G18 GSM/GPRS Modem AT Command Set
AT+CBAND, Change Band
DescriptionSets band rate.
ExampleAT+CMEE=2OKAT+CBAND?
+CBAND: 4OK
AT+CPIN?+CPIN: READYOK
AT+CBAND=3OK [modem waits for power cycle]
AT+CPIN?+CME ERROR: “no network service”
Command Possible Response/Action
AT+CBAND=? +CBAND: (list of supported <N>s)OK
AT+CBAND? +CBAND: <N>OK
AT+CBAND = N OK+CME ERROR: <err>
where:
<N>: 3 1900Mhz
4 900/1800Mhz
3-6
AT Command Set
AT+CBAUD, Set Baud Rate
DescriptionSets baud rate.
Command Possible Response/Action
AT+CBAUD = <n>(or)AT+CBAUD=<rate>(e.g., AT+CBAUD=8 is equivalent to AT+CBAUD=57600)
OK+CME ERROR: <err>
AT+CBAUD? +CBAUD: <rate>OK+CME ERROR: <err>
AT+CBAUD=? +CBAUD: (list of supported <n>s, <rate>s)OK+CME ERROR: <err>
where:
<n> <rate>: 0 300
1 600
2 1200
3 2400
4 4800
5 9600
6 19200
7 38400
8 57600
9 auto baud rate detection
3-7
G18 GSM/GPRS Modem AT Command Set
NoteSelecting any value other than 9 disables the auto baud rate detection feature.The G18 supports up to 57600 auto baud within the accuracy limitations of the application’s baud (G18 meets the RS232 specifications).If you call MO CSD at 4800 bps (on the air) then do not use 57600 bps on your RS232 port.
ExampleAT+CBAUD=?+CBAUD: (0-9, 300, 600,1200,2400,4800,9600,19200,38400,57600)OKAT+CBAUD?+CBAUD: 57600OK
3-8
AT Command Set
AT+CBST, Select Bearer Service Type
DescriptionSelects bearer service type.
Command Possible Response/Action
AT+CBST=? +CBST: (<speed>s),(<name>s),(<ce>s)(list of supported values)OK+CME ERROR: <err>
AT+CBST? +CBST: <speed>,<name>,<ce>OK+CME ERROR: <err>
AT+CBST=[<speed> [,<name> [,<ce>]]]
Sets the valueOK+CME ERROR: <err>
where:
<speed>:
6 4800 bps (V.32)
7 9600 bps (V.32)
70 4800 bps (V.110)
71 9600 bps (V.110)
<name>:
0 data circuit asynchronous
<ce>:
0 transparent
1 non-transparent
3-9
G18 GSM/GPRS Modem AT Command Set
NoteThe modem supports baud rates of 4800 to 9600 bps. If you work at 4800 bps, do not use 57600 bps for your RS232 port.
ExampleAT+CBST=?
+CBST: (006,007,070,071), (000), (000-001)OK
AT+CBST?+CBST: 007,000,001OK
AT+CBST=1,0,1+CME ERROR: operation not supportedAT+CBST=6
OKAT+CBST?
+CBST: 006,000,001OK
AT+CBST=7OKAT+CBST?
+CBST: 007,000,001OK
3-10
AT Command Set
AT+CCFC, Call Forwarding Number and Conditions
DescriptionSpecifies call forwarding number and conditions.
Command Possible Response/Action
AT+CCFC? +CME ERROR: <err>
AT+CCFC=? +CCFC: (list of supported values)OK+CME ERROR: <err>
AT+CCFC=<reason>,<mode>[, <number>[,<type>[,<class>[, <subaddr>[,<satype>[,<time>]]]]]]
When <mode>=2 and command is successful:+CCFC:<status>,<class1>[,<number>,<type>[,<subaddr>,<satype>[,<time>]]][<CR><LF>+CCFC:<status>,<class2>[,<number>,<type>[,<subaddr>,<satype>[,<time>]]] [...]]OKWhen <mode> is 0,1OK+CME ERROR: <err>
where:
<reason>:
0 unconditional
1 mobile busy
2 no reply
3 not reachable
4 all call forwarding
5 all conditional call forwarded
<mode>:
0 disable
1 enable
3-11
G18 GSM/GPRS Modem AT Command Set
NotesThird parameter must be a multiple of 5 (e.g., 0,5,10).AT+CCFC=5,2 and AT+CCFC=4,2 are not supported.First registration mode also enables call forwarding.
2 query status
3 registration
4 erasure
<type>:
145 international phone
129 regular number
<time>:
1-30 time waited when "no reply" before call is forwarded (default)
<class>:
1 Voice
2 Data
4 Fax
<number> String type phone number of forwarding address in format specified by <type>
<subaddr> String type subaddress of format specified by <satype>
<satype> Type of subaddress octet in integer format (refer GSM 04.08 [8] subclause 10.5.4.8); default 128
<status>:
0 Not active
1 Active
where:
3-12
AT Command Set
ExampleAT+CCFC=?
+CCFC: (0,1,2,3,4,5)OK
AT+CCFC?+CME ERROR: "operation not allowed"
AT+CCFC=0,3,"01256316830",129,1OK
AT+CCFC=0,2+CCFC: 1,1,"+441256316830",1+CCFC: 0,2+CCFC: 0,4OK
3-13
G18 GSM/GPRS Modem AT Command Set
AT+CCWA, Call Waiting
DescriptionEnables call waiting feature.
Command Possible Response/Action
AT+CCWA=? +CCWA: (list of supported <n>s)OK+CME Error: <err>
AT+CCWA? +CCWA: <n> (current value)OK+CME ERROR: <err>
AT+CCWA=<n>, <mode>,<class x>
Enables the call waiting feature.When <mode>=2 and command are successful:+CCWA:<status>,<class1><CR><LF>+CCWA:<status>,<class2>[...]]OKWhen <mode> is 0,1OK+CME ERROR: <err>
where:
<n>: Shows the result code in TA
0 disable
1 enable
<mode>:
0 disable
1 enable
2 query
<status>:
0 not active
3-14
AT Command Set
NoteUnsolicited result code does not include alpha tag within the double-quote.
ExampleAT+CCWA=?
+CCWA: 00,01OK
AT+CCWA=0,0OK
AT+CCWA=0,2 [Status query]+CCWA: 0,1+CCWA: 0,2+CCWA: 0,4OK
AT+CCWA=1,1 [Enable call waiting for voice call]OK
AT+CCWA=1,2+CCWA: 1,1+CCWA: 1,2+CCWA: 1,4OK
1 active
<class>: Sum of integers representing information for call blocking services.
1 voice
2 data
4 fax
where:
3-15
G18 GSM/GPRS Modem AT Command Set
AT+CEER, Extended Error Report
DescriptionReports failure reason of last call.
NoteAt the beginning of a call the ceer value is reset to “No information available”. When the call is released by the network, the network message is saved by the ceer value until the next call is started. When the user hangs up, no information is saved. For information on ceer values see Table 1-8 on page 1-13. The GPRS error values are not supported by this command.
ExampleAT+CEER=?
OKAT+CEER?
ERRORAT+CEER
+CEER: “No information available”OK
Command Possible Response/Action
AT+CEER +CEER: <report>OK+CME ERROR: <err>
AT+CEER=? OK+CME ERROR: <err>
AT+CEER? +CME ERROR: <err>
where:
<report>: Refer to the Mobile Extended Error Report Table 1-7 on page 1-11
0 query CCM value
<xxxx>: actual price of current call (hex)
3-16
AT Command Set
AT+CESP, Enter SMS Block Mode
DescriptionEnters SMS block mode protocol.
NoteTo exit SMS Block mode, use block mode command: “exit SMS block mode” or disconnect the DTR.
ExampleAT+CESP
OK
Command Possible Response/Action
AT+CESP OK+CME ERROR: <err>
AT+CESP? +CME ERROR: <err>
AT+CESP=? OK+CME ERROR: <err>
3-17
G18 GSM/GPRS Modem AT Command Set
AT+CGACT, PDP Context Activation/Deactivation Request
DescriptionActivates or deactivates PDP context request.
NoteIn some GPRS networks, for example Germany, +CGACT is not supported. The ATD*99# command can be used to make a connection.
Command Possible Response/Action
AT +CGACT=? +CGACT: (list of supported <state>s)OK+CME ERROR: <err>
AT+CGACT? +CGACT: <cid>, <state>[<CR><LF> +CGACT: <cid>, <state>OK+CME ERROR: <err>
AT+CGACT=[<state> [,<cid>[,<cid>[,]]]]
OK+CME ERROR: <err>
where:
<state>: Indicates the state of the GPRS attachment
0 Detached
1 Attached
<cid>: A numeric parameter that specifies a particular PDP context definition.
3-18
AT Command Set
ExampleAT+CGACT=?
+CGATT: (0, 1)OK
AT+CGACT?+CGACT: 1,0+CGACT: 2,0+CGACT: 3,0OK
AT+CGACT=1ERROR [GPRS network not present]
3-19
G18 GSM/GPRS Modem AT Command Set
AT+CGATT, GPRS Attach/Detach Request
DescriptionAttaches or detaches GPRS request.
ExampleAT+CGATT=?
+CGATT: (0,1)OK
AT+CGATT?+CGATT: 0OK
AT+CGATT=1ERROR
AT+CGATT=0OK
Command Possible Response/Action
AT +CGATT=? +CGATT: (list of supported <state>s)OK+CME ERROR: <err>
AT+CGATT? +CGATT: <state> OK+CME ERROR: <err>
AT+CGATT= [<state>] OK+CME ERROR: <err>
where:
<state>: Indicates the state of the GPRS attachment
0 Detached
1 Attached
If no <state> is given, the default state is the current state and nothing needs to be done.
3-20
AT Command Set
AT+CGCLASS, GPRS MS Class
DescriptionSets interfacing MS class parameters.
ExampleAT+CGCLASS=?
+CGCLASS: (B)OK
AT+CGCLASS=“B”OK
AT+CGCLASS=“A”ERROR
Command Possible Response/Action
AT+CGCLASS=? +CGCLASS: (list of supported <class>s)OK+CME ERROR: <err>
AT+CGCLASS? +CGCLASS: <class>OK+CME ERROR: <err>
AT+CGCLASS= [<class>] OK+CME ERROR: <err>
where:
<class>: String parameter that indicates the GPRS mobile class.
3-21
G18 GSM/GPRS Modem AT Command Set
AT+CGDCONT, Define PDP Context
DescriptionDefines, modifies, or removes a PDP context.
NoteRead command returns the current settings for each defined context. Test command returns the parameter value ranges for each <PDP_type>.
Command Possible Response/Action
AT+CGDCONT=? +CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of supported <d_comp>s),(list of supported <h_comp>s)[,(list of supported<pd1>s)[,[,(list of supported <pdN>s)]]][<CR><LF>+CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of supported <d_comp>s),(list of supported <h_comp>s)[,(list of supported<pd1>s)[,[,(list of supported <pdN>s)]]][...]]OK+CME ERROR: <err>
AT+CGDCONT? +CGDCONT: <cid>, <PDP_type>,<APN>,<PDP_addr>, <data_comp>, <head_comp>[,<pd1>[,[,pdN]]][<CR><LF>+CGDCONT: <cid>, <PDP_type>,<APN>, <PDP_addr>, <data_comp>,<head_comp>[, <pd1>[,[,pdN]]][...]]OK+CME ERROR: <err>
+CGDCONT=[<cid> [,<PDP_type>[, <APN> [,<PDP_addr> [,<d_comp>[, <h_comp> [,<pd1> [,[,pdN]]]]]]]]]
OK+CME ERROR: <err>
3-22
AT Command Set
ExampleAT+CGDCONT=?
+CGDCONT: (1-3),(“IP”),,,(0,1),(0,1)OK
AT+CGDCONT?+CGDCONT: 1,“IP”,“” ,“0.0.0.0”,0,0+CGDCONT: 2,“IP”,“” ,“0.0.0.0”,0,0+CGDCONT: 3,“IP”,“” ,“0.0.0.0”,0,0OK
AT+CGDCONT=1,“IP”,“RTY”,“123.32.45.9”OK
AT+CGDCONT=4 [only 3 PDP contexts may be set up]ERROR
3-23
G18 GSM/GPRS Modem AT Command Set
AT+CGMI, Request Manufacturer Identification
DescriptionRequests manufacturer identification.
ExampleAT+CGMI
+CGMI: “MOTOROLA”OK
AT+CGMI?ERROR
Command Possible Response/Action
AT+CGMI +CGMI: <manufacturer>OK+CME ERROR: <err>
AT+CGMI? +CME ERROR: <err>
AT+CGMI=? OK+CME ERROR: <err>
where:
<manufacturer>: name of manufacturer
3-24
AT Command Set
AT+CGMM, Request Model Identification
DescriptionRequests model identification.
ExampleAT+CGMM?
ERRORAT+CGMM=?
OKAT+CGMM
+CGMM: “L Series”OK
Command Possible Response/Action
AT+CGMM +CGMM: <model> OK+CME ERROR: <err>
AT+CGMM? +CME ERROR: <err>
AT+CGMM=? OK+CME ERROR: <err>
where:
<model>: model identification
3-25
G18 GSM/GPRS Modem AT Command Set
AT+CGMR, Request Revision Identification
DescriptionRequests revision identification.
ExampleAT+CGMR?
ERRORAT+CGMR=?
OKAT+CGMR
+CGMR: g18_vE6.02.07OK
Command Possible Response/Action
AT+CGMR +CGMR: <revision> OK+CME ERROR: <err>
AT+CGMR? +CME ERROR: <err>
AT+CGMR=? OK+CME ERROR: <err>
where:
<revision>: revision number of the software
3-26
AT Command Set
AT+CGPADDR, Show PDP Address
DescriptionDisplays PDP address.
NoteThe execution command returns a list of PDP addresses for the specified context identifiers. The test command returns a list of defined <cid>s.
ExampleAT+CGPADDR=?
+CGPADDR: (1,2,3)OK
AT+CGPADDR=1+CGPADDR: 1, 0.0.0.0OK
Command Possible Response/Action
AT+CGPADDR=? +CGPADDR:(list of defined <cid>s)OK+CME ERROR: <err>
AT+CGPADDR=[<cid> [,<cid> [,]]] +CGPADDR: <cid>,<PDP_addr>[<CR><LF>+CGPADDR: <cid>,<PDP_addr> [...]]OK+CME ERROR: <err>
AT+CGPADDR? +CME ERROR: <err>
where:
<cid>: A numeric parameter that specifies a particular PDP context definition.If no <cid> is specified, the addresses for all difined context are refunded.
3-27
G18 GSM/GPRS Modem AT Command Set
AT+CGPRS, GPRS Coverage
DescriptionIndicates GPRS coverage.
NoteWithout an attachment, this command always returns zero.
ExampleAT+CGPRS
+CGPRS: 0OK
AT+CGPRS?+CGPRS: 0OK
AT+CGPRS=1+CME ERROR: “operation not allowed”
Command Possible Response/Action
AT+CGPRS +CGPRS: <mode>OK+CME ERROR: <err>
AT+CGPRS? +CGPRS: <mode>OK+CME ERROR: <err>
AT+CGPRS=? +CME ERROR: <err>
where:
<mode>: 0 no GPRS coverage
1 GPRS coverage
3-28
AT Command Set
f )
AT+CGQMIN, Quality of Service Provider
DescriptionDefines, modifies, or removes a minimum required Quality of Service profile.
NoteRead command returns the current settings for each defined context. Test command returns the parameter value ranges for each <PDP_type>. For more details about Quality of Service, refer to ETSI specification GSM 03.60.
Command Possible Response/Action
AT +CGQMIN=? +CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s), (list of supported<peak>s), (list of supported <mean>s) [<CR><LF>+CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s), (list osupported <peak>s), (list of supported <mean>sOK+CME ERROR: <err>
AT+CGQMIN? +CGQMIN: <cid>, <precedence>, <delay>, <reliability>, <peak>, <mean>[<CR><LF>+CGQMIN: <cid>, <precedence>,<delay>, <reliability.>, <peak>, <mean>[...]]OK+CME ERROR: <err>
AT+CGQMIN=[<cid> [,<precedence>[, <delay> [,<reliability.> [,<peak>[,<mean>]]]]]]
OK+CME ERROR: <err>
3-29
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CGQMIN=?
+CGQMIN: (1-3),(0-3),(0-4),(0-5),(0-9),(0-18,31)OK
AT+CGQMIN?+CGQMIN: 1,2,4,3,9,10+CGQMIN: 2,2,4,3,9,10+CGQMIN: 3,2,4,3,9,10OK
3-30
AT Command Set
AT+CGQREQ, Define/Modify/Remove Requested Quality of Service Profile
DescriptionDefines, modifies, or removes a requested Quality of Service profile.
Command Possible Response/Action
AT+CGQREQ=? +CGQREQ: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s), (list of supported <peak>s), (list of supported <mean>s)OK+CME ERROR: <err>
AT+CGQREQ? +CGQREQ: <cid>, <precedence>, <delay>,<reliability>, <peak>, <mean>OK+CME ERROR: <err>
AT+CGQREQ=[<cid> [,<precedence> [,<delay>[,<reliability> [,<peak>[,<mean>]]]]]]
OK+CME ERROR: <err>
3-31
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CGQREQ=?
+ CGQREQ: (1-3),(0-3),(0-4),(0-5),(0-9),(0-18,31)OK
AT+CGQREQ?+CGQREQ: 1,2,4,3,9,10+CGQREQ: 2,2,4,3,9,10+CGQREQ: 3,2,4,3,9,10OK
AT+CGQREQ=1,0,,0,0,0OK
AT+CGQREQ?+CGQREQ: 1,0,4,0,0,0+CGQREQ: 2,2,4,3,9,10+CGQREQ: 3,2,4,3,9,10OK
3-32
AT Command Set
AT+CGSN, Request Product Serial Number Identification
DescriptionRequests serial number identification.
ExampleAT+CGSN?
ERRORAT+CGSN=?
OKAT+CGSN
+CGSN: “447764074608839”OK
Command Possible Response/Action
AT+CGSN +CGSN: <sn>OK+CME ERROR: <err>
AT+CGSN? +CME ERROR: <err>
AT+CGSN=? OK+CME ERROR: <err>
where:
<sn>: IMEI number
3-33
G18 GSM/GPRS Modem AT Command Set
AT+CHLD, Call Related Supplementary Services
DescriptionSwitches between active calls.
Command Possible Response/Action
AT+CHLD=? +CHLD: (list of supported values)OK+CME ERROR: <err>
AT+CHLD=<mode> Switches between the active callsOK+CME ERROR: <err>
AT+CHLD? +CME ERROR: <err>
where:
<mode>:
0 releases all held calls or sets User Determined User Busy (UDUB) for a waiting call
1 releases all active calls (if any exist) and accepts the other (held or waiting) call
1X releases a specific active call X
2 places all active calls (if any exist) on hold and accepts the other (held or waiting) call
2X places all active calls on hold except call X with which communication is supported. If there is no such call, returns error 22
3 adds a held call to the conversation
3-34
AT Command Set
Table 3-1. +CHLD Modes (continued)
CALL STATE (+CLCC)
CHLD = 0 CHLD = 1 CHLD = 1X CHLD = 2 CHLD = 2X CHLD = 3
IDLE error 3 error 3 error 3 error 3 error 3; if no such call, returns error 22
error 3
SINGLE ACTIVE
error 3 release active
when X = 1 release is active. Else, returns error 22
put call on hold
error 3; if no such call, returns error 22
error 3
MPTY ACTIVE
error 3 release mpty call. Returns 2 "no carrier" when there are 2 outgoing calls
release specific call x; if no such call, returns error 22
put mpty on hold
split; if no such call, returns error 22
error 3
INCOMING CALL
release incoming call
error 3 error 3 error 3 error 3; if no such call, returns error 22
error 3
ACTIVE + WAITING
release waiting call
release active, accept waiting call
release specific call x; if no such call, returns error 22
put active call on hold, accept waiting call
error 3; if no such call, returns error 22
error 3
Notes:Split: place all active calls on hold except a specific callSwitch: put active call on hold and accept the held callError 3: operation not allowedError 22: not found
3-35
G18 GSM/GPRS Modem AT Command Set
MPTY ACTIVE + WAITING
release waiting call
release mpty, accept waiting
release specific call x; if no such call, returns error 22
put mpty on hold, accept waiting call
Splits; if no such call, returns error 22
error 3
SINGLE HELD
release held call
accept held call
error 3; if no such call, returns error 22
accept held call
error 3; if no such call, returns error 22
error 3
HELD MPTY
release held call
accept mpty call
error 3; if no such call, returns error 22
accept mpty call
error 3; if no such call, returns error 22
error 3
DUAL release held call
release active, accept the other call
release specific call x; if no such call, returns error 22
switch error 3; if no such call, returns error 22
make conference call
HELD+ MPTY ACTIVE
release held call
release mpty, accepts the other call
release a specific call x, if there is no such call, returns error 22.
switch error 3; if no such call, returns error 22
make conference call
ACTIVE+MPTY HELD
release held call
releases active, accepts the mpty
release specific call x; if no such call, returns error 22
switch error 3; if no such call, returns error 22
make conference call
Table 3-1. +CHLD Modes (continued)
CALL STATE (+CLCC)
CHLD = 0 CHLD = 1 CHLD = 1X CHLD = 2 CHLD = 2X CHLD = 3
Notes:Split: place all active calls on hold except a specific callSwitch: put active call on hold and accept the held callError 3: operation not allowedError 22: not found
3-36
AT Command Set
HELD + WAITING
release waiting call
accept waiting call
error 3; if no such call, returns error 22
accept the waiting call
error 3. if there is no such call, returns error 22
error 3
HELD+ MPTY ACTIVE WAITING
Releases waiting call
Accepts the waiting call
error 3 accepts the waiting call
error 3. if there is no such call, returns error 22
error 3
DUAL + WAITING
release waiting call
release active, accept waiting call
release specific call x; if no such call, returns error 22
error 3 (too many calls on hold)
error 3. if there is no such call, returns error 22
join dual calls.
ACTIVE+MPTYHELD+WAITING
release waiting call
release mpty active, accept waiting call
release a specific call x. if there is no such call, returns error 22
error 3 (too many calls on hold)
error 3. if there is no such call, returns error 22
join the dual and the mpty calls
ACTIVE+ MPTY HELD +WAITING
release waiting call
release active, accept waiting call
release a specific call x. if there is no such call, returns error 22
error 3 (too many calls on hold)
error 3. if there is no such call, returns error 22
join the dual and the mpty calls
Table 3-1. +CHLD Modes (continued)
CALL STATE (+CLCC)
CHLD = 0 CHLD = 1 CHLD = 1X CHLD = 2 CHLD = 2X CHLD = 3
Notes:Split: place all active calls on hold except a specific callSwitch: put active call on hold and accept the held callError 3: operation not allowedError 22: not found
3-37
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CHLD=? [list of supported <n>s]
+CHLD: (0,1,1X,2,2X,3)OK
AT+CHLD =1 [ME is not in conversation]+CME ERROR: operation not allowedRING
ATAOK
AT+CHLDNO CARRIER
AT+CHLD=2 [call put on hold]OK
AT+CHLD=2 [call is reconnected]OK
AT+CHLD=2 [incoming intruder call]OK [first call put on hold and second call
received]AT+CHLD=2 [second call put on hold and first call
becomes active]OK
AT+CHLD=3 [add held call to conversation]AT+CHLD=21 [second call put on hold]
OK
3-38
AT Command Set
AT+CHUP, Hang Up Call
DescriptionTerminates a call.
ExampleAT+CHUP=?
OKRING
AT+CHUPNO CARRIEROK
AT+CHUP?ERROR
Command Possible Response/Action
AT+CHUP NO CARRIEROK
AT+CHUP? +CME ERROR: <err>
AT+CHUP=? OK+CME ERROR: <err>
3-39
G18 GSM/GPRS Modem AT Command Set
AT+CIMI, Request International Mobile Subscriber Identity (IMEI)
DescriptionRequests IMEI.
ExampleAT+CIMI=?
OKAT+CIMI
+CIMI: 425010100420457OK
Command Possible Response/Action
AT+CIMI +CIMI: <IMSI>OK+CME ERROR: <err>
AT+CIMI? +CME ERROR: <err>
AT+CIMI=? OK+CME ERROR: <err>
where:
<IMSI>: International Mobile Subscriber Identity (string without double quotes)
3-40
AT Command Set
AT+CIP, IP Primitive Over AT Command
DescriptionSends IP primitives (messages used by the DSC bus) over RS232.
NoteThere are 2 characters in 1 byte.
ExampleAT+CIP=8,a842,0020,00010001
+CIP: 38,a844,0001093033353638343133318105726F6E6974OK
Command Possible Response/Action
AT+CIP=<Data length>,<Prim_Id>, <Sub_addr>,<Data>
+CIP: <Data length>, <Prim id Cnf/Ind>, <Data>OK+CME ERROR: <err>
AT+CIP? +CME ERROR: <err>
AT+CIP=? +CME ERROR: <err>
where:
<data length>: characters in decimal
<prim_id>: in hex (2 bytes)
<Sub_addr>: destination in hex (2 bytes)
<data>: in hex
3-41
G18 GSM/GPRS Modem AT Command Set
AT+CIPE, Enable +CIP AT Command
DescriptionEnables +CIP command.
ExampleAT+CIPE=1
OKAT+CIPE?
+CIPE: 1OK
AT+CIPE=?+CIPE: (0, 1)OK
Command Possible Response/Action
AT+CIPE=? +CIPE: (list of supported <mode>s)OK+CME ERROR: <err>
AT+CIPE? +CIPE: <mode>OK+CME ERROR: <err>
AT+CIPE=<mode> OK+CME ERROR: <err>
where:
<mode>:
0 disable +CIP command
1 enable +CIP command
3-42
AT Command Set
AT+CKPD, Keypad Control
DescriptionControls how ME handles keystrokes.
Command Possible Response/Action
AT+CKPD=<Keys>[,<time>[,<pause>]]
OK+CME ERROR: <err>
AT+CKPD? +CME ERROR: <err>
AT+CKPD=? OK+CME ERROR: <err>
where:
<keys>: # hash (number sign)
* star (*)
09 Number keys
: escape character for manufacturer-specific keys
; escape character for string entering
< left arrow
> right arrow
C/c clear display (C/CLR)
D/d volume down
E/e connection end (END)
L/l phone lock (LOCK)
M/m menu (MENU)
Q/q quiet/mute (MUTE)
S/s connection start (SEND)
T/t store/memory (STO/M/M+)
U/u volume up
3-43
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CKPD=?
OKAT+CKPD=M
ERRORAT+CKPD=”M>>S”
OK
V/v down arrow
Y/y delete last character (C)
:0 smart button (colon followed by zero)
:a voice annotator
^ up arrow
<time>, <pause>: 0..255 0-25.5 seconds (default values are manufacturer specific, but should be long enough for ME to handle key strokes correctly)
where:
3-44
AT Command Set
AT+CLCC, List Current Calls
DescriptionLists current calls and asynchronous answers.
Command Possible Response/Action
AT+CLCC=<state> OK+CME ERROR: <err>
AT+CLCC=? OK+CME ERROR: <err>
AT+CLCC? +CLCC: <state> OK+CME ERROR: <err>
AT+CLCC +CLCC: <id1>,<direction>,<call state>,<mode>,<mpty>[, <number>,<type>,<alpha>OK+CME ERROR: <err>
where:
<state>
0 Enable clcc unsolicited indication
1 Disable clcc unsolicited indication
<direction>:
0 Mobile Originated call
1 Mobile Terminated call
<call state>:
0 active
1 held
2 dialing
3 alerting
3-45
G18 GSM/GPRS Modem AT Command Set
NotesAdd non standard "released" state.Asynchronous answers are also allowed, using AT+CLCC=1.In the release state, the call mode is always zero.
4 incoming
5 waiting
6 release
<mode>:
0 voice call
1 data
2 fax
<mpty>: multiparty
0 call is not part of a conference call
1 call is one of multiparty call parties
<number>: phone number
<type>:
129 normal number
145 international number with access character +
<alpha>
The alpha string from phone book, if this phone number exists in any phone book.
<id>
Integer type call identification number, as described in GSM 02. 30 [19] subclause 4.5.5.1 This number can be used in +CHLD command operations.
where:
3-46
AT Command Set
ExampleAT+CLCC=?
OKAT+CLCC?
+CLCC: 0OKAT*d01256316830OKOK
AT+CLCC+CLCC: 1,0,0,0,0,"01256316830",129,“Shmuel”OK
AT+CHUPNO CARRIER
3-47
G18 GSM/GPRS Modem AT Command Set
AT+CLCK, Facility Lock
DescriptionLocks calling facilities.
Command Possible Response/Action
AT+CLCK=? +CLCK: (list of supported <facilitie>s)OK+CME ERROR: <err>
AT+CLCK? +CME ERROR: <err>
AT+CLCK=<facility>, <mode>,[<password>[,<class>]]
When <mode>=2 and command successful and <class> is relevant:+CLCK: <status>, <class1>[<CR><LF>+CLCK:<status>,<classe2>[...]]OKWhen <mode>=0,1 and command successful:OK+CME ERROR: <err>
where:
<facility>:
CS key pad
SC SIM card
AO block all outgoing calls
OI block all outgoing international calls
OX block outgoing international calls except to home country
AI block all incoming calls
IR block incoming calls when roaming outside home country
AB all blocking services
AG all outgoing blocking services
AC all incoming blocking Services
3-48
AT Command Set
ExampleAT+CLCK=?
+CLCK: (“CS”,“SC”,“AO”,“OI”,“OX”,“AI”,“IR”,“AB”,“AG”, “AC”,“FD”)OK
AT+CLCK?+CME ERROR: “operation not allowed”
AT+CLCK=“OX”,2+CLCK: 0,1+CLCK=0,2+CLCK: 0,4
OKAT+CLCK=FD,2
+CLCK: 0,7 [write operations into FD area possible if PIN2 was entered at least once after power up]
OK
FD SIM fixed dialing feature
<mode>:
0 unlock
1 lock
2 query status
<password>: call block password or PIN1 to lock/unlock SIM or PIN2 for SIM fixed dialing feature
<class>: sum of integers representing information for call blocking services
1 voice
2 data
4 fax
<status>:
0 not active
1 active
where:
3-49
G18 GSM/GPRS Modem AT Command Set
AT+CLIP, Calling Line Identification Presentation
DescriptionShows the number of the calling party.
Command Possible Response/Action
AT+CLIP=? +CLIP:(list of supported <n>s)OK+CME ERROR: <err>
AT+CLIP? +CLIP: <n>,<m>OK+CME ERROR: <err>
AT+CLIP=<n> Shows the number of the calling partyOK+CME ERROR: <err>
where:
<n>:
0 disable (default)
1 enable
<m>:
0 CLIP not provisioned
1 CLIP provisioned
2 unknown
3-50
AT Command Set
ExampleAT+CLIP=1
OKRING+CLIP: “+496113611404”,145RING+CLIP: “+496113611404”,145
AT+CLIP=?+CLIP: (000,001)OK
AT+CLIP=0OKRING
3-51
G18 GSM/GPRS Modem AT Command Set
AT+CLIR, Calling Line Identification Restriction
DescriptionShows the number of the called party.
Command Possible Response/Action
AT+CLIR=? +CLIR: (list of supported <n>s)OK+CME ERROR: <err>
AT+CLIR? +CLIR: <n>,<m> OK+CME ERROR: <err>
AT+CLIR=<n> OK+CME ERROR: <err>
where:
<n>:
0 used according to the subscription of the CLIR service
1 enable
2 CLIR suppression in permanent mode
<m>:
0 CLIR not provisioned
1 CLIR provisioned
2 unknown
3 CLIR temporarily restricted
4 CLIR temporarily allowed
3-52
AT Command Set
NoteThis command enables or disables presentation of the CLI to the called party when originating a call. The behavior is according to the last action performed by HS or RS232. For information about When HS affects only the next call and +CLIR command is affected until phone power off, refer to the following table.
ExampleAT+CLIR=?
+CLIR: (0,1,2)OK
AT+CLIR?+CLIR: 000,004
AT+CLIR=2OK
AT+CLIR?+CLIR: 002,004
Order of Action First Call Behavior Other Calls Behavior
CLIR via RS232 According to the action performed by RS232.
According to the action performed by RS232.
CLIR by HS According to the action performed by HS.
Default Behavior
CLIR by HS and then CLIR via RS232
According to the action performed by RS232.
According to the action performed by RS232.
CLIR via RS232 and then by HS
According to the action performed by HS.
According to the action performed by RS232.
3-53
G18 GSM/GPRS Modem AT Command Set
AT+CMEC, Mobile Equipment Control Mode
DescriptionSets ME control mode.
NoteSet command selects the equipment that operates the ME keypad, writes to the ME display, and sets the ME indications.
Command Possible Response/Action
AT+CMEC=? +CMEC: (list of supported <keyp>s), (list of supported <disp>s), (list of supported <ind>s)OK+CME ERROR: <err>
AT+CMEC? +CMEC: <keyp>,<disp>,<ind> OK+CME ERROR: <err>
AT+CMEC= [<keyp>[,<disp>[,<ind>]]] OK+CME ERROR: <err>
where:
<keyp>: 0 ME can be operated only through its keypad
2 ME can be operated from both ME keypad and TE
<disp>: 0 only ME can write to its display
<ind>: 0 only ME can set the status of its indications
3-54
AT Command Set
ExampleAT+CMEC?
+CMEC: 02, 00, 00OK
AT+CMEC=?+CMEC: (00,02), (00), (00)OK
AT+CMEC=2, 0, 0OK
3-55
G18 GSM/GPRS Modem AT Command Set
AT+CMEE, Report Mobile Equipment
DescriptionReports a description of the error.
Command Possible Response/Action
AT+CMEE=<n> Shows a description of the errorOK+CME ERROR: <err>
AT+CMEE? +CMEE: <n>OK+CME ERROR: <err>
AT+CMEE=? +CMEE: (list of supporting <n>s)OK+CME ERROR: <err>
where:
<n>:
0 disable
1 enable (numeric)
2 enable (verbose)
3-56
AT Command Set
ExampleAT+CMEE?
+CMEE: 000OK
AT+CMEE=?+CMEE: (0-2)OK.
AT+CMEE=1OK
AT+CMEE?+CMEE: 1OK
AT+CMEE=2OK
AT+CMEE?+CMEE: 2OK
3-57
G18 GSM/GPRS Modem AT Command Set
AT+CMER, Mobile Equipment Event Reporting
DescriptionSets ME event reporting.
Command Possible Response/Action
AT+CMER=? +CMER: (list of supported <mode>s), (list of supported <keyp>s), (list of supported <disp>s), (list of supported <ind>s), (list of supported <bfr>s)OK+CME ERROR: <err>
AT+CMER? +CMER: <mode>, <keyp>, <disp>, <ind>, <bfr> OK+CME ERROR: <err>
AT+CMER= [<mode>[,<keyp>[,<disp>[,<ind>[<bfr>]]]]]
OK+CME ERROR: <err>
where:
<mode>: 0 buffer unsolicited result codes in the TA; if TA result code buffer is
full, codes can be buffered elsewhere or the oldest ones can be discarded
<keyp>: 0 no keypad event reporting
<disp>: 0 no display event reporting
1 display event reporting +CDEV: <upper corner>, <text>, <lower corner>. The display height is 54 pixels: 0-53. The upper corner refers to the starting high point and the lower corner refers to the bottom right ending point.
3-58
AT Command Set
ExampleAT+CMER=?
+CMER: (00), (00), (00,01), (00,01), (00)OK
AT+CMER?+CMER: 00, 00, 00, 00, 00OK
AT+CMER=0, 0, 1, 0, 0OK+CDEV: 19, “orange”, 35
<ind>:0 no indicator event reporting
1 indicator event +CIEV: <ind>, <value><ind> indicates the indicator order number <value> is the new value of indicator+ciev:00, 00 Battery indicator (0-3)+ciev:01, xx Signal bars # (xx=1-5)+ciev:02, xx Service availability 0/1+ciev:03, xx SMS envelope ind (0/1)+ciev:04, xx Call in progress (0/1)+ciev:05, xx Roaming indicator (0/1)+ciev:06, xx Sim pin1 requested (0/1)+ciev:07, x Sim SMS full (0/1)+ciev:08, x GPRS coverage (0/1)+CIEV:10, xx Voice volume level (xx=00-07).+CIEV:11, xxRinger volume level (xx=00-07).
<bfr>: 0 TA buffer of unsolicited result codes defined within this command
is cleared when <mode> 13 is entered
where:
3-59
G18 GSM/GPRS Modem AT Command Set
AT+CMGD, Delete SMS Messages
DescriptionDeletes message.
NotesYou cannot use ID=0 to delete SMS.You may use ID=75 to delete SMS.If you enter an illegal ID or non-existent SMS to delete SMS, you receive an "Invalid index" error.For 1-4 above, <index> should be a valid number, for <delflag> = 1/2/3/4, <index> should be in the range of SMS storage memory (1-75), even though the message with this index might not exist.
Command Possible Response/Action
AT+CMGD=<index> [,<delflag>]
Deletes SMS or group of SMSsOK+CME ERROR: <err>
AT+CMGD? +CME ERROR: <err>
AT+CMGD=? OK+CME ERROR: <err>
where:
<index>: position of the SMS in the memory
<deflag>0 or omitted Delete message
1 Delete all messages, except unread or stored messages
2 Delete all messages, except unread or unsent messages.
3 Delete all messages, except unread messages
4 Delete all messages.
3-60
AT Command Set
ExampleAT+MMGL
+MMGL: 004,001,041
07917952140230F2040B917952545600F10000208080418245001965B339DD080147A492D7A432A152DF15DFDFEA71C10D
+MMGL: 005,001,,02307917952140230F2040B917952545600F10000208011213182000465B3390D
+MMGL: 006,001,,0090001FF00800000024122
+MMGL: 007,000,,02307917952140230F2040B917952545600F100002080112151340004E131D90C
+MMGL: 008,002,,0100001FF0080000003416213
OKAT+CMGD=6
OKAT+MMGL
+MMGL: 004,001,,04107917952140230F2040B917952545600F10000208080418245001965B339DD080147A492D7A432152DF15DFDFEA71C10D
+MMGL: 005,001,,02307917952140230F2040B917952545600F10000208011213182000465B3390D
+MMGL: 008,000,,02307917952140230F2040B917952545600F100002080112151340004E131D90C
+MMGL: 008,002,,0100001FF0080000003416213
OKAT+CMGD=30,1
OKAT+MMGL
+MMGL: 007,000,,02307917952140230F2040B917952545600F100002080112151340004E131D90C
3-61
G18 GSM/GPRS Modem AT Command Set
+MMGL: 008,002,,0100001FF0080000003416213
OKAT+MMGL=1,3
OKAT+MMGL
+MMGL: 007,000,,02307917952140230F2040B917952545600F100002080112151340004E131D90C
OKAT+CMGD=1,4
OK
3-62
AT Command Set
AT+CMGF, Message Format
DescriptionSelects PDU or text mode message format.
ExampleAT+CMGF?
+CMGF: 000OK
AT+CMGF=?+CMGF: (000)OK
AT+CMGF=1+CME ERROR: operation not allowed
Command Possible Response/Action
AT+CMGF=<mode> OK+CME ERROR: <err>
AT+CMGF? + CMGF: <mode>OK+CME ERROR: <err>
AT+CMGF=? + CMGF: (<list of supporting <mode>s)OK+CME ERROR: <err>
where:
<mode>: position of the SMS in storage0 PDU mode
1 text mode (not supported)
3-63
G18 GSM/GPRS Modem AT Command Set
AT+CMGL, List Messages
DescriptionLists messages.
Command Possible Response/Action
AT+CMGL[=<stat>] If PDU mode (+CMGF=0) and command successful:CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>[<CR><LF>+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>[...]]OK+CMS ERROR: <err>
AT+CMGL=? +CMGL: (list of supported <stat>s)OK+CME ERROR: <err>
AT+CMGL? +CME ERROR: <err>
where:<state>
0 "REC UNREAD" received unread message (i.e., new message)
1 "REC READ" received read message
2 "STO UNSENT" stored unsent message
3 "STO SENT" stored sent message
4 "ALL" all messages
<index> The value of the message location in the range of location numbers is supported by the associated memory.
<alpha> Not supported
3-64
AT Command Set
NotesUse any valid value of the +CMGL parameter (0-4) to list all messages.The selection list of messages is valid only in software versions above E6.01.10Wait for OK before sending new AT commands.
ExampleAT+CMGL=?
+CMGL: (000-004)OK
AT+CMGL?ERROR
AT+CMGL+CMGL: 001,000,0230791947122723033040B831027492204F000009930926145148004C2A2F308OK
3-65
G18 GSM/GPRS Modem AT Command Set
AT+CMGR, Read Messages
DescriptionReads message.
ExampleAT+CMGR=2
+CMGR: 001,,0230791947122723033040B831027492204F000009930927190948004C2A2F308OK
Command Possible Response/Action
AT+CMGR=<index> If PDU mode (+CMGF=0) and command are successful:+CMGR:<stat>,[<alpha>],<length><CR><LF><pdu>OK+CMS ERROR: <err>
AT+CMGR? +CME ERROR: <err>
AT+CMGR=? OK+CME ERROR:<err>
where:
0 “REC UNREAD”, received unread message (for example, new message).
1 “REC READ”, received read message.
2 “STO UNSENT”, stored unsent message.
3 “STO SENT”, stored sent message.
4 “ALL”, all messages (default).
<index> The value of the message location in the range of location numbers is supported by the associated memory.
<alpha> Not supported.
3-66
AT Command Set
AT+CMGS, Send SMS Message
DescriptionSends a message.
NotesWhen an SMS is sent using AT+CMGS, the DTE receives the status. Sent messages are not stored in the SIM. After an SMS is sent and stored in the SIM (using block mode commands), it can be filtered or displayed via AT+CMGL=3. A similar message cannot be sent later using the AT+CMSS command.
Command Possible Response/Action
(CMGF=0) AT+CMGS=<length><CR>(PDU is given)<ctrl-z/ESC> (message is terminated with control-Z character (0x1A))
The command is aborted with <esc>. If the message is sent successfully:+CMGS:000.OKIf the message is not sent successfully:+CMS ERROR:<err>
AT+CMGS? +CME ERROR:<err>
AT+CMGS=? OK+CME ERROR:<err>
where:
<length>: number of octets coded in the TP
<cr>: after terminating with <cr>, the PDU can be given from the TE
<crtl-z>: indicates the end of the PDU
3-67
G18 GSM/GPRS Modem AT Command Set
AT+CMGW, Write Messages
DescriptionWrites messages.
ExampleAT+CMGW=24
>07917952140230F2040B917952545630F200000070528141630005A060B10902<ctr1/Z>
+CMGW: 001OK
Command Possible Response/Action
(CMGF=0)AT+CMGW=<length><CR>PDU is given <ctrl-z/ESC>
Stores the SMS messageIf storage succeeds:+CMGW: <index> OKIf storage fails:+CMS:<err>The message is terminated with control-Z character (0x1A)The command is aborted with <esc>
AT+CMGW? +CME ERROR:<err>
AT+CMGW=? OK+CME ERROR:<err>
where:
<length>: number of octets in the TP
<index>: location of the stored message
<cr>: After terminating with <cr>, the PDU can be given from the TE
<crtl-z>: Indicates the end of the PDU
3-68
AT Command Set
AT+CMOD, Calling Mode
DescriptionSelects calling mode.
ExampleAT+CMOD =?
+CMOD: (000, 001)OK
AT+CMOD?+CMOD: 000OK
AT+CMOD=1OK
Command Possible Response/Action
AT+CMOD=? +CMOD: (list of supported <mode>s)OK+CME ERROR:<err>
AT+CMOD? +CMOD: <mode> OK+CME ERROR:<err>
AT+CMOD=[<mode>] OK+CME ERROR:<err>
where:
<mode>: 0 single mode
1 alternating voice/fax (teleservice 61)
3-69
G18 GSM/GPRS Modem AT Command Set
AT+CMSS, Send Message from Storage
DescriptionSends message from storage.
ExampleAT+CMSS=1, “054511511”
+CMSS: 002
Command Possible Response/Action
AT+CMSS=? OK+CME ERROR:<err>
AT+CMSS=<index>[,<da>[,<toda>]] If PDU mode (+CMGF=0) and sending successful:+CMSS: <mr>OKIf sending fails:+CMS ERROR: <err>
AT+CMSS? +CME ERROR:<err>
where:
<mr>: message reference
<da>: destination address
<toda>: type of destination address
129 normal format
145 international format
3-70
AT Command Set
AT+CMUX, Multiplexing Mode
DescriptionSelects multiplexing mode.
Command Possible Response/Action
AT+CMUX=0 OKor+CME ERROR: “Operation not allowed”
AT+CMUX? +CMUX: 0,0,1,31,10,3,30,10,2,0,1,0,0or+CME ERROR: <err>
AT+CMUX=? +MECC: (0)
where:
AT+CMUX=0 When sending the command outside the MuxWhen sending the command from the Mux
AT+CMUX? When sending the command from the MuxWhen sending the command from the Mux
3-71
G18 GSM/GPRS Modem AT Command Set
AT+CNMA, DTE Confirming the Previous Message
DescriptionAcknowledges a new message to ME/TA.
NoteThis command must be sent within 60 seconds after the DTE receives the message, or the message is stored on the SIM card and the parameters of the CNMI command is set to zero.Refer to AT+CNMI, New Message Indications to TE+CNMI on page 3-73, for examples.
Command Possible Response/Action
AT+CNMA OK+CME ERROR:<err>
AT+CNMA? +CME ERROR:<err>
AT+CNMA=? +CME ERROR:<err>
3-72
AT Command Set
AT+CNMI, New Message Indications to TE+CNMI
DescriptionIndicates new messages.
Command Possible Response/Action
AT+CNMI=? +CNMI: (list of supported <mode>s), (list of supported <mt>s), (list of supported <bm>s), (list of supported <ds>s), (list of supported <bfr>s)OK+CMS ERROR: <err>
AT+CNMI? +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr> OK+CMS ERROR: <err>
AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds>[,<bfr>]]]]]
OK+CMS ERROR: <err>
where:
<mode>: 0 Buffer unsolicited result codes in the TA. If TA result code buffer is
full, indications can be buffered elsewhere or the oldest indications may be discarded and replaced with the new indications.
<mt>: 0 no SMS DELIVER indications are routed to the TE
1 indication of memory location is routed to the TE
2 SMS DELIVER indications are routed directly to TE
<bm>: 0 no CBM indications are routed to TE
2 new CBMs are routed directly to TE
<ds>: 0 no SMS-STATUS-REPORTs are routed to TE
3-73
G18 GSM/GPRS Modem AT Command Set
NotesWhile conducting a data call, the receipt of an SMS resets the +CNMI setting, indicating something unexpected has occurred.After automatically transferring a SMS/CBM message to the DTE (mt=2 and/or bm=2), the modem waits for a +CNMA response from the DTE (within one minute). If the DTE does not respond within this time, or if another message arrives from the network, the modem saves the message in SIM, exits from SMS mode, and sets all CNMI parameters to zero.When DTE does not respond on time for other SMS indications (E6.13.24 and above), the CNMI indication for cell broadcast messages is not cleared automatically.In the following scenario, the modem ends SMS mode and resets the CNMI parameters.This indicates that something occurred during the data call:
1 AT CNMI=0,1,0,1,0 or CNMI=0,2,0,1,0
2 MO DATA call, connected state.
3 SM received.
The G18 will end SMS mode and reset the CNMI parameters. This will indicate to the user that something occurred during the data call.
1 SMS-STATUS-REPORTs are routed to the TE using unsolicited result code: +CDS: <length><cr><lf><pdu>
<bfr>: 0 TA buffer of unsolicited result codes defined within this command
is flushed to TE when <mode> 13 is entered (OK response is returned before flushing the codes)
where:
3-74
AT Command Set
ExampleAT+CMGL
OK [no messages on SIM]AT+CNMI=0,2,2,1
OKAT+CNMI?
+CNMI: 000,002,002,001,000OK+CMT: 026 [first message indication]07917952140230F2040B917952545608F500001010034171700007B12915D49C1E01
AT+CNMA [response of DTE]OK+CMT: 036 [second message indication]
07917952140230F2040B917952545608F500001010034183800013C7E793086A3EA5CEA4F308A23E41D96715AT+CNMA [response of DTE]
OK+CMT: 026 [third message indication]
07917952140230F2040B917952545608F500001010034102030007332911D49C1E01AT+CNMI?
+CNMI: 000,000,002,000,000 [CNMI parameters changed since DTE did not respond with +CNMA]
OKAT+CMGL
+CMGL: 001,000,,026 [third message stored in SIM]07917952140230F2040B917952545608F500001010034102030007332911D49C1E01OK
AT+CMGL+CMGL: 001,001,,026
3-75
G18 GSM/GPRS Modem AT Command Set
07917952140230F2040B917952545608F500001010034102030007332911D49C1E01+CMGL: 002,000,,029 [new message also stored in SIM]07917952140230F2040B917952545608F50000101003414240000BCEE215D42C4EA7C16311OK
AT+CNMI=0,2,2,1 [setting CNMI parameters to receive new messages again on DTE]
OKAT+CNMI=?
+CNMI: (000),(000-002),(000,002),(000,001),(000)OK
3-76
AT Command Set
AT+CNUM, Subscriber Number
DescriptionDisplays the numbers entered into “My Phone Numbers” from the Handset menu.
NoteIf you write a name that includes non-standard characters in “My Phone Number”, +CNUM will read that name incorrectly
Command Possible Response/Action
AT+CNUM +CNUM<alpha1>,<number1>,<type1>[<CR><LF>+CNUM:<alpha2>,<number2>,<type2>[...]]OK+CME ERROR:<err>
AT+CNUM?
AT+CNUM=? OK+CME ERROR:<err>
where:
<alpha>: Alphanumeric string, associated with <number>
<number>: String type, phone type
<type>: 129 Normal number
145 International number with access character +.
3-77
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CNUM=?
OKAT+CNUM
+CNUM: voice, 054556426, 129+CNUM: data, 054667739, 129+CNUM: fax, 054422417, 129OK
3-78
AT Command Set
AT+COPS, Operator Selection
DescriptionSelects the GSM network operator.
Command Possible Response/Action
AT+COPS=? +COPS: [list of supported (<stat>, long alpha numeric <oper>, short alphanumeric <oper>, numeric <oper>)][,,list of supported <mode>s), (list of supported <format>s)OK+CME ERROR:<err>
AT+COPS? +COPS: <mode>,<format>,<oper> (current values)OK+CME ERROR:<err>
AT+COPS=[<mode>[,<format>[,<oper>]]]
Selects the operatorOK+CME ERROR:<err>
where:
<mode>:
0 automatic
1 manual
2 de-register from network
3 set only <format>
4 manual/automatic
<format>:
0 long alphanumeric
1 short alphanumeric
2 numeric
3-79
G18 GSM/GPRS Modem AT Command Set
NoteWhen set command (=) is used without entering <oper>, the response is OK but no action is performed (AT+COPS=<mode>,<format><cr>, the response is OK).When manually de-registering from the network using AT+COPS=1,2, the phone automatically searches for a new network and logs in.
ExampleAT+COPS=?
+COPS: (2,“” ,“D2 PRIVAT”,“26202”),(0,“” ,“A1”,“23201”),(0,“” ,“F SFR”,“20810”),(0,“” ,“GR PANAFON”,“20205”),(0,“” ,“S EURO”,“24008”),(0,“” ,“EUROTEL-CZ”,“23002”), (0,“” ,“NL LIBERTEL”,“20404”),(0,“” ,“I OMNI”,“22210”),(3,“” ,“D1-TELEKOM”,“26201”),,( 0,1,2,3,4),(0,1,2)OK
AT+COPS?+COPS: 0,0,“D2 PRIVAT”OK
AT+COPS=0OK
AT+COPS=1OK
AT+COPS=1,0,d1-telekomERROR:
AT+COPS=1,1,d02OK
AT+COPS=1,1,d01
<operator status>:
0 unknown
1 available
2 current
3 forbidden
where:
3-80
AT Command Set
ERROR: AT+COPS=2
OKAT+COPS=3
OKAT+COPS=4
OKAT+COPS=4,2,d01
OKAT+COPS=4,2,26201
ERRORAT+COPS=4,0,“D1-Telekom”
ERRORAT+COPS=4,0,d1-telekom
ERRORAT+COPS=4,2,d
OKAT+COPS=4,2,d02
OK
3-81
G18 GSM/GPRS Modem AT Command Set
AT+CPAS, Phone Activity Status
DescriptionReports the status of the phone activity.
Command Possible Response/Action
AT+CPAS=? +CPAS: (list of supported<pas>s)OK+CME ERROR:<err>
AT+CPAS +CPAS: <pas>OK+CME ERROR:<err>
AT+CPAS? +CME ERROR:<err>
where:
<pas>: 0 ready
1 unavailable
2 unknown
3 ringing (MT calls)
4 call in progress
5 asleep
3-82
G18 GSM/GPRS Modem AT Command Set
AT+CPBF, Find Phone Book Entries
DescriptionLocates phone book entries.
Command Possible Response/Action
AT+CPBF=? +CPBF: <nlength>, <tlength>OK+CME ERROR: <err>
+CPBF=<findtext> +CPBF: <index1>, <number>,<type>, <text> [<CR><LF>+CBPF:<index2>, <number>, <type>, <text>[..]]OK+CME ERROR: <err>
AT+CPBF? +CME ERROR:<err>
where:
<index1>, <index2>: integer type values in the range of location numbers of phone book memory<number>: string type phone number of format <type>
<type>: type of address octet in integer format (refer GSM 04.08 [8] subclause 10.5.4.7)
<find text>, <text>: string type field of maximum length
<tlength>: character set as specified by command Select TE Character Set +CSCS
<nlength>: integer type value indicating the maximum length of field <number>
<tlength>: integer type value indicating the maximum length of field <text>
3-84
AT Command Set
NoteSet command returns phone book entries (from the current phone book memory storage, selected with +CPBS) when the alphanumeric field starts with <findtext>.For example:
ExampleAT+CPBS =SM
OKAT+CPBF =?
+CPBF: 020, 014OK
AT+CPBF =”RON”+CPBF: 105, “035655555”, 129, “RON”+CPBF: 106, “054564254”, 129, “RONEN”OK
AT+CPBF =“ron”OK
AT + CPBF = [list all entries]+CPBF: 101, “6251455”, 129, “AVI”+CPBF: 102, “052646651”, 129, “DAVID”+CPBF: 103, “04621515”, 129, “BEN”+CPBF: 104, “02665111”, 129, “CHRIS”+CPBF: 105, “03565555”, 129, “RON”+CPBF: 106, “054564254”, 129, “RONEN”OK
The name “RONEN” is in PB.
AT+CPBF=”RON” +CPBF:106,”054567432”,129,”RONEN”
whereas,
AT+CPBF=”ONE” will yield no result
3-85
G18 GSM/GPRS Modem AT Command Set
AT+CPBR, Read Phone Book Entries
DescriptionReads phone book entries.
Command Possible Response/Action
AT+CPBR=? +CPBR: (list of supported<index>s),<nlength>,<tlength>OK+CME ERROR:<err>
AT+CPBR=<index> +CPBR: <index>,<number>,<type>,<text>OK+CME ERROR:<err>
AT+CPBR? +CME ERROR:<err>
where:
<index>: location number in the storage
<number>: phone number in the <type> format
<type>: 129 local number
145 international number with access character +
<text>: name of the entry
<tlength> : Maximum length of <text>
<nlength> : Maximum llength of <number>
3-86
AT Command Set
ExampleAT+CPBR=?
+CPBR: (1-200),32,18OK
AT+CPBR=73+CPBR: 73, “+496128970912”,145, “Eigene Number”OK
AT+CPBR=10 [Empty entry]OK
AT+CPBR=101+CPBR: 101,“+491721212”,145,“D2-Kundenbetreuung”OK
AT+CPBR=74+CPBR: 74,“+496113611400”,145,“test”OK
AT+CPBR=124+CPBR: 124,“+4917222333”,145,“D2-Hotelservice”OK
3-87
G18 GSM/GPRS Modem AT Command Set
AT+CPBS, Select Phone Book Memory Storage
DescriptionSelects phone book memory storage (optional if phone book not supported).
NoteThe modem responds to AT+CPBS=? with the current initialized phone books:
+CPBS:("FD","LD","ME","MT","SM","DD","RC","MC"). It may take up to 45 seconds to see all the phone books.
Command Possible Response/Action
AT+CPBS=<storage> OK+CME ERROR:<err>
AT+CPBS? +CPBS:<storage>[,<used>,<total>]OK+CME ERROR:<err>
AT+CPBS=? +CPBS:(list of supported <storage>s)OK+CME ERROR:<err>
where:
<storage>:
FD SIM fix dialing phone book
LD Last dialing phone book
ME ME phone book
MT ME and SIM phone book
SM SIM phone book
DD Direct Dial phone book
RC ME received calls list
MC ME missed calls list
3-88
AT Command Set
MC (missed calls) and RC (received calls) share the same area. They are both limited to a total of 10 records, and they are both sorted by their time stamps, where the first record in the phone book is the latest call received or not answered.
ExampleAT+CPBS=?
+CPBS: (“FD”,“LD”,“ME”,“MT”,“SM”,DD,“RC”,“MC”)OK
AT+CPBS?+CPBS: 0,0OK
AT+CPBS=“fd”OK
AT+CPBS?+CPBS: “FD”,1,10OK
AT+CPBS=“DC”+CME ERROR: “operation not allowed”
AT+CPBS=“LD”OK
AT+CPBS?+CPBS: “LD”,10,10OK
AT+CPBS=“me”OK
AT+CPBS?+CPBS: “ME”,0,100OK
AT+CPBS=“MT”OK
AT+CPBS?+CPBS: “MT”,14,200OK
3-89
AT Command Set
AT+CPBW, Write Phone Book Entries
DescriptionCreates a new phone book entry.
NoteWhen creating a new entry without a name, the response is OK, but no action takes place.The telephone book "MT" is a combination of "ME" and "SM". Write entries to a specific phone book (ME or SM) instead of to the MT phone book. When writing to the SM or ME phone book, the modem validates the string length for phone number and label, as defined for the specific phone book. When writing to the MT phone book, the modem is unable to detect errors with a string length less than that allowed in the MT phone book, but more
Command Possible Response/Action
AT+CPBW=[<index>], [,<number>[<type> [,<text>]]]
OK+CME ERROR: <err>
AT+CPBW? +CME ERROR:<err>
AT+CPBW=? +CPBW:(list of supported <index>s),[<nlength>],(list of supported <type>s),[<tlength>]OK+CME ERROR:<err>
where:
<index>: location number of the phone book
<number>: phone number in format <type>
<type>: type of address
129 normal format
145 international format
<text>: String type field of maximum <tlength> length
<tlength>: maximum length of <text>
<nlength>: : maximum length of <number>
3-91
G18 GSM/GPRS Modem AT Command Set
than what is defined in the specific phone book. In this case, the write action is not rejected, but the number and text are truncated to the limit allowed for the specific phone book.
Example 1AT+CPBS=“sm”;+cpbw=?
+CPBW: (101-220),020,(255,129,145),014 [SM phone book definitions: number length limited to 20, text length limited to 14]
OKAT+CPBS=“mt”;+cpbw=?
+CPBW: (001-220),032,(255,129,145),016 [MT phone book definitions: number length limited to 32, text length limited to 16.
OK
Example 2Write a record to the SM area in the MT phone book (record 110 is in this area), with 21 digits for the phone number, and 15 digits for text. This is valid for the MT phone book, and therefore no error is expected. However, since it is written to the SM area, the phone number is truncated to 20 digits, and the text is truncated to 14 digits.AT+CPBW=110,“123456789012345678901” [no error when writing to MT, to a slot,,“123456789012345” defined in the SM phone book]
OKAT+CPBR=110
+CPBR: 110,“12345678901234567890”, [record written to phone book as defined129,“12345678901234” in the definition limitation]OK
AT+CPBS=“mt”OK
AT+CPBW=?+CPBW: (001-200),32,(255,129,145),18OK
AT+CMEE=2OK
AT+CPBW=140,“+496113611404”,145,“Raum 1004”
3-92
AT Command Set
OKAT+CPBS= “SM”
OKAT+CPBW=140, “496113611404”, 145, “Raum 1004”
OKAT+CPBS=“ME”
OKAT+CPBW=73,“491726706014”,145,“eigene number”
OKAT+CPBW=190,“491728788793”,145,“Freundin”
+CME ERROR: “invalid index”AT+CPBS?
+CPBS: “ME”,2,100OK
3-93
G18 GSM/GPRS Modem AT Command Set
AT+CPIN, Enter Pin
DescriptionEnters or changes pin number. When entering the pin, a new pin is not required.
Command Possible Response/Action
AT+CPIN? +CPIN: <code>OK+CME ERROR:<err>Responds with information about the SIM and the PIN
AT+CPIN=<pin>[<newpin>] OK+CME ERROR:<err>Enters or changes pin number. When entering the pin, a new pin is not required.
AT+CPIN=? OK+CME ERROR:<err>
where:
<pin>: current PIN: String type 4-8 digits. To enable SIM card or change PIN, insert the current PIN. When phone is blocked, insert the puk number.
<newpin>: new pin (after changing or entering PUK) 4 - 8 digits
<code>: indicates status of SIM and PIN
READY PIN not required
SIM PIN PIN required
SIM PUK PUK number required
SIM PUK2 PIN2 blocked
3-94
AT Command Set
NotesThe following AT commands are enabled without a valid SIM: GCAP, GMI,GMR, IFC, CEER, CGMI, CGMM, CGMR, CGSN, CHUP, CIPE, CKPD, CMEE, CMER, CIP, CRC, CSQ, CR. When PUK is required, and only one parameter is given in +CPIN, error "PUK is required" is returned.
ExampleAT+CPIN=“3011” [The current PIN]
OKAT+CPIN=?
OKAT+CPIN?
+CPIN: READYOK
AT+CPIN=“3011”,“2811” [Change PIN to 2811]OK
AT+CPIN“1111” [Wrong PIN]ERROR
AT+CPIN“1111” [Wrong PIN]ERROR
AT+CPIN“1111” [Wrong PIN]ERROR
AT+CPIN?+CPIN: SIM PUK [After 3 times, phone is blocked]OK
AT+CPIN=“71388330”,“3011” [When phone is blocked, release it withPUK1 and new PIN.]
OKAT+CLCK=“FD”,2 [check status of Fix Dialing phonebook]
+CLCK: 0,7 [enable dialing of all numbers]OK
3-95
G18 GSM/GPRS Modem AT Command Set
AT+CLCK=“FD”,1,“2035” [close FD phonebook for changes, and allow calls only to numbers from FD phonebook]
OKAT+CLCK=“FD”,2
+CLCK: 1,7OK
AT+CPBS=“FD” [select FD phonebook]OK
AT+CPBW=1,“343434”,129 [try to change entry in phonebook]+CME ERROR: “SIM PIN2 required”
AT+CPIN?+CPIN: READYOK
AT+CLCK=“FD”,0,“1234” [wrong PIN2 entered]+CME ERROR: “incorrect password”
A/ [wrong PIN is inserted] +CME ERROR: “incorrect password”
A/ [wrong PIN2 is inserted]+CME ERROR: “SIM PUK2 required”
AT+CPIN?+CPIN: SIM PUK2 [PIN2 blocked; need PUK2 to release it]
AT+CPIN=“61356375”,“2035” [enter PUK2 and new PIN2]OK
AT+CPIN?+CPIN: READYOK
3-96
AT Command Set
AT+CPMS, Preferred Message Storage
DescriptionReturns memory storage information.
Command Possible Response/Action
AT+CPMS=? +CPMS: (list of support <mem1>s),(list of support <mem2>s)OK+CMS ERROR:<err>
AT+CPMS? +CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>OK+CMS ERROR:<err>
AT+CPMS=<mem1>,[<mem2>] +CPMS: <used1>,<total1>,<used2>,<total2>OK+CMS ERROR:<err>
where:
<mem1><mem2>: “SM” memory storage
<used>: used memory storage
<total>: total memory storage
3-97
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CPMS=?
+CPMS: (“SM”),(“SM”)OK
AT+CPMS?+CPMS: “SM”,005,020,“SM”,005,020OK
AT+CPMS=“SM”+CPMS: 005,020,005,020OK
AT+CPMS?+CPMS: “SM”,005,020,“SM”,005,020OK
3-98
AT Command Set
AT+CPOL, Preferred Operator List
DescriptionLists preferred operators.
Command Possible Response/Action
AT+CPOL=? +CPOL: (list of supported <index>es),(list of supported <format>s)OK+CME ERROR:<err>
AT+CPOL? +CPOL: <index1>,<format>,<oper1>[<CR><LF>+CPOL:<index2>,<format>,<oper2> [...]]OK+CME ERROR:<err>
AT+CPOL=[<index>][,<format>[,<oper>]]
OK+CME ERROR:<err>
where:
<index>: integer type; order number of operator in SIM preferred operator list
<format> of <oper>:
0 long format alphanumeric
1 short format alphanumeric
2 numeric
<oper>: string type; <format> indicates whether the format is alphanumeric or numeric
3-99
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CPOL =?
+CPOL: (1-32),(0-2)OK
AT+CPOL ?+CPOL: 001, 002, “425-01”+CPOL:00 2, 002, “250-99”OK
AT+CPOL =1OK
AT+CPOL =1+CME ERROR: Not found [index “1” is emptied before test]
3-100
AT Command Set
AT+CPWD, Change Password
DescriptionChanges password.
Command Possible Response/Action
AT+CPWD=? +CPWD: (list of supported <fac>s,<pwdlength>s)OK+CME ERROR:<err>
AT+CPWD=<fac>,<oldpwd>,<newpwd> OK+CME ERROR:<err>
AT+CPWD? +CME ERROR:<err>
where:
<fac>: string type; facility (upper/lower case acceptable)
CS control surface (keypad)
SC SIM card
AO block all outgoing calls
OI block outgoing international calls
OX block outgoing international calls except to home country
AI block all incoming calls
IR block incoming calls when roaming outside home country
AB all blocking services
AG all outgoing blocking services
AC all incoming blocking services
FD SIM fixed dialing feature (not supported)
P2 SIM PIN2
<oldpwd>, <newpwd>: string type
<oldpwd>: same as password specified for facility from ME user interface or using command Change Password +CPWD
3-101
G18 GSM/GPRS Modem AT Command Set
<newpwd>: new password; maximum length of password can be determined with <pwdlength>
<pwdlength>: integer type; maximum length of the password for the facility
where:
3-102
AT Command Set
AT+CR, Service Reporting Control
DescriptionEnables service reporting.
NoteSet command controls whether or not intermediate result code +CR: <ser> is returned from the TA to the TE. If enabled, the intermediate result code is transmitted at the point during connect negotiation at which the TA has determined which speed and quality of service will be used, before any error control or data compression reports are transmitted, and before the intermediate result code CONNECT is transmitted.
Command Possible Response/Action
AT+CR=? +CR: (list of supported <mode>s)OK+CME ERROR:<err>
AT+CR? +CR: <mode> OK+CME ERROR:<err>
AT+CR=[<mode>] OK+CME ERROR:<err>
where:
<mode>: 0 disables reporting
1 enables reporting
<serv>: REL ASYNC asynchronous non-transparent
REL SYNC synchronous non-transparent
3-103
AT Command Set
AT+CRC, Cellular Result Codes
DescriptionEnables extended format result codes.
NoteThis command controls whether or not the extended format of incoming call indication is used. When enabled, an incoming call is indicated to the TE with unsolicited result code +CRING: <type> instead of the normal RING.
Command Possible Response/Action
AT+CRC=? +CRC: (list of supported <mode>s)OK+CME ERROR:<err>
AT+CRC? +CRC: <mode> OK+CME ERROR:<err>
AT+CRC=[<mode>] OK+CME ERROR:<err>
where:
<mode>: 0 disables extended format
1 enables extended format
<type>: REL ASYNC asynchronous non-transparent
FAX facsimile (TS 62)
VOICE normal voice (TS 11)
3-105
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CRC?
+CRC:000OK
AT+CRC=1OK
AT+CRC=?+CRC: (000,001)OK+CRING: VOICE // Incoming voice call
3-106
AT Command Set
AT+CREG, Network Registration
DescriptionEnables network registration.
Command Possible Response/Action
AT+CREG=? +CREG: (list of supported <n>s)OK+CME ERROR:<err>
AT+CREG? +CREG: <n>,<stat>[,<lac>,<ci>]OK+CME ERROR:<err>
AT+CREG=[<n>] OK+CME ERROR:<err>Controls the presentation of an unsolicited result code +CREG: <stat>
where:
<n>:
0 disables network registration unsolicited result code
1 enables network registrationunsolicited result code
2 enables network registration and location informationunsolicited result code
<stat>:
0 not registered
1 registered (home network)
2 not registered but ME search for a network
3 registration denied
4 unknown
5 registered roaming
<lac>: 2 byte location code (hex)
3-107
G18 GSM/GPRS Modem AT Command Set
ExampleAT+CREG=?
+CREG: (000,001,002)OK
AT+CREG?+CREG: 000,001OK
AT+CREG=2OK
AT+CREG?+CREG: 002,001,“6202”,“6113”OK
AT+CREG=1OK
AT+CREG?+CREG: 001,001OK
AT+CREG=0OK
AT+CREG=2,5ERROR
AT+CREG?+CREG: 002, 001, “6202”, “6113”
OKAT+CREG=1
OKAT+CREG?
+CREG: 001,001OK
<ci>: 2 bytes cell ID (hex)
where:
3-108
AT Command Set
AT+CRLP, Radio Link Protocol
DescriptionSets radio link protocol parameters.
ExampleAT+CRLP=?
+CRLP: (010-061),(010-061),(048-255),(006-010)OK
AT+CRLP?+CRLP: 061, 061, 048, 006OK
Command Possible Response/Action
AT+CRLP=? +CRLP: (list of supported <iws>s), (list of supported <mws>s), (list of supported <T1>s), (list of supported <N2>s)OK+CME ERROR:<err>
AT+CRLP? +CRLP: <iws>, <mws>, <T1>, <N2> OK+CME ERROR:<err>
AT+CRLP=[<iws>[,<mws>[,<T1>[,<N2>]]]]
OK+CME ERROR:<err>
where:
<iws>: IWF to MS window size (default 61)
<mws>: MS to IWF window size (default 61)
<T1>: acknowledgement timer (default 48)
<N2>: retransmission attempts (default 6) in integer format (refer to GSM 04.22 [18] subclause 5.4.3)
3-109
G18 GSM/GPRS Modem AT Command Set
AT+CRSM, Restrict SIM Access
DescriptionRestricts SIM access.
Command Possible Response/Action
AT+CRSM=? +CRSM:(list of supported <command>s)(list of supported <fields>s)OK+CME ERROR:<err>
AT+CRSM=<command>,<fileid> +CRSM:<sw1>,<sw2>[,response>]OK+CME ERROR:<err>
AT+CRSM? +CME ERROR:<err>
where:
<fileid>: 1 Flex-ID
2 Factory Info #1
3 Factory Info #2
197 IMSI
214 GID1
242 ICC ID
243 GID2
<sw1>, <sw2>: reason
0 0 success
0 1 SEEM not allowed: SIM card was removed or no such element
0 2 bad record number: record number is out of valid range
0 3 bad PIN: user has entered an incorrect PIN code
3-110
AT Command Set
NoteOnly command 176 is supported.
ExampleAT+CRSM=?
CRSM: (176),(197,214,242,243)OK
AT+CRSM=176,214CRSM: 0,0,FFFFFFFFFFFFFFFFFF00 0000000000000000OK
0 4 other technical problem: SIM card malfunction
0 5 unavailable: data is temporarily unavailable (initializing)
255 253 not allowed: call processor is still initializing
255 254 bad device: call processor has an internal error
255 255 locked: phone is locked by user
<response>: indicates successful completion of the command previously issued (hexa-decimal character uppercase format). Requested data is returned.
where:
3-111
G18 GSM/GPRS Modem AT Command Set
AT+CRTT, Select Ring Tone
DescriptionSelects ring tone.
Command Possible Response/Action
AT+CRTT=? +CRTT: (list of supported <ring type number>s), (list of supported <operation>s)OK+CME ERROR:<err>
AT+CRTT? +CRTT: <RingTypeNumber>OK+CME ERROR:<err>
AT+CRTT=<RingTypeNumber>,<operation>
OK+CME ERROR:<err>
where:
<RingTypeNumber>:
0 standard
1 British
2 French
3 German
4 Bravo
5 3 tone
6 siren
7 quick
8 1 ring
9 high
10 music
<operation>:
3-112
AT Command Set
ExampleAT+CRTT=?
+CRTT: (0-10), (0,1)OK
AT+CRTT=4, 1OK
AT+CRTT?+CRTT: 4OK
0 play
1 set
where:
3-113
G18 GSM/GPRS Modem AT Command Set
AT+CSCA, Service Center Address
DescriptionSets service center address.
Command Possible Response/Action
AT+CSCA=? OK+CME ERROR:<err>
AT+CSCA? +CSCA: <sca>,<type>OK+CMS ERROR:<err>
AT+CSCA= <sca>,<type> OK+CMS ERROR:<err>
where:
<sca>: service center number
+ International, allowed at start only
0,9,*,# Digits and instruction
/,-,(,blank),A,B,C,D Allowed, ignored, not saved
, Pause control
; Allowed at end of number. May be omitted or ignored, but not saved
<type>: format of number129 local number
145 international number with access character +
3-114
AT Command Set
ExampleAT+CSCA?
+CMS ERROR: SMSC address unknownAT+CSCA=?
OKAT+CSCA=“491722270333”,145
OKAT+CSCA?
+CSCA: “+491722270333”,145OK
3-115
G18 GSM/GPRS Modem AT Command Set
AT+CSCB, Select Cell Broadcast Message Types
DescriptionSelects the cell broadcast message type.
Command Possible Response/Action
AT+CSCB=? +CSCB: (list of supported <mode>s)OK+CME ERROR:<err>
AT+CSCB? +CSCB: <mode>,<mids>,<dcss>OK+CME ERROR:<err>
CSCB=[<mode>[,<mids>[,<dcss>]]]
If mode=0 and <mids> is not specified or is an empty string, then no channels are accepted, and the g18 channel/mid list is cleared.If mode=0 and <mids> is specified, but <dcss> in not specified or is an empty string, then accept all coding formats.If mode=1 and <mids> is not specified or is an empty string, then the g18 channel list will stay as is.If mode=1 and <mids> is specified, but <dcss> is not specified or is an empty string, then accept all coding formats.OK+CME ERROR:<err>
where:
<mode>: 0 Message types specified in <mids> and <dcss> are accepted.
1 Message type specified in <mids> and <dcss> are not accepted
<mids> Message ID/Channel: 0-65354String type: Default is an empty string
<dcss> Data Coding Schemme: 0-255String type: Default is an empty string
3-116
AT Command Set
+CSCB Parameters• The default value for missing <mode> is 0.• A comma must be followed with a value.• When using <dcs> GSM 3.38, only non compressed messages with default
alphabet or UCS2 are transferred to TCU, and 8-bit data support is required.• No more than 16 channels will be submitted in <mids>.• The string type list <mids> and <dcss> may include only numbers (0-9), blanks,
comma and minus (-) characters.• <mids> = 1-5 is equivalent to five channels.• When <mode> is 0 and <mids> is a non-empty list, the list will be added to the
current G18 list. An error will not be issued if an item does not exist in the G18 list.• When <mode> is 1 and <mids> is a non-empty list, the list will be deleted from the
current G18 list. An error will not be issued if an item does not exist in the G18 list.• The <dcss> list can include schemes that are not handled by G18, without error
notification.• AT+CSCB=0, “x,x”, “y,y”
When specifying a mid or a dcs several times in the same AT+CSCB request, the mid/dcs will be added the same number of times to the G18 internal lists.
• AT+CSCB does not affect or represent SIM cell broadcast channel/language lists.• The dcss specified refers to all incoming messages, and not only to mids specified
in the same AT command. For example, AT+CSCB=0, “1-5”, “1-7” followed by AT+CSCB=0, “6-10”, “8” will update the G18 mids list to 1-10, and the dcs list to 1-8. Any CB message that arrives with mid value of 1-10 and a dcs value between 1-8 will be accepted by G18.
Cell Broadcast Support in G18• The G18 allows selection of the SMS service for cell broadcast. The AT command
for selecting the service is:• +CSMS=<service>• +CSMS?• <service> 0 is allowed
• The G18 supports text and binary data coding schemes for cell broadcast messages.
3-117
G18 GSM/GPRS Modem AT Command Set
• The number of concurrent cell broadcast channels from which the G18 forwards cell broadcast messages to the DTE is not less than 21. (Five of the channels are user-defined lists through SIM and menu handling).
• The G18 NAD delivers multiple pages of a cell broadcast messages to the DTE. Each page is sent as an individual message, even though the pages will be delivered in page based sequence.• AT+CNMA in not requested for cell broadcast.• G18 is unable to save all pages being processed in its memory. G18 will send
each page as it arrives. The page could not be a duplicate, or unorganized and multiplexed with other pages. TCU should reconstruct messages and remove duplicates. These messages should be shown to the user only after a successful build.
• The G18 supports up to 15 pages in a message.• the G18 NAD does not store CBM messages in SIM or NRM.• +CNM’s <bm> value is not conververted to 0 by G18, unless requested to do so.
• Messages are sent to the TCU only when CNMI’s <bm> value is 2, and either +CSCB’s channel list is not empty or SIM user’s list is not empty.
• The following two entities may be required to handle or listen to cell broadcasts:• DTE using AT+CSCB command• User predefined SIM list, where the user controls the list using the handset
menu.These entities will be referred to later as requesters.
Incoming Cell Broadcast MessagesIn release up to E6.11.23, the handset is set to receive accumulated messages. This means that if the message exceeds one page then the message is not sent to the handset until whole message is accumulated in a buffer. The maximum number of accumulated pages is three, which means that sometimes only part of the intended message is sent.Using AT+CSCB, DTE is set to receive page-by-page messages, meaning that a message with several pages is reported to DTE page by page.There will be two behavior methods: One that keeps the previous release’s behavior (backward compatible), and another for those who will use AT+CSCB.
• Previous version-SIM/handset is the sole requester (by default, after AT+CSCB=0 or any other sequence of AT commands that leads to an empty G18 CSCB’s mid list):• CB control (on/off) is via Menu-Messages-Cell_Broadcast-On/Off
3-118
AT Command Set
• mid control is via Menu-Cell Broadcast-Channel index• dcs control is via Menu-Messages-Cell Broadcast-Languages• Messages received accumulated.• Maximum number of pages received in a message is three.• Handset does not support 8-bit data and compressed data. Additional
screening by data coding scheme is done via the SIM language list.• AT+CNMI=0,0,2 is required to transfer data to DTE.
• G18 mid list assigned by AT+CSCB is not empty:• DTE gets all messages page by page (maximum of 15 pages per message).
Messages are not sent to handset.• G18 tracks incoming cell broadcast messages. After receiving a CB message
with a specific mid, G18 will not receive CB messages with that same mid unless its update number is different. For example, CB mid=1, update=-CB is acce[pted; CB mis=1, update=1- the CB is not accepted; CB mid=1, update=2- CB is accepted; CB mid=1, update=1-CB is accepted.
ExampleTesting the modes supported:AT+CSCB=?
+CSCB: (0,1)OK
Reading the current mid and dcs lists:AT+CSCB?
+CSCB: 0, “”, “”OK
Adding channels 3,4,5,6,22 to mid list and language 1 to dcs list:AT+CSCB=0, “3-6, 22”, “1”
OK
Removing channels 4 and 6 from channel list, and removing the default dcs (0) from the dcs list:
3-119
G18 GSM/GPRS Modem AT Command Set
AT+CSCB=1, “4,6” “”OK
Reading the current mid and dcs lists:AT+CSCB?
+CSCB: 0,0”3,5,22”, “1”OK
Adding channel 4 to mid list, and language 2 to dcs list:AT+CSCB=0, “4”, “2”
OK
Reading the current mid and dcs lists:AT+CSCB?
+CSCB: 0, “3,5,22,4”, “1,2”OK
Clearing both lists:AT+CSCB=0
OK
3-120
AT Command Set
AT+CSCR, SIM Card Reader
DescriptionReads the SIM card.
NoteThis command tells which SIM card reader is being used, either the internal one on the G18 board, or an external card reader via the DSC bus.
ExampleAT+CSCR=?
ERRORAT+CSCR?
+CSCR: 2 [Internal sim card.]
Command Possible Response/Action
AT+CSCR +CME ERROR:<err>
AT+CSCR? +CSCR: <sim_type>OK+CME ERROR:<err>
AT+CSCR=? +CME ERROR:<err>
where:
<sim_type>:1 External SIM card
2 Internal SIM card
3-121
G18 GSM/GPRS Modem AT Command Set
AT+CSCS, Select TE Character Set
DescriptionSelects character set.
Command Possible Response/Action
AT+CSCS=? +CSCS: (list of supported <chest>s)OK+CME ERROR:<err>
AT+CSCS? +CSCS: <chest>OK+CME ERROR:<err>
AT+CSCS= <chset> OK+CME ERROR:<err>
where:
<chset>: service center numberGSM GSM alphabet
IRA international alphabet
UCS2 16-bit universal multiple-octet coded character set
3-122
AT Command Set
ExampleAT+CSCS=?
+CSCS: (“GSM”,“IRA”,”UCS2”)OK
AT+CSCS?+CSCS: “IRA”OK
AT+CSCS=“gsm”OK
AT+CSCS?+CSCS: “GSM”OK
AT+CSCS=“IRA”OK
AT+CSCS?+CSCS: “IRA”OK
3-123
G18 GSM/GPRS Modem AT Command Set
AT+CSMP, Set SMS SIM Parameters
DescriptionSets SMS SIM parameters.
Command Possible Response/Action
AT+CSMP=? OK+CME ERROR:<err>
AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>OK+CME ERROR:<err>
AT+CSMP= [<fo>[,<vp>[,<pid>[,<dcs>]]]]
OK+CME ERROR:<err>
where:
<fo>: First Octet. Default, and after power up =17. This parameter is saved on the g18 NVM.<vp>: Validity Period. Uses a relative format.
Range 0-225Default Value= 167000-143
(<vp>+1) x 5 minutes, meaning five-minute intervals for up to 12 hours.
144-167 12 hours + ((<vp> - 143) x 30 minutes)
168-196 (<vp> - 166) x 1 day
197-255 (<vp> - 192) x 1 week. This parameter is saved in SIM.
<pid>: Protocol Identifier
Range: 0-255
Default Value=0
Support Values
0 Text
34 Fax
36 Voice
3-124
AT Command Set
ExampleAT+CSMP=?
OKAT+CSMP?
+CSMP: 17,119,0,0OK
AT+CSMP= [Set default parameters]OK
AT+CSMP?+CSMP: 17,167,0,0OK
AT+CSMP=20OK
AT+CSMP?+CSMP: 20,167,0,0OK+CSMP: 19,119,36,1OK
[POWER CYCLE]AT+CSMP?
+CSMP: 17,119,36,0 [Only <vp> and <pid> are saved. Other parameters are ignored and not saved]
OK
37 ERMES
38 Paging
49 X400
50 eMail This parameter is saved on SIM
<dcs> Data Coding Scheme. Default, and after power up = 0. This parameter is ignored, not verified, and stored in the g18 NVM.
where:
3-125
G18 GSM/GPRS Modem AT Command Set
AT+CSMS, Select Message Service
DescriptionSelects message service.
Command Possible Response/Action
AT+CSMS=? +CSMS: (list of supported <service>s)OK+CMS ERROR:<err>
AT+CSMS? +CSMS: <service>, <mt>, <mo>,<bm> OK+CMS ERROR:<err>
AT+CSMS=<service> +CSMS: <mt>, <mo>, <bm>OK+CMS ERROR:<err>
where:
<service>: 0 GSM 03.40 and 03.41. The syntax of SMS AT commands is
compatible with GSM 07.05 Phase 2 version 4.7.0. Phase 2+ features which do not require new command syntax may be supported.
<mt>, <mo>, <bm>:
0 type not supported
1 type supported
<mt>: Mobile terminating message
<mo>: Mobile originate message
<bm>: Broadcast type message
3-126
AT Command Set
ExampleAT+CSMS
ERRORAT+CSMS=?
+CSMS: (000)OK
AT+CSMS?+CSMS: 000,001,001,001OK
AT+CSMS=0+CSMS: 001,001,001OK
3-127
G18 GSM/GPRS Modem AT Command Set
AT+CSQ, Signal Quality
DescriptionReturns signal quality.
NoteBER information is not supported.
Command Possible Response/Action
AT+CSQ=? +CSQ: (list of supported <rssi>s), (list of supported <ber>s)OK+CME ERROR:<err>
AT+CSQ +CSQ: <rssi>,<ber>OK+CME ERROR:<err>
AT+CSQ? +CME ERROR:<err>
where:
<rssi>: 0 0 Bars <-108 dBm
1 1 Bar -102 to -108 dBm
10 2 Bars -93 to -101 dBm
20 3 Bars -87 to -92 dBm
30 4 Bars -77 to -86 dBm
31 5 Bars >-76 dBm
99 unknown or undetectable
<ber> channel bit error rate (in percent):
0-7 RXQUAL values in the GSM 05.08 table
99 unknown or undetectable
3-128
G18 GSM/GPRS Modem AT Command Set
AT+CSTA, Select Type of Address
DescriptionSelects type of address and dial characters allowed in dial string.
Command Possible Response/Action
AT+CSTA=? +CSTA: (list of supported <type>s)OK+CME ERROR:<err>
AT+CSTA? +CSTA: <type> OK+CME ERROR:<err>
AT+CSTA=[<type>] OK+CME ERROR:<err>
where:
<type>:
129 local phone number
145 with international access character +
Use default 145 when dialing string includes international access code character ‘+’, otherwise 129.
3-130
AT Command Set
ExampleAT+CSTA?
+CSTA: 129OK
AT+CSTA=145OK
AT+CSTA?+CSTA: 145OK
AT+CSTA=129OK
AT+CSTA?+CSTA: 129OK
3-131
G18 GSM/GPRS Modem AT Command Set
AT+CSVM, Set Voice Mail Parameters
DescriptionSets Voice Mail Parameters.
Command Possible Response/Action
AT+CSVM= <mode>[,number>[,<type>]]
Sets or clears the voice mail number in the EEPROM or SIM, depending on the type of SIM card.OK+CME ERROR:<err>
AT+CSVM? For mode=1:+CSVM:1, <number>, <type>OKFor mode=0:+CSVM: 0OK+CME ERROR:<err>
AT+CSVM=? +CSVM: (list of supporting <mode>s), (list of supported <type>s)OK+CME ERROR:<err>
where:
<mode>: 0 Disable. Clears the number in the EEprom.
1 Enable. Must be followed by a number.
<number>: String format up to 35 characters.
+ International, allowed at start only.
0,9,0*,#: Digits and instruction
/,-,(blank,), A, B, C, D:
Allowed,, ignored, not saved.
3-132
AT Command Set
ExampleAT+CSVM=?
+CSVM: (0,1),(129,145)OK
AT+CSVM?+CSVM: 1,”*155”, 129OKAT+CSVM=0 //Number cleared from eepromOK
AT+CSVM?+CSVM: 0OK
AT+CSVM=1ERROR [Must be followed by a number]AT+CSVM=1,”+155”,129ERROR [If <number> starts with ‘+’ then <type> must be 145 or
, Pause control
: Allowed at end of number. May be omitted or ignored, but not saved.
<type>: Type of number
Range: 0-255:
129: International or unknown international
145: International number
If <number> starts with +, then <type> must be 145 or omitted.
If <type> is 145 and <number> does not start with +, then add + to the start of <number> (length of new <number> should not exceed 35).
<number>: Must include at least one digit.
The updated <number> is saved on either the EEPROM or SIM, depending on the type of SIM card.
where:
3-133
G18 GSM/GPRS Modem AT Command Set
omitted]AT+CSVM=1,”+155”,145OK
AT+CVSM?+CSVM: 1,”+155”,145AT+CSVM=1,”*155AB “[(/,_,(,blank,),A,B,C,D): allowed, ignored, not saved.]OK
AT+CSVM?+CSVM: 1,”*155”,129OK
AT+CSVM=1, “bcd” [Characters not allowed.]ERROR
AT+CSVM=1,”” [<number> must be with at least one digit.]ERROR
3-134
AT Command Set
AT+CTFR1, Divert an Incoming Call to Voice Mail
DescriptionRejects an incoming call and diverts it to voice mail.
NoteThis command returns +CME ERROR: <err> if there is no waiting call in progress.
ExampleRING
AT+CTFR1OK
AT+CTFR1 [when a call is not received]+CME ERROR: “operation not allowed”
Command Possible Response/Action
AT+CTFR1 OK+CME ERROR:<err>
AT+CTFR1? +CME ERROR:<err>
AT+CTFR1=? +CME ERROR:<err>
3-135
G18 GSM/GPRS Modem AT Command Set
AT+FCLASS, Select Mode
DescriptionSelects a mode.
ExampleAT+FCLASS=?
0, 1OK
AT+FCLASS?+FCLASS: 0OK
Command Possible Response/Action
AT+FCLASS=? +FCLASS: (list of supported <n>s)OK+CME ERROR:<err>
AT+FCLASS? +FCLASS:<n>OK+CME ERROR:<err>
AT+FCLASS=<n> OKPuts the TA into a particular mode of operation+CME ERROR:<err>
where:
<n>: 0 Data
1 Fax
3-136
AT Command Set
AT+GCAP, Request Complete Capabilities List
DescriptionRequests all capabilities of TA.
ExampleAT+GCAP
+GCAP: +FCLASSOK
AT+GCAP=?ERROR
AT+GCAP?ERROR
Command Possible Response/Action
AT+GCAP GCAP: (list of capabilities)OK+CME ERROR:<err>
AT+GCAP? +CME ERROR:<err>
AT+GCAP=? +CME ERROR:<err>
3-137
G18 GSM/GPRS Modem AT Command Set
AT+IPR, Setting and Saving Baud Rate
DescriptionDescribes setting and saving the baud rate.
Command Possible Response/Action
AT+IPRL=[<baud_rate>]orAT+IPR= [n]
OK+CME ERROR:<err>
AT+IPR? +IPR: <baud_rate>OK+CME ERROR: <err>
AT+IPR=? +IPR: (list of supported <n>s, <baud_rate>s)OK+CME ERROR:<err>
where:
<n>: <baud_rate>
0 300>
1 600
2 1200
3 2400
4 4800
5 9600
6 19200
7 38400
8 57600
9 Auto baud rate detection
3-138
AT Command Set
NoteFor example, AT+IPR=8 is equivalent to AT+IPR=57600.Using AT+IPR=<baud> with a <baud> value other than 9 will disable the auto baud rate detection feature. The entered baud rate is stored in the unit and restored after power up.The power up default baud rate is 9600, with enabled auto baud rate detection feature. If AT+IPR was not used or its last use was AT+IPR=9, the baud rate at power up will be the default.The baud rate can be switched to 4800, 9600, 19200, 38400, or 57600 using AT+IPR=<baud>,<baud> values are 4-8, 9 or 4800, 9600, 19200, 38400, 57600. Value represents auto baud rate detection.AT+IPR is similar to AT+CBAUD with the ability to save.
3-139
G18 GSM/GPRS Modem AT Command Set
AT+MCELL, Motorola Cell Description
DescriptionDescribes the cell.
Command Possible Response/Action
AT+MCELL=<mode><screen_num>
+mcell: <screen_num><screen_info>OK+CME ERROR:<err>
AT+MCELL? OK
AT+MCELL=? +MCELL: (000), list of supported <screen>s)OK+CME ERROR:<err>
where:
<mode>:
0 One shot requested
<screen_num>
An integer number between 1-20
<screen_info>
Refer to External Screen Information, below.
Table 3-2. External Screen Information
Item Description Screen
Main Cell MCC Mobile Country Code Screen 1Position 19-21
Main Cell MNC Mobile Network Code Screen 1Position 22-24
Main Cell LAC Location Area Code Screen 1Position 58-62
3-140
AT Command Set
* N1-N6 information concerning Neighbor Cell 1-6 appears on screens 5-10 respectively.** When the information is not available, an * is displayed instead.
Main Cell BSIC Base Station Identity Code
Screen 1Position 11-12
Main Cell BCCH Freq (absolute)
Basic Control Channel Screen 1Position 6-9
Main Cell RxLev Signal strength of the cell being viewed
Screen 1Position 13-16
Main Cell RxLev Full Signal strength of the beacon channel of the serving cell.
Screen 1 in dedicated modePosition 35-39
Main Cell RxLev Sub Signal strength of the active dedicated channel
Screen 1 in dedicated modePosition 51-55
Main Cell RxLevQual Full Received signal quality in the base channel (carrying the BCCH)
Screen 1 in dedicated modePosition 41-42
Main Cell RxQual Sub Received signal quality in the dedicated active channel
Screen 1 in dedicated modePosition 57-58
Neighbor CellBSIC
Base Station Identity Code
Screen*Position 11-12
Neighbor CellBCCH Freq
Basic Control Channel Screen*Position 6-9
Timing Advance Timing Advance quarter of bits
Screen 1 in dedicated modePosition 45-49
Table 3-2. External Screen Information (continued)
Item Description Screen
3-141
G18 GSM/GPRS Modem AT Command Set
NoteThe information in screens 1-20 is for internal use, except for those listed in Table, above.Set command can be used to retrieve the specified cell parameters.Read command returns OK.Test command returns the whole <mode> and <screen> options, supported by this command.
Example1. To find MCC value:+ MCELL = 0,1
MCELL: 1 BC 0095 51-057B<LF>425001 39051 33<LF>047 047*** ***<LF>0A1aN 09800 20<LF>7***4 1 32 04<LF>104 GPI1****OKMCC is at a position 19-21: 425
2. To find Neighbor 5 (NS) BSIC value (N5 appears at screen 9)+MCELL = 0,9+MCELL: 9 BC 0095 51-059B<LF>045 045*** ***<LF>N5 0638 51-097B<LF>-01
** *** <LF>095C000 T00M30<LF>CA0 CQ0 GP1 RAOK
N5 BSIC is at position 11-12: 51.
3-142
AT Command Set
AT+MCSAT, Control SMS Alert Tone
DescriptionControls the SMS alert tone.
NoteThis command suppresses the SMS alert tone for a specific SMS type whenever the SMS alert tone is generated (receiving, storing, or sending SMS).When the <dcs mask> parameter is omitted, the alert tone is suppressed for all SMS arrivals.
Command Possible Response/Action
AT+MCSAT=<mode>[<dcs mask>,[...]]
Suppresses or removes suppressed SMS alert tone for all arriving messages, or for some messages, as defined in <dcs mask>.OK+CME ERROR:<err>
AT+MCSAT? +MCSAT:<mode>, [<current dcs mask>,[..]]OK+CME ERROR:<err>
AT+MCSAT=? +MCSAT: (list of supported <mode>s)OK+CME ERROR:<err>
where:
<mode>:
0 Suppress alart tone
1 enable alert tone (default)
2 Exercise alert tone
<dcs mask>
SMS Data Coding Scheme masl, which either suppresses or activates the alert tone.
3-143
G18 GSM/GPRS Modem AT Command Set
Up to ten <dcs mask> are allowed.<dcs mask> format is an 8-bit information K7K6K5K4K3K2K1K0 parameter. Each Kn contains 0,1, or X (ascii character):
• 0: Condition is met if arrival SMS includes dcs with 0 in this position.• 1: Condition is met if arrival SMS includes dcs with 1 in this position.• x or X: This bit in an arrival dcs is ignored.
ExampleOn power up, the alert tone is not suppressed.AT+MCSAT= 0 will suppress the alert tone for all SMS messages.AT+MCSAT= 0, 11110111 will suppress the alert tone for dcs= $F7AT+MCSAT= 0,00xx01xx111101xx will suppress the alert tone for 8-bit data.AT+MCSAT= 1 will delete all suppressed conditions.AT+MCSAT= 2 will exercise the alert tone.
AT+MCSAT=?+MCSAT: (0-2)OK
AT+MCSAT?+MCSAT: 1OK
AT+MCSAT= 1OK
AT+MCSAT=2OK
AT+MCSAT=1OK
AT+MCSAT= 0,00000001 [Disable SMS alert tone for DCS value 1.]OK
3-144
AT Command Set
AT+MCWAKE, DTE Wake Line Control Command
DescriptionSelects whether an indication is sent when GPRS coverage goes on/off.
Command Possible Response/Action
AT+MCWAKE= <mode> OK+CME ERROR:<err>
AT+MCWAKE? +MCWAKE: <mode>OK+CME ERROR:<err>
AT+MCWAKE=? +MCWAKE: (list of supported <mode>s)OK+CME ERROR:<err>
where:
<mode>:
0 send no indication
1 send indication when GPRS coverage goes off
2 send indication when GPRS coverage goes on (default)
3-145
G18 GSM/GPRS Modem AT Command Set
AT+MECC, Motorola Extended Characters Check
DescriptionChecks extended characters.
NoteThis command prevents the standard check of ASCII characters, and allows all characters to be entered in the phone book, for example @. Indications that are affected by this command are: +CCWA, +CLCC, +CLIP.
Command Possible Response/Action
AT+MECC= <mode> Enables or disables standard checking of ASCII characters with values less than 32 on parsing AT commands.OK+CME ERROR:<err>
AT+MECC? +MECC: <mode>OK+CME ERROR:<err>
AT+MECC=? +MECC: (list of supported <mode>s)OK+CME ERROR:<err>
3-146
AT Command Set
ExampleAT+MECC=?
+MECC: (0-1)OK
AT+MECC?+MECC: 1OK
AT+CPBS= “ME”OK
AT+CPBW=, “030303”, 129, “ABC” [Cannot display and include the alpha tag “ ” in the phone book entry.]
OKAT+MECC=0
OKAT+CPBW=, “0303030”, 129, “ABC” [The “ ” character was added to the
end of the string, but it cannot be seen in Windows Hyper terminal]
OKAT+CPBF= “”
+CPBF: 001, “030303”, 129, “ABC”+CPBF: 002, 0303030”, 129, “ABC” [ “ ” character can be seen on the
handset display, but not in Windows Hyper Terminal.]
OK
Ω
Ω
Ω
3-147
G18 GSM/GPRS Modem AT Command Set
AT+MFS, Frequency of Search
DescriptionSets the frequency of search.
NoteThis command will set or read the EEPROM Frequency of Search.
Command Possible Response/Action
AT+MFS= <freq>[,<mode>] OK+CME ERROR:<err>
AT+MFS? +MFS: <freq>,<mode>OK+CME ERROR:<err>
AT+MFS=? +MFS: (list of supported <freq>s), (list of supported <mode>s)OK+CME ERROR:<err>
where:
<freq>: Frequency of search
0 Continous
1 Medium
2 Slow
3 Fast
<mode>:
0 Automatic
1 Manual
3-148
AT Command Set
ExampleAT+MFS=?
+MFS: (0-3),(0,1)OK
AT+MFS?+MFS:1,0OK
AT+MFS=3OK
AT+MFS?+MFS:3,0OK
AT+MFS=2,1OK
AT+MFS?+MFS:2,1
[//////////////////////POWER CYCLE]AT+MFS?
+MFS:2,1OK
AT+MFS=0OK
AT+MFS?+MFS:0,1OK
3-149
G18 GSM/GPRS Modem AT Command Set
AT+MMGA, Change Message Attributes
DescriptionChanges the specific message attribute from received-unread to received-read and vice versa.
NoteThis command is supported in software versions above E6.01.10.SMS attributes can be one of the following: received-unread, received-read, stored-sent, and stored-unsent.Since there are new AT commands (MMGR and MMGL) that return the message without changing its attribute from received-unread to received-read, this set command can be used to change the specific message attribute from received-unread to received-read and vice versa.The test command returns the entire available <index>es and <attribute>s supported by this command.
Command Possible Response/Action
AT+MMGA=<index>, <attribute> OK+CME ERROR:<err>
AT+MMGA? +CME ERROR:<err>
AT+MMGA=? +MMGA: (001 – 075), (000-001)OK+CME ERROR:<err>
where:
<index>: integer between 1 and 75
<attribute>:
0 <received-unread>
1 <received-read>
3-150
AT Command Set
AT+MMGL, Message List
DescriptionReturns the SMS message list without changing the message status from unread to read. It is used in the same way as +CMGL. This command is supported in software versions above E6.01.10.
Command Possible Response/Action
AT+MMGL[=<stat>] If PDU mode (+CMGF=0) and command successful:+MMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>[<CR><LF>+MMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>[...]]OKIf not:+CMS ERROR: <err>
AT+MMGL? +CMS ERROR:<err>
AT+MMGL=? +MMGL: (list of supported <stat>s)OK+CME ERROR:<err>
where:
<stat>: message reference
0 “REC UNREAD” received unread message
1 “REC READ” received read message
2 “STO UNSENT” stored unsent message
3 “STO SENT” stored sent message
4 “ALL” all messages (default)
3-151
G18 GSM/GPRS Modem AT Command Set
NoteThis new AT command returns the SMS message list without changing the message status from unread to read. It is used in the same way as +CMGL. This command is supported in software versions above E6.01.10.
3-152
AT Command Set
AT+MMGR, Read Message
DescriptionReads the SMS message without changing the message status from unread to read. It is used in the same way as +CMGL. This command is supported in software versions above E6.01.10.
NoteThis new AT command returns the SMS message list without changing the message status from unread to read. It is used in the same way as +CMGR.This command is supported in software versions E6.01.10.
Command Possible Response/Action
AT+MMGR=<index> If PDU mode (+CMGF=0) and command successful:+MMGR: <stat>,[<alpha>],<length><CR><LF><pdu>OKIf not:+CMS ERROR: <err>
AT+MMGR? +CME ERROR:<err>
AT+MMGR=? OK+CME ERROR:<err>
where:
<stat>:
0 “REC UNREAD” received unread message (for example, new message).
1 “REC READ” received read message
2 “STO UNSENT” stored unsent message
3 “STO SENT” stored sent message
4 “ALL” all messages (default)
<index> Value of message location in the range of location numbers, supported by the associated memory.
<alpha> Not supported
3-153
G18 GSM/GPRS Modem AT Command Set
AT+MSCTS, Sleep CTS Control
NoteThis new activity AT command controls CTS behavior and will deactivate it when the unit is in sleep mode. When there is no activity, g18 may enter the sleep-awake sequence, which can occur every 30-40 milliseconds.When sending data, use the wakeup line, either pin #15 at the FC 36 pin, or pin #10 at the DIN 28 pin, to awaken the g18.This command is supported in software versions E6.13.24 and above.
WARNING
When the DTE is not connected to the wakeup line, do not use this command.
Using AT+MSCTS=1 will deactivate the CTS after g18 has entered sleep mode, and the DTE will be unable to communicate with the g18 until powered on.
Command Possible Response/Action
AT+MSCTC= <control> OK+CME ERROR: <err>
AT+MSCTS? +MSCTS: <control>OK+CME ERROR: <err>
AT+MSCTS=? +MSCTS: (list of supported <control>s)OK+CME ERROR: <err>
Where
<control>:
0 Default. Ignores the wakeup line state.
1 When the g18 is awakened and the DTE wakeup line is high, CTS will not be activated.
3-154
AT Command Set
To enable communication between the DTE and the g18 when the DTE is powered off:1 Change the DTE flow control to none, and then send AT&K0; +MSCTS=0.
2 Wait for OK, and then send AT&K3.
3 Wait for OK, and then change the DTE floe control to HW.
ExampleAT+MSCTS=1 [feature ON]
OKAT+MSCTS?
+MSCTS: 1OK
AT+MSCTS=?+MSCTS: (0,1)OK
AT+MSCTS=0OK
AT+MSCTS?+MSCTS: 0OK
3-155
G18 GSM/GPRS Modem AT Command Set
AT+MTCTS, CTS Line Test Command
DescriptionCommand for line test.
NoteDeactivates CTS. Wait approximately 1 second, then activate CTS.
Command Possible Response/Action
AT+MTCTS OK+CME ERROR:<err>
AT+MTCTS? +CME ERROR:<err>
AT+MTCTS=? OK+CME ERROR:<err>
3-156
AT Command Set
AT+MTDTR, DTR Line Test Command
DescriptionReturns whether or not the DTR is active.
NoteThe command is accepted even when the SIM card is missing.
Command Possible Response/Action
AT+MTDR? +MTDTR: <n>OK+CME ERROR: <err>
AT+MTDR +MTDTR: <n>OK+CME ERROR: <err>
AT+MTDR=? OK+CMS ERROR:<err>
where:
<n>: message reference
1 DTR is active
0 DTR is not active
3-157
G18 GSM/GPRS Modem AT Command Set
AT+PT42
DescriptionThis command disables echo suppression and echo cancellation processing in normal mode.
NoteThis command disables echo suppression and echo cancellation processing in normal mode until the MS is turned off, which affects the handset screen. Registration starts when the command is completed.
Command Possible Response/Action
AT+PT42 OK+CME ERROR: <err>
AT+PT42? +CME ERROR: <err>
AT+PT42=? +CME ERROR:<err>
3-158
Index
AAbbreviations . . . . . . . . . . . . . . . . . . . . . . . xivAcronyms . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Bbasic command
CPIN . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1basic commands . . . . . . . . . . . . . . . . . . . . . 2-1
Ccommand
ATD . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2ATDL . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4CAOC . . . . . . . . . . . . . . . . . . . . . . . . . 3-5CBAND . . . . . . . . . . . . . . . . . . . . . . . . 3-6CBAUD . . . . . . . . . . . . . . . . . . . . . . . . 3-7CBST . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9CCFC . . . . . . . . . . . . . . . . . . . . . . . . . 3-11CCWA . . . . . . . . . . . . . . . . . . . . . . . . 3-14CEER . . . . . . . . . . . . . . . . . . . . . . . . . 3-16CESP . . . . . . . . . . . . . . . . . . . . . . . . . 3-17CGACT . . . . . . . . . . . . . . . . . . . . . . . 3-18CGATT . . . . . . . . . . . . . . . . . . . . . . . 3-20CGCLASS . . . . . . . . . . . . . . . . . . . . . 3-21CGDCONT . . . . . . . . . . . . . . . . . . . . 3-22CGMI . . . . . . . . . . . . . . . . . . . . . . . . . 3-24CGMM . . . . . . . . . . . . . . . . . . . . . . . . 3-25CGMR . . . . . . . . . . . . . . . . . . . . . . . . 3-26CGPADDR . . . . . . . . . . . . . . . . . . . . . 3-27CGPRS . . . . . . . . . . . . . . . . . . . . . . . 3-28CGQMIN . . . . . . . . . . . . . . . . . . . . . . 3-29CGQREQ . . . . . . . . . . . . . . . . . . . . . . 3-31CGSN . . . . . . . . . . . . . . . . . . . . . . . . 3-33
CHLD . . . . . . . . . . . . . . . . . . . . . . . . 3-34CHUP . . . . . . . . . . . . . . . . . . . . . . . . 3-39CIMI . . . . . . . . . . . . . . . . . . . . . . . . . 3-40CIP . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41CIPE . . . . . . . . . . . . . . . . . . . . . . . . . 3-42CKPD . . . . . . . . . . . . . . . . . . . . . . . . 3-43CLCC . . . . . . . . . . . . . . . . . . . . . . . . 3-45CLCK . . . . . . . . . . . . . . . . . . . . . . . . 3-48CLIP . . . . . . . . . . . . . . . . . . . . . . . . . 3-50CLIR . . . . . . . . . . . . . . . . . . . . . . . . . 3-52CMEC . . . . . . . . . . . . . . . . . . . . . . . . 3-54CMEE . . . . . . . . . . . . . . . . . . . . . . . . 3-56CMER . . . . . . . . . . . . . . . . . . . . . . . . 3-58CMGD . . . . . . . . . . . . . . . . . . . . . . . . 3-60CMGF . . . . . . . . . . . . . . . . . . . . . . . . 3-63CMGL . . . . . . . . . . . . . . . . . . . . . . . . 3-64CMGR . . . . . . . . . . . . . . . . . . . . . . . . 3-66CMGS . . . . . . . . . . . . . . . . . . . . . . . . 3-67CMGW . . . . . . . . . . . . . . . . . . . . . . . 3-68CMOD . . . . . . . . . . . . . . . . . . . . . . . . 3-69CMSS . . . . . . . . . . . . . . . . . . . . . . . . 3-70CMUX . . . . . . . . . . . . . . . . . . . . . . . . 3-71CNMA . . . . . . . . . . . . . . . . . . . . . . . . 3-72CNMI . . . . . . . . . . . . . . . . . . . . . . . . . 3-73CNUM . . . . . . . . . . . . . . . . . . . . . . . . 3-77COPS . . . . . . . . . . . . . . . . . . . . . . . . 3-79CPAS . . . . . . . . . . . . . . . . . . . . . . . . 3-82CPBF . . . . . . . . . . . . . . . . . . . . . . . . 3-84CPBR . . . . . . . . . . . . . . . . . . . . . . . . 3-86CPBS . . . . . . . . . . . . . . . . . . . . . . . . 3-88CPBW . . . . . . . . . . . . . . . . . . . . . . . . 3-91CPIN . . . . . . . . . . . . . . . . . . . . . . . . . 3-94CPMS . . . . . . . . . . . . . . . . . . . . . . . . 3-97CPOL . . . . . . . . . . . . . . . . . . . . . . . . 3-99
Index-1
G18 GSM/GPRS Modem AT Command Set
CPWD . . . . . . . . . . . . . . . . . . . . . . . 3-101CR . . . . . . . . . . . . . . . . . . . . . . . . . . 3-103CRC . . . . . . . . . . . . . . . . . . . . . . . . 3-105CREG . . . . . . . . . . . . . . . . . . . . . . . 3-107CRLP . . . . . . . . . . . . . . . . . . . . . . . 3-109CRSM . . . . . . . . . . . . . . . . . . . . . . . 3-110CRTT . . . . . . . . . . . . . . . . . . . . . . . 3-112CSCA . . . . . . . . . . . . . . . . . . . . . . . 3-114CSCB . . . . . . . . . . . . . . . . . . . . . . . 3-116CSCR . . . . . . . . . . . . . . . . . . . . . . . 3-121CSCS . . . . . . . . . . . . . . . . . . . . . . . 3-122CSMP . . . . . . . . . . . . . . . . . . . . . . . 3-124CSMS . . . . . . . . . . . . . . . . . . . . . . . 3-126CSQ . . . . . . . . . . . . . . . . . . . . . . . . 3-128CSTA . . . . . . . . . . . . . . . . . . . . . . . 3-130CSVM . . . . . . . . . . . . . . . . . . . . . . . 3-132CTFR1 . . . . . . . . . . . . . . . . . . . . . . 3-135FCLASS . . . . . . . . . . . . . . . . . . . . . 3-136GCAP . . . . . . . . . . . . . . . . . . . . . . . 3-137IPR . . . . . . . . . . . . . . . . . . . . . . . . . 3-138MCELL . . . . . . . . . . . . . . . . . . . . . . 3-140MCSAT . . . . . . . . . . . . . . . . . . . . . . 3-143MCWAKE . . . . . . . . . . . . . . . . . . . . 3-145MECC . . . . . . . . . . . . . . . . . . . . . . . 3-146
MFS . . . . . . . . . . . . . . . . . . . . . . . . . 3-148MMGA . . . . . . . . . . . . . . . . . . . . . . . 3-150MMGL . . . . . . . . . . . . . . . . . . . . . . . 3-151MMGR . . . . . . . . . . . . . . . . . . . . . . . 3-153MSCTS . . . . . . . . . . . . . . . . . . . . . . 3-154MTCTS . . . . . . . . . . . . . . . . . . . . . . . 3-156MTDTR . . . . . . . . . . . . . . . . . . . . . . 3-157PT42 . . . . . . . . . . . . . . . . . . . . . . . . 3-158
commandsbasic . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1CPIN . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
contacting Symbol . . . . . . . . . . . . . . . . . . . . .xv
Nnotational conventions . . . . . . . . . . . . . . . . xiii
Rreferences . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Sservice information . . . . . . . . . . . . . . . . . . . .xvsymbol support center . . . . . . . . . . . . . . . . . xvi
Index-2
Tell Us What You Think...
We’d like to know what you think about this Manual. Please take a moment to fill out this questionnaire and fax this form to: (631) 738-3318, or mail to:Symbol Technologies, Inc. One Symbol Plaza M/S B-4Holtsville, NY 11742-1300 Attention: Technical Publications Manager
IMPORTANT: If you need product support, please call the appropriate customer support number provided. Unfortunately, we cannot provide customer support at the fax number above.
User’s Manual Title:___________________________________________(please include revision level)
How familiar were you with this product before using this manual?
Did this manual meet your needs? If not, please explain.______________________________________________________________________________________________________________________
What topics need to be added to the index, if applicable? ______________________________________________________________________________________________________________________
What topics do you feel need to be better discussed? Please be specific.______________________________________________________________________________________________________________________
What can we do to further improve our manuals?______________________________________________________________________________________________________________________
Very familiar Slightly familiar Not at all familiar