Text preview for : s25_atc_commandset_v10.pdf part of ALL AT commandes



Back to : GSM.zip | Home

AT Command Set Reference Manual

Manual Reference AT Command Set
(GSM 07.07, GSM 07.05) for SIEMENS Mobile Phone

S25
and Derivatives

17.08.99

page 1 of 31

AT Command Set Reference Manual

All rights reserved. No part of this work covered by the copyrights hereof may be reproduced or copied in any form or by any means (graphic, electronic, or mechanical, including photocopying, taping, or information storage and retrieval systems) without written permission of the publisher.

Table of Contents
Revisions Overview ............................................. Fehler! Textmarke nicht definiert. Table of Contents .................................................................................................... 2 1. Software Interface............................................................................................... 3
1.1. OVERVIEW OF THE SUPPORTED AT COMMAND SET ............................................................................. 3 1.2. AT COMMAND SET ......................................................................................................................... 4 1.2.1. Hayes-Standard Commands ........................................................................................ 4 1.2.2. Acknowledgments for Normal Data Communication ........................................... 5 1.3. AT COMMANDS AND RESPONSES ACCORDING TO GSM 07.07 AND GSM 07.05 .............................. 6 1.3.1. AT Cellular Commands According to GSM 07.07 .................................................. 6 1.3.2. AT Commands According to GSM 07.05 for SMS................................................. 23 1.3.3. User-Defined Commands for Controlling the GSM Mobile PhoneFehler! Textmarke nicht definiert. 1.3.4. Summary of All Unexpected Messages ...............Fehler! Textmarke nicht definiert. APPENDIX A......................................................................................................................................... 30 Features of the Telephone-Book Memory .......................................................................... 30 Writing to the FDN Phonebook / FDN Replacement........................................................ 30

17.08.99

page 2 of 31

AT Command Set Reference Manual

1. Software Interface
1.1. Overview of the Supported AT Command Set

Page

Commands 07.07 AT+CGMI AT+CGMM AT+CGMR AT+CGSN AT+GSN AT+CHUP AT+CEER AT+CREG AT+COPS AT+CLCK AT+CPWD AT+CLIP AT+CCFC AT+CHLD AT+CPAS AT+CPIN AT+CBC AT+CSQ AT+CPBS AT+CPBR AT+CPBW AT+CMEE AT+VTS AT+VTD AT+WS46 AT+CSCS AT+CAOC AT+CSSN AT+CRSM AT+CIMI AT+CACM AT+CAMM AT+CLCC AT+CCLK AT+COPN Commands 07.05 AT+CSMS AT+CPMS AT+CMGF AT+CSCA AT+CNMI AT+CNMA AT+CMGL AT+CMGR AT+CMGS AT+CMSS AT+CMGW AT+CMGD AT+CSCB AT+CMGC

Function

E10 S10 S10 Rel act aun ch

C25

S25

6 6 6 7 7 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 16 17 17 17 18 18 19 19 20 20 21 22 22 Page

Issue manufacturer ID code Issue model ID code Output the GSM telephone version Output the serial number (IMEI) Output the serial number (IMEI) Terminate call Query the reason for disconnection of last call Power status Commands concerning selection of network operator Switch blocking on and off Change password to a block Display telephone number of calling party Call forwarding Call hold and multiparty Query the telephone status Enter PIN and query block Battery charge Output signal quality Select a telephone book Read a telephone-book entry Write a telephone-book entry Expanded error messages according to GSM 07.07 Send a DTMF tone Set duration of a DTMF tone Select wireless network Select TE character set Advice of charge Supplementary service notifications Restricted SIM access Output of IMSI Accumulated call meter Accumulated call meter maximum List Current Calls Clock Read operator names Function E10 S10 S10 Rel act aun ch C25 S25

23 24 24 25 25 27 27 28 28 28 29 29 29 29

Selection of message service Selection of SMS memory SMS format Address of the SMS service center Display new incoming SMS Acknowledgment of a short message directly output List SMS Read in an SMS Send an SMS Send an SMS from the SMS memory Write an SMS to the SMS memory Delete an SMS in the SMS memory Select cell broadcast messages Send an SMS command

17.08.99

page 3 of 31

AT Command Set Reference Manual

1.2. AT Command Set
Remote-control operation of the GSM mobile telephone runs via a serial interface, where AT+C commands according to GSM 07.07 and GSM 07.05 as well as several manufacturer-specific AT commands are available. These commands are described in more detail on the following pages. The commands are entered by way of the operating functions of the respective base unit. This converts the operating functions to AT commands so that the mobile phone can execute the required action. The following should be noted: The modem guideline V.25ter applies to the sequence of the interface commands. According to this guideline, commands should begin with the character string "AT" and end with "" (= 0x0D). The input of a command is acknowledged by the display of "OK" or "ERROR". A command currently in process is interrupted by each additional character entered. This means that you should not enter the next command until you have received the acknowledgment; otherwise the current command is interrupted. The commands supported are listed in the following tables:

1.2.1. Hayes-Standard Commands The Hayes-standard commands correspond to the commands of AT Hayescompatible modems.
Command Function

A/ AT... ATA ATD;

ATD>;

ATD> ; ATDL ATE0 ATE1 ATH[0] ATQ0 ATQ1 ATV0
17.08.99

Repeat last command Prefix for all other commands Accept call Dial the dialing string with the voice utility Valid dial modifiers: "T" (tone dialing), "P" (pulse dialing) is ignored. The character ";" is important, for this tells the phone that the call should be set up with the voice utility. Otherwise an attempt is made to set up a data call, which the phone immediately acknowledges with "ERROR". Dial the telephone number from the current telephone book location number The telephone book is selected with the command at+cpbs Dial the telephone number from the telephone book location number Dial last telephone number Deactivate command echo Activate command echo Separate connection Display acknowledgments Suppress acknowledgments Output acknowledgments as numbers
page 4 of 31

AT Command Set Reference Manual
Command Function

ATV1 AT&F[0] AT&V ATZ AT+GCAP

Output acknowledgments as text Reset to stored profile Display active and stored profiles Set to default configuration Output the capabilities list

1.2.2. Acknowledgments for Normal Data Communication Response OK RING NO CARRIER ERROR NO DIALTONE BUSY Numeric 0 2 3 4 6 7 Meaning Command executed, no errors Ring detected Link not established or disconnected Invalid command or command line too long No dial tone, dialing impossible, wrong mode Remote station busy

17.08.99

page 5 of 31

AT Command Set Reference Manual

1.3. AT Commands and Responses According to GSM 07.07 and GSM 07.05 According to GSM, it is possible to execute an AT command in various forms.
Test command AT+CXXX=? The telephone responds by sending the list of parameters and value ranges; these can be set using the affiliated Write command or by means of internal processes. This command tells you the current value setting of the parameter(s).

Read command Write command Execute command

AT+CXXX?

AT+CXXX=<...> This command is used to set parameters that can be set. AT+CXXX The Execute command reads non-settable parameters which are influenced by internal processes in the telephone.

1.3.1. AT Cellular Commands According to GSM 07.07 AT+CGMI
Test command

Issue manufacturer ID code
Response

AT+CGMI=?
Execute command

OK
Response

AT+CGMI


Parameter



Name of manufacturer (SIEMENS)

Important: There is a leading output prefix +CGMI in models before the S25.

AT+CGMM
Test command Execute command

Issue model ID code
Response Response

AT+CGMM=? OK AT+CGMM
Parameter



Name of telephone (MOBILE)

Important: There is a leading output prefix +CGMM in models before the S25. AT+CGMR
Test command

Output the GSM telephone version
Response

AT+CGMR=?
Execute command

OK
Response

AT+CGMR


Parameter



Version of the telephone software

Important: There is a leading output prefix +CGMR in models before the S25.

17.08.99

page 6 of 31

AT Command Set Reference Manual

AT+CGSN
Test command

Output the serial number (IMEI)
Response

AT+CGSN=?
Execute command

OK
Response

AT+CGSN


Parameter



IMEI of the telephone

Important: There is a leading output prefix +CGMI in models before the S25. AT+GSN
Test command

Output the serial number (IMEI)
Response

AT+GSN=?
Execute command

OK
Response

AT+GSN

+GSN:
Parameter



IMEI of the telephone

Important: The output prefix +GSN may be missing in future versions. AT+CHUP
Test command

Terminate call
Response

AT+CHUP=?
Execute command

OK
Response

AT+CHUP

OK/ERROR
Description:

All active calls and all calls on hold are terminated. AT+CEER
Test command

Query the reason for disconnection of last call
Response

AT+CEER=?
Execute command

OK
Response

AT+CEER

+CEER:
Parameter



Disconnection reason reported as number

17.08.99

page 7 of 31

AT Command Set Reference Manual

AT+CREG
Test command

Power status
Response

AT+CREG=?

+CREG: (list of supported s) OK/ERROR/+CME ERROR
Parameter


Read command Response

0 1

Suppresses the unexpected network-status messages Displays the unexpected network-status messagesOK/ERROR/+CME ERROR

AT+CREG?

+CREG: ,[,,] OK/ERROR/+CME ERROR
Parameter




Write command Parameter

See Test command 0 Not checked in, not seeking 1 Checked in 2 Not checked in, but seeking a network 3 Check-in denied by network 4 Unknown 5 Registered, roaming Hexadecimal 2-byte string type of location area code Hexadecimal 2-byte string type of cell ID See Test command

AT+CREG=


Response

OK/ERROR/+CME ERROR
Unexpected message

+CREG: AT+COPS
Test command

Commands concerning selection of network operator
Response

AT+COPS=?

+COPS: [list of supported (,long alphanumeric ,,numeric )s][,,( list of supported s),( list of supported s)] OK/ERROR/+CME ERROR
Parameter



0 1 2 3


Read command Response

Unknown Useful network operator Used network operator Prohibited network operator Operator in the format according to

AT+COPS?

+COPS: [,,Parameter




Write command Parameter

0 1 3 4 0 2

Automatic mode Manual selection of network operator Setting of format Automatic, manual selected Long alphanumeric Numeric Network operator See Read command See Read command If = 1, can only = 2 In numeric form only

AT+COPS= de>[,[,< oper]]
Response

OK/ERROR/+CME ERROR

17.08.99

page 8 of 31

AT Command Set Reference Manual AT+CLCK Switch blocking on and off Revision to GSM 07.07 according to CR TDOC ETSI/SMG4 187/96
Response

Test command

AT+CLCK=?

+CLCK: (list of supported s) OK/ERROR/+CME ERROR
Parameter



"CS" "PS" "SC" "FD" "AO" "OI" "OX"

Keyboard lock Phone locked to SIM (device code) SIM card (PIN) FDN lock BAOC (bar all outgoing calls) BOIC (bar outgoing international calls) BOIC-exHC (bar outgoing international calls except to home country) "AI" BAIC (bar all incoming calls) "IR" BIC-Roam (bar incoming calls when roaming outside the home country) "AB" All Barring services "AG" All outgoing barring services "AC" All incoming barring services 0 1 2 1 2 4 7 See Test command Cancels block Activates block Queries block status Password Voice Data Fax All classes (default value)

Write command

Parameter

AT+CLCK= ac>, [, [,]]


Response

If =2 and command is successful +CLCK: [,[ +CLCK: , class2....]]
Parameter



0 1

On Off

OK/ERROR/+CME ERROR AT+CPWD
Test command

Change password to a block
Response

AT+CPWD=? +CPWD: list of supported (, )s
OK/ERROR/+CME ERROR
Parameter

"P2" PIN2 otherwise See Test command for AT+CLCK command, without "FD" Password length
Write command Parameter

See Test command for AT+CLCK command AT+CPWD= , ac>, Old and new password ,
Response

OK/ERROR/+CME ERROR

17.08.99

page 9 of 31

AT Command Set Reference Manual

AT+CLIP
Test command

Display telephone number of calling party
Response

AT+CLIP=?

+CLIP: (list of supported s) OK/ERROR/+CME ERROR
Parameter


Read command Response

0 1

Suppresses the unexpected messages Displays the unexpected messages

AT+CLIP?

+CLIP: , OK/ERROR/+CME ERROR
Parameter


Write command Parameter

0 1 2

See Test command CLIP not booked CLIP booked Unknown See Read command

AT+CLIP=
Response Unexpected message

OK/ERROR/+CME ERROR
+CLIP: , Telephone number of caller

AT+CCFC
Test command

Call forwarding
Response

AT+CCFC=?

+CCFC: (list of supported s) OK/ERROR/+CME ERROR
Parameter



0 1 2 3 4 5 0 1 2 3 4

Always If busy If no answer If not available All reasons (0-3) All conditional reasons (1-3)

Write command

Parameter

AT+CCFC=, [, [, [, [,,,