at conmand

Upload: vicdark

Post on 07-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 At Conmand

    1/31

    AT Command Set Reference Manual

    17.08.99 page 1 of 31

    Manual Reference

    AT Command Set(GSM 07.07, GSM 07.05)

    for SIEMENS Mobile Phone

    S25

    and Derivatives

  • 8/6/2019 At Conmand

    2/31

    AT Command Set Reference Manual

    17.08.99 page 2 of 31

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

    Table of Contents

    Revisions Overview ............................................. Fehler! Textmarke nicht de finiert.Tab le of Contents.................................................................................................... 21. Software Inte rfac e............................................................................................... 3

    1.1. OVERVIEW OF THESUPPORTEDAT COMMANDSET............................................................................. 31.2. AT COMMANDSET......................................................................................................................... 4

    1.2.1. Hayes -S tandard Commands ........................................................................................ 4

    1.2.2. Acknow ledgm ents for Norma l Dat a Comm unica t ion ........................................... 5

    1.3. AT COMMANDS AND RESPONSESACCORDING TO GSM 07.07 AND GSM 07.05.............................. 61.3.1. AT Cel lula r Comm an ds According to GSM 07 .07.................................................. 6

    1.3.2. AT Comm an ds According t o GSM 07 .05 for SMS ................................................. 23

    1.3.3. User-Defined Comm an ds for Control l ing t he GSM Mobile PhoneFehler!

    Textmarke nicht de finiert.

    1.3.4. Sum ma ry o f A l l Unexpec ted Messa ges ...............Fehler! Textmarke nicht definiert.

    APPENDIXA ......................................................................................................................................... 30Feat ures of t he Telephone-Book Memory .......................................................................... 30

    Writ ing to th e FDN Phonebook / FDN Repla cem ent ........................................................ 30

  • 8/6/2019 At Conmand

    3/31

    AT Command Set Reference Manual

    17.08.99 page 3 of 31

    1. Software Interface

    1.1. Overview of the Supported AT Command Set

    Page Commands07.07

    Function E10 S10 S10act

    Relaunch

    C25 S25

    6 AT+CGMI Issue manufacturer ID code

    6 AT+CGMM Issue model ID code

    6 AT+CGMR Output the GSM telephone version

    7 AT+CGSN Output the serial number (IMEI)

    7 AT+GSN Output the serial number (IMEI)

    7 AT+CHUP Terminate call

    7 AT+CEER Query the reason for disconnection of last cal l

    8 AT+CREG Power status

    8 AT+COPS Commands concerning selection of network operator

    9 AT+CLCK Switch blocking on and off

    9 AT+CPWD Change password to a block

    10 AT+CLIP Display telephone number of calling party

    10 AT+CCFC Call forwarding

    11 AT+CHLD Call hold and multiparty

    11 AT+CPAS Query the telephone status

    12 AT+CPIN Enter PIN and query block

    12 AT+CBC Battery charge

    13 AT+CSQ Output signal quality

    13 AT+CPBS Select a telephone book

    14 AT+CPBR Read a telephone-book entry

    14 AT+CPBW Write a telephone-book entry

    15 AT+CMEE Expanded error messages according to GSM 07.07

    16 AT+VTS Send a DTMF tone

    17 AT+VTD Set duration of a DTMF tone 17 AT+WS46 Select wireless network

    17 AT+CSCS Select TE character set

    18 AT+CAOC Advice of charge

    18 AT+CSSN Supplementary service not if ications

    19 AT+CRSM Restricted SIM access

    19 AT+CIMI Output of IMSI

    20 AT+CACM Accumulated call meter

    20 AT+CAMM Accumulated call meter maximum

    21 AT+CLCC List Current Calls

    22 AT+CCLK Clock

    22 AT+COPN Read operator names

    Page Commands07.05

    Function E10 S10 S10act

    Relaun

    ch

    C25 S25

    23 AT+CSMS Selection of message service

    24 AT+CPMS Selection of SMS memory

    24 AT+CMGF SMS format

    25 AT+CSCA Address of the SMS service center

    25 AT+CNMI Display new incoming SMS

    27 AT+CNMA Acknowledgment of a short message directly output

    27 AT+CMGL List SMS

    28 AT+CMGR Read in an SMS

    28 AT+CMGS Send an SMS

    28 AT+CMSS Send an SMS from the SMS memory

    29 AT+CMGW Write an SMS to the SMS memory

    29 AT+CMGD Delete an SMS in the SMS memory

    29 AT+CSCB Select cell broadcast messages

    29 AT+CMGC Send an SMS command

  • 8/6/2019 At Conmand

    4/31

    AT Command Set Reference Manual

    17.08.99 page 4 of 31

    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 severalmanufacturer-specific AT commands are available. These commands are describedin more detail on the following pages.

    The commands are entered by way of the operating functions of the respective baseunit. This converts the operating functions to AT commands so that the mobile phonecan 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 thedisplay of OK or ERROR. A command currently in process is interrupted byeach additional character entered. This means that you should not enter the nextcommand until you have received the acknowledgment; otherwise the currentcommand is interrupted.

    The commands supported are listed in the following tables:

    1.2 .1 . Hayes-Standard Com m ands

    The Hayes-standard commands correspond to the commands of AT Hayes-compatible modems.

    Command Function

    A/ Repeat last command

    AT... Prefix for all other commands

    ATA Accept call

    ATD; Dial the dialing string with the voice utilityValid dial modifiers: T (tone dialing), P (pulse dialing) is ignored.The character ; is important, for this tells the phone that the callshould be set up with the voice utility. Otherwise an attempt ismade to set up a data call, which the phone immediatelyacknowledges with ERROR.

    ATD>; Dial the telephone number from the current telephone book locationnumber The telephone book is selected with the command at+cpbs

    ATD>;

    Dial the telephone number from the telephone book location number

    ATDL Dial last telephone number

    ATE0 Deactivate command echo

    ATE1 Activate command echo

    ATH[0] Separate connection

    ATQ0 Display acknowledgmentsATQ1 Suppress acknowledgments

    ATV0 Output acknowledgments as numbers

  • 8/6/2019 At Conmand

    5/31

    AT Command Set Reference Manual

    17.08.99 page 5 of 31

    Command Function

    ATV1 Output acknowledgments as text

    AT&F[0] Reset to stored profile

    AT&V Display active and stored profiles

    ATZ Set to default configuration

    AT+GCAP Output the capabilities list

    1.2 .2 . Ackno wledgm ent s for Norm al Data Com m unication

    Response Numeric Meaning

    OK 0 Command executed, no errors

    RING 2 Ring detected

    NO CARRIER 3 Link not established or disconnected

    ERROR 4 Invalid command or command line toolong

    NO DIALTONE 6 No dial tone, dialing impossible, wrong modeBUSY 7 Remote station busy

  • 8/6/2019 At Conmand

    6/31

    AT Command Set Reference Manual

    17.08.99 page 6 of 31

    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 ofparameters and value ranges; these can be set using

    the affiliated Write command or by means of internalprocesses.

    Read command AT+CXXX? This command tells you the current value setting ofthe parameter(s).

    Write command AT+CXXX= This command is used to set parameters that can beset.

    Execute command AT+CXXX The Execute command reads non-settableparameters which are influenced by internal processesin the telephone.

    1 .3 .1 . AT Cellular Com m ands Acco rding to GSM 0 7 .0 7

    AT+CGMI Issue manufacturer ID codeTest command

    AT+CGMI=?Response

    OKExecute command

    AT+CGMIResponse

    Parameter

    Name of manufacturer (SIEMENS)

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

    AT+CGMM Issue model ID codeTest command

    AT+CGMM=?Response

    OKExecute command

    AT+CGMMResponse

    Parameter

    Name of telephone (MOBILE)

    Important: There is a leading output prefix +CGMM in modelsbefore the S25.

    AT+CGMR Output the GSM telephone versionTest command

    AT+CGMR=?Response

    OKExecute command

    AT+CGMRResponse

    Parameter

    Version of the telephone software

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

  • 8/6/2019 At Conmand

    7/31

    AT Command Set Reference Manual

    17.08.99 page 7 of 31

    AT+CGSN Output the serial number (IMEI)Test command

    AT+CGSN=?Response

    OKExecute command

    AT+CGSN

    Response

    Parameter IMEI of the telephone

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

    AT+GSN Output the serial number (IMEI)Test command

    AT+GSN=?Response

    OKExecute command

    AT+GSN

    Response

    +GSN: Parameter IMEI of the telephone

    Important: The output prefix +GSN may be missing in futureversions.

    AT+CHUP Terminate callTest command

    AT+CHUP=?Response

    OKExecute command

    AT+CHUP

    Response

    OK/ERRORDescription:All active calls and all calls on hold are terminated.

    AT+CEER Query the reason for disconnection of last callTest command

    AT+CEER=?Response

    OKExecute command

    AT+CEERResponse

    +CEER: Parameter

    Disconnection reason reported as number

  • 8/6/2019 At Conmand

    8/31

    AT Command Set Reference Manual

    17.08.99 page 8 of 31

    AT+CREG Power statusTest command

    AT+CREG=?Response

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

    0 Suppresses the unexpected network-status messages1 Displays the unexpected network-status

    messagesOK/ERROR/+CME ERRORRead command

    AT+CREG?Response

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

    See Test command 0 Not checked in, not seeking

    1 Checked in2 Not checked in, but seeking a network3 Check-in denied by network4 Unknown5 Registered, roaming

    Hexadecimal 2-byte string type of location area code Hexadecimal 2-byte string type of cell ID

    Write command

    AT+CREG=Parameter

    See Test commandResponse

    OK/ERROR/+CME ERRORUnexpected message

    +CREG:

    AT+COPS Commands concerning selection of network operatorTest command

    AT+COPS=?

    Response

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

    0 Unknown1 Useful network operator2 Used network operator3 Prohibited network operator

    Operator in the format according to Read command

    AT+COPS?Response

    +COPS: [,,

  • 8/6/2019 At Conmand

    9/31

    AT Command Set Reference Manual

    17.08.99 page 9 of 31

    AT+CLCK Switch blocking on and offRevision to GSM 07.07 according to CR TDOC ETSI/SMG4187/96

    Test command

    AT+CLCK=?

    Response

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

    CS Keyboard lockPS Phone locked to SIM (device code)SC SIM card (PIN)FD FDN lock"AO" BAOC (bar all outgoing calls)"OI" BOIC (bar outgoing international calls)"OX" 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

    Write command

    AT+CLCK=, [,[,]]

    Parameter

    See Test command 0 Cancels block

    1 Activates block2 Queries block status

    Password 1 Voice

    2 Data4 Fax7 All classes (default value)

    Response

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

    0 On1 Off

    OK/ERROR/+CME ERROR

    AT+CPWD Change password to a blockTest command

    AT+CPWD=?Response

    +CPWD: list of supported (, )s

    OK/ERROR/+CME ERRORParameter

    P2 PIN2otherwise See Test command for AT+CLCK command, without FD Password length

    Write command

    AT+CPWD=,,

    Parameter

    See Test command for AT+CLCK command,

    Old and new password

    Response

    OK/ERROR/+CME ERROR

  • 8/6/2019 At Conmand

    10/31

    AT Command Set Reference Manual

    17.08.99 page 10 of 31

    AT+CLIP Display telephone number of calling partyTest command

    AT+CLIP=?Response

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

    0 Suppresses the unexpected messages1 Displays the unexpected messages

    Read command

    AT+CLIP?Response

    +CLIP: , OK/ERROR/+CME ERRORParameter

    See Test command 0 CLIP not booked

    1 CLIP booked2 Unknown

    Write command

    AT+CLIP=Parameter

    See Read commandResponse

    OK/ERROR/+CME ERRORUnexpected message

    +CLIP: , Telephone number of caller

    AT+CCFC Call forwardingTest command

    AT+CCFC=?Response

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

    0 Always1 If busy

    2 If no answer3 If not available4 All reasons (0-3)5 All conditional reasons (1-3)

    Write command

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

    Parameter

    See Test command 0 Deactivate

    1 Activate2 Query3 Install4 Delete

    Telephone number Type of telephone number 1 Voice

    2 Data4 Fax7 All classes

    1-30 Time, rounded to a multiple of five secondsResponse

    If =2 and command is successful+CCFC: , [, , [,,,]][+CCFC: ....]OK/ERROR/+CME ERRORParameter

    0 Not active1 Active

  • 8/6/2019 At Conmand

    11/31

    AT Command Set Reference Manual

    17.08.99 page 11 of 31

    AT+CHLD Call hold and multipartyTest command

    AT+CHLD=?Response

    [+CHLD: (list of supported s)]OK/ERROR/+CME ERROR

    Write command

    AT+CHLD=[]

    Parameter

    0 Terminates all held calls or sets UDUB (User DeterminedUser Busy) for a waiting call

    1 Terminates all active calls (if there are any) and accepts theother call (waiting call or held call)

    1X Terminates call number X (X= 1-7)2 Puts all active calls on hold (if there are any) and accepts the

    other call (waiting call or held call) as active2X Puts all active calls except call X (X= 1-7) on hold3 Connects the call put on hold to the active call

    For terminating Terminating all calls except waiting calls is done withAT+CHUP

    Note: Command scope depends on the SIM clearing and/or on the

    network supportResponse

    OK/ERROR/+CME ERROR

    AT+CPAS Query the telephone statusTest command

    AT+CPAS=?Response

    +CPAS: (list of supported s)OK/ERROR/+CME ERRORParameter

    0 Ready3 Incoming call (phone is ringing)4 Call is active

    Execute command

    AT+CPAS

    Response

    +CPAS: OK/ERROR/+CME ERRORParameter

    See Test commandOK/ERROR/+CME ERROR

  • 8/6/2019 At Conmand

    12/31

    AT Command Set Reference Manual

    17.08.99 page 12 of 31

    AT+CPIN Enter PIN and query blockTest command

    AT+CPIN=?Response

    OKRead command

    AT+CPIN?

    Response

    +CPIN: OK/ERROR/+CME ERRORParameter

    READY No further input necessarySIM PIN SIM PIN input necessarySIM PUK SIM PUK input necessaryPH-SIM PIN Device-code (theft protection) input necessaryPH-SIM PUK Device-code PUK (theft protection) input necessarySIM PIN2 PIN2, e.g. for editing the FDN book;

    only possible if previous command was acknowledged with+CME ERROR:17

    SIM PUK2 Only possible if previous command was acknowledged with

    error +CME ERROR:18The required error message can (must) be provoked by an attempted Writecommand.

    Write command

    AT+CPIN=[,

    Parameter

    Password for appropriate block; if the block is a PUK, then a is necessary.

    New password for the block

    Response

    OK/ERROR/+CME ERROR

    AT+CBC Battery chargeTest command

    AT+CBC=?

    Response

    +CBC: (list of supported s),(list of supported s)OK/ERROR/+CME ERRORParameter

    0 ME is supplied from battery1 ME has battery but is not supplied from there2 ME has no battery connected3 Error

    0 Battery is flat, but no more actions possible1-100 charge in per cent

    Execute command

    AT+CBCResponse

    +CBC: ,

  • 8/6/2019 At Conmand

    13/31

    AT Command Set Reference Manual

    17.08.99 page 13 of 31

    AT+CSQ Output signal qualityTest command

    AT+CSQ=?Response

    +CSQ: (list of supported s), list of supported )OK/ERROR/+CME ERRORParameter

    Reception level:0 -113 dBm or less1 -111 dBm2-30 -109 to -53 dBm31 -51 dBm or more99 Unknown

    Bit error rate:0-7 Like RXQUAL values from Table GSM 05.08 in Section 8.2.499 Unknown

    Execute command

    AT+CSQResponse

    +CSQ: ,

    OK/ERROR/+CME ERRORParameter See Test command See Test command

    AT+CPBS Select a telephone bookTest command

    AT+CPBS=?Response

    +CPBS: (list of supported s)OK/ERROR/+CME ERRORParameter

    FD SIM fix-dialing phonebookSM SIM phonebookME ME phonebookDC ME Dialled Calls ListON SIM (or ME) own numbers (MSISDNs) listLD SIM last-dialling phonebook"MC" ME missed (unanswered received) calls list"RC" ME received calls list

    *For description of telephone-book features, see Appendix A

    Note: DC and LD are never both available.Read command

    AT+CPBS?Response

    +CPBS: OK/ERROR/+CME ERRORParameter

    See Test commandWrite command

    AT+CPBS=

    Parameter

    See Test command

    Response

    OK/ERROR/+CME ERROR

  • 8/6/2019 At Conmand

    14/31

    AT Command Set Reference Manual

    17.08.99 page 14 of 31

    AT+CPBR Read a telephone-book entryTest command

    AT+CPBR=?Response

    +CPBR: (list of supported s), ,

    OK/ERROR/+CME ERRORParameter Location number Max. length of telephone number Max. length of text corresponding to the number

    Write command

    AT+CPBR=[,]

    Response

    +CPBR: , , , [+CPBR: .....+CPBR: , , , ]OK/ERROR/+CME ERRORParameter

    Location number where the read of the entry starts Location number where the read of the entry ends Telephone number Type of number Text corresponding to the telephone number

    NOTE:In models before the S25, empty phonebook records are reported as follows:+CPBR: ,emptyIn S25ff, those empty entries don't produce any output.

    AT+CPBW Write a telephone-book entryTest command

    AT+CPBW=?Response

    +CPBW: (list of supported s), ,

    OK/ERROR/+CME ERRORParameter

    Location number Max. length of telephone number Max. length of text corresponding to the number

    Write command

    AT+CPBW=[],[,[,[]]]

    Parameter

    Location number at which the entry is written Telephone number Type of number Text corresponding to the telephone number

    Response

    OK/ERROR/+CME ERRORNote: The following characters in must be entered via the

    escape sequence:GSM char. Seq. Seq.(hex) Note\ \5C 5C 35 43 (backslash) \22 5C 32 32 (string delimiter)BSP \08 5C 30 38 (backspace)NULL \00 5C 30 30 (GSM null)

    0 (GSM null) may cause problems on application level whenusing the function strlen() and should thus be represented byan escape sequence when necessary

  • 8/6/2019 At Conmand

    15/31

    AT Command Set Reference Manual

    17.08.99 page 15 of 31

    AT+CMEE Expanded error messages according to GSM 07.07Test command

    AT+CMEE=?Response

    +CMEE: (list of supported s)Parameter

    0 Suppresses the expanded error format1 Expanded error messages as number2 Expanded error messages as text

    Read command

    AT+CMEE?Response

    +CMEE: Parameter

    See Read commandWrite command

    AT+CMEE=

    Parameter

    See Read command

    Response

    OK/ERROR/+CME ERRORDescription:

    The following CME errors are possible:

    0 PHONE FAILURE1 NO CONNECTION TO PHONE2 PH-TA LINK RESERVED3 OPERATION NOT ALLOWED4 OPERATION NOT SUPPORT5 PH-SIM PIN REQUIRED10 SIM NOT INSERTED11 SIM PIN REQUIRED12 SIM PUK REQUIRED13 SIM FAILURE14 SIM BUSY15 SIM WRONG16 INCORRECT PASSWORD17 SIM PIN2 REQUIRED18 SIM PUK2 REQUIRED20 MEMORY FULL21 INVALID INDEX22 NOT FOUND23 MEMORY FAILURE24 TEXT TOO LONG25 INV CHAR IN TEXT

    26 DIAL STRING TOO LONG27 INV CHAR IN DIAL30 NO NETWORK SERVICE31 NETWORK TIMEOUT

    100 UNKNOWN

    512 CALL BARRED BY BLACKLIST513 PHONE LINK RESERVED514 INVALID DIAL STRING515 PHONE BUSY

    550 PH-SIM PUK REQUIRED551 NTF-SIM PIN REQUIRED

  • 8/6/2019 At Conmand

    16/31

    AT Command Set Reference Manual

    17.08.99 page 16 of 31

    552 NTF-SIM PUK REQUIRED553 PH-NET PIN REQUIRED554 PH-NET PUK REQUIRED555 PH-SP PIN REQUIRED556 PH-SP PUK REQUIRED

    557 PH-CP PIN REQUIRED558 PH-CP PUK REQUIRED559 FEATURE PIN REQUIRED560 FEATURE PUK REQUIRED

    The following CMS errors have been defined for SMS:300 ME FAILURE301 SMS SERVICE OF ME RESERVED302 OPERATION NOT ALLOWED303 OPERATION NOT SUPPORTED

    304 INVALID PDU PARAMETER305 INVALID TEXT MODE310 SIM NOT INSERTED311 SIM PIN NECESSARY312 PH-SIM PIN NECESSARY313 SIM FAILURE314 SIM BUSY315 SIM WRONG320 MEMORY FAILURE321 INVALID MEMORY FAILURE322 MEMORY FULL330 SMSC ADDRESS UNKNOWN331 NO NETWORK SERVICE332 NETWORK TIMEOUT340 NO +CNMA ACK EXPECTED500 UNKNOWN ERROR

    AT+VTS Send a DTMF toneTest command

    AT+VTS=?Response

    +VTS: ,OK/ERROR/+CME ERRORParameter

    0-9,#,*,A-D, exactly one character Duration of tone in (duration/10) seconds

    Write command

    AT+VTS=[,]or

    Parameter

    One character from the list, see Test commandSee Test command

    max. 29 characters in quotation marks (...), then a duration cannotbe specified

    AT+VTS=

    Response

    OK/ERROR/+CME ERROR

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

  • 8/6/2019 At Conmand

    17/31

    AT Command Set Reference Manual

    17.08.99 page 17 of 31

    AT+VTD Set duration of a DTMF toneTest command

    AT+VTD=?Response

    +VTD: (list of supported s)OK/ERROR/+CME ERRORParameter

    1-255Duration of tone in (duration/10) seconds

    Read command

    AT+VTD?Response

    +VTD: OK/ERROR/+CME ERROR

    Write command

    AT+VTD=

    Parameter

    See Test command

    Response

    OK/ERROR

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

    AT+WS46 Select wireless networkTest command

    AT+WS46=?Response

    +WS46: (list of supported s)OK

    Read command

    AT+WS46?Response

    +WS46: OK/ERROR/+CME ERRORParameter

    Integer; WDS side stack12 GSM digital cellular

    Write command

    AT+WS46=[]

    Response

    OK/ERROR/+CME ERROR

    Important: There is a leading output prefix +WS46 in modelsbefore the S25.

    AT+CSCS Select TE character setTest command

    AT+CSCS=?Response

    +CSCS: (list of supported s)OK

    Read command

    AT+CSCS?Response

    +CSCS: OK/ERROR/+CME ERRORParameter

    String; determines which TE character set is usedWrite command

    AT+CSCS=[]

    Response

    OK/ERROR/+CME ERROR

  • 8/6/2019 At Conmand

    18/31

  • 8/6/2019 At Conmand

    19/31

    AT Command Set Reference Manual

    17.08.99 page 19 of 31

    AT+CRSM Restricted SIM accessTest command

    AT+CRSM=?Response

    OKWrite command

    +CRSM=[,

    [,,,[,]]]

    Response

    +CRSM: ,[,]OK/ERROR/+CME ERROR

    Parameter

    :178 READ RECORD192 GET RESPONSE214 UPDATE BINARY220 UPDATE RECORD242 STATUS

    : Integer, identifier of the data file on the SIM,mandatory for every command except STATUS(see GSM 11.11)

    , , :Integer, transferal parameter from ME to SIM,mandatory for every command exceptGET RESPONSE,STATUS (see GSM 11.11)

    : Hexadecimal string; information that is to bewritten to the SIM

    , : Integer; information from the SIM as tohow/whether the command was executed

    : Hexadecimal string; given when a command wassuccessfully processed

    Note: The write access to CK boxes receives only limited support anddiffers from device to device.

    AT+CIMI Output of IMSITest command

    AT+CIMI=?Response

    OKExecute command

    AT+CIMIResponse

    Parameter

    International Mobile Subscriber Identity (IMSI)

  • 8/6/2019 At Conmand

    20/31

    AT Command Set Reference Manual

    17.08.99 page 20 of 31

    AT+CACM Accumulated call meterTest command

    AT+CACM=?Response

    OKRead command

    AT+CACM?

    Response

    +CACM: OK/ERROR/+CME ERRORParameter

    Accumulated call meter in hexadecimal format, measuredin home units; coding analogous to ACMmax on the SIM

    Write command

    AT+CACM=[]

    Response

    OK/ERROR/+CME ERROR

    Parameter

    String type; usually PIN2

    AT+CAMM Accumulated call meter maximumTest command

    AT+CAMM=?Response

    OKRead command

    AT+CAMM?Response

    +CAMM: OK/ERROR/+CME ERRORParameter

    Accumulated call meter maximum in hexadecimalformat, measured in home units; coding analogous toACMmax on the SIM

    Write command

    AT+CAMM=[[,]]

    Response

    OK/ERROR/+CME ERROR

    Parameter

    (see Read command) String type; usually PIN2

  • 8/6/2019 At Conmand

    21/31

    AT Command Set Reference Manual

    17.08.99 page 21 of 31

    AT+CLCC List Current CallsTest command

    AT+CLCC=?Response

    OKExecute command

    AT+CLCC

    Response

    [+CLCC: ,,,,,,][+CLCC: ,,,,,,[...]]]

    OK/ERROR/+CME ERRORParameter

    : integ er type ; ca ll identific a tion numb er as desc ribed in G SM 02.30

    [19] subc lause 4.5.5.1; this number c an b e used in +CHLD command

    operations

    :

    0 m ob ile orig ina te d (MO) c a ll1 m ob ile te rm ina te d (M T) c a ll

    (sta te of the c a ll):

    0 ac tive1 held2 d ia ling (MO c all)3 a lerting (MO ca ll)4 inc oming (MT c all)5 wa iting (MT c all)

    (bearer/teleservice):

    0 voic e1 data

    2 fax3 vo ic e fo llo we d by d a ta , vo ic e mo de4 a lte rna ting vo ic e / d a ta , vo ic e mo d e5 a lte rna ting vo ic e / fa x, vo ic e m od e6 vo ic e fo llo we d b y d a ta , d a ta mo de7 a lte rna ting vo ic e/ d a ta , d a ta m od e8 a lte rna ting vo ic e / fa x, fa x m od e9 unknown

    :

    0 cal l is not one of mult iparty (conference) cal l part ies1 cal l is one of mult iparty (conference) cal l part ies

    : string type p hone numb er in format spec ified b y

    : type of a dd ress oc tet in integ er forma t

  • 8/6/2019 At Conmand

    22/31

    AT Command Set Reference Manual

    17.08.99 page 22 of 31

    AT+CCLK Cloc kTest command

    AT+CCLK=?Response

    OKWrite command

    AT+CCLK=

    Response

    OK/ERROR/+CME ERROR

    Parameter:

    see Test commnd

    AT+COPN Read operator namesTest command

    AT+COPN=?Response

    OKExecute command

    AT+COPNResponse

    +COPN:numeric ,long alphanumeric +COPN:.....

    OK/ERROR/+CME ERRORParameter Network operator in numeric and alphanumeric notation

  • 8/6/2019 At Conmand

    23/31

  • 8/6/2019 At Conmand

    24/31

  • 8/6/2019 At Conmand

    25/31

    AT Command Set Reference Manual

    17.08.99 page 25 of 31

    AT+CSCA Address of the SMS service centerTest command

    AT+CSCA=?ResponseOK

    Read command

    AT+CSCA? Response+CSCA: ,Parameter Service-center address in string format Service-center address format

    Write command

    AT+CSCA=[,]

    Parameter Service-center address in string format Service-center address format

    ResponseOK/ERROR

    AT+CNMI Display new incoming SMSRevision according to GSM 07.05 Version 4.7.0

    Test command

    AT+CNMI=?Response+CNMI: (list of supported s),(list of supported s),(list ofsupported s),(list of supported s),(list of supporteds)Parameter 0 Buffers unexpected messages (but is equiva-

    lent to rejecting; see )2 Buffers unexpected messages if serial interface

    is occupied, otherwise they are output

    0 Suppresses unexpected messages forincoming short messages

    1 Unexpected messages of a received shortmessage (SMS-DELIVER) that is storedon a chip card are output in the form+CMTI: ,

    2 Unexpected messages of a received shortmessage (SMS-DELIVER) (except class 2 andthe message Waiting Indication Group: storemessage) are output in the form+CMT: [],( is not supported)Class 2 and the message Waiting IndicationGroup: store message are output as =1

    3 Unexpected messages of a received shortmessage (SMS-DELIVER) class 3 are outputas =2. Messages with other data coding

    schemes are output as =1.(NOTE: =2 and =3 are not possible unless the Phase 2+

    compatibility has been activated by means of +CSMS=1)

  • 8/6/2019 At Conmand

    26/31

    AT Command Set Reference Manual

    17.08.99 page 26 of 31

    0 Suppresses unexpected messages forincoming cell broadcast messages

    2 Outputs unexpected messages for cell

    broadcast messages in the form+CBM:

    0 Suppresses unexpected messages forincoming SMS status reports

    2 Outputs unexpected messages for SMS statusreports in the form+CDS:

    1 Buffered unexpected messages are rejected

    when switching from 0 to 2.

    See +CPMS Index of the record on the chip card alphanumeric representation of the senderaddress Length of See +CMGL

    Read command

    AT+CNMI?Response+CNMI: ,,,,Parameter See Test command See Test command See Test command See Test command See Test command

    Write command

    AT+CNMI=[[,[,[,[,]]]]]

    Parameter See Test command See Test command See Test command See Test command

    See Test commandResponseOK/ERROR/+CMS ERROR

    Unexpected message+CMTI: , Indication that new message

    has arrived+CMT: , Direct output of the short

    message+CDS: Direct output of the status

    report+CBM: Direct output of the cell

    broadcast message

  • 8/6/2019 At Conmand

    27/31

    AT Command Set Reference Manual

    17.08.99 page 27 of 31

    AT+CNMAAcknowledgment of a short message directly output (without storingon the chip card)Revision according to GSM 07.05 Version 5.0.0(NOTE: This command is not possible unless the Phase 2+compatibility has been activated by means of +CSMS=1)

    Test command

    AT+CNMA=?Response+CNMA: (list of supported s)Parameter 0 Mode of functioning analogous to GSM 07.05 textmode

    Write command

    AT+CNMA[=]

    Parameter See Test command

    Response

    OK/ERROR/+CMS ERROR:

    AT+CMGL List SMSRevision according to GSM 07.05 Version 4.7.0

    Test command

    AT+CMGL=?Response+CMGL: (list of supported s)Parameter

    0 REC UNREAD: received unread messages (default)

    1 REC READ: received read messages2 STO UNSENT: stored unsent messages3 STO SENT: stored sent messages4 ALL: all messages

    Write command

    AT+CMGL[=]

    Parameter See Test command

    ResponseIf PDU mode (+CMGF=0) and command are successful:+CMGL: ,,[],[+CMGL:

    ,,[alpha],[...]]

    The PDU begins with the service-center address(according to GSM04.11), followed by the TPDU according toGSM03.40 in hexadecimal formatotherwise:+CMS ERROR:

  • 8/6/2019 At Conmand

    28/31

    AT Command Set Reference Manual

    17.08.99 page 28 of 31

    AT+CMGR Read in an SMSRevision according to GSM 07.05 Version 4.7.0

    Test command

    AT+CMGR=?

    Response

    OKWrite command

    AT+CMGR=

    Parameter

    Index of message in selected memory

    Response

    If PDU mode (+CMGF=0) and command are successful:+CMGR: ,[], Siehe AT+CMGLotherwise:+CMS ERROR:

    AT+CMGS Send an SMSTest command

    AT+CMGS=?Response

    OKWrite command

    If PDU mode (+CMGF=0)+CMGS=PDU is given

    Parameter

    Length of PDU See AT+CMGL Message reference

    Response

    If sending is successful:+CMGS: If sending is not successful:+CMS ERROR:

    AT+CMSS Send an SMS from the SMS memoryTest command

    AT+CMSS=?Response

    OKWrite command

    +CMSS=[,[,]]Parameter

    Index of message in selectedmemory

    Destination address in stringformat

    Format of destinationaddress

    Message referenceResponse

    If sending is successful:+CMSS: If sending is not successful:+CMS ERROR:

  • 8/6/2019 At Conmand

    29/31

    AT Command Set Reference Manual

    17.08.99 page 29 of 31

    AT+CMGW Write an SMS to the SMS memoryTest command

    AT+CMGW=?Response

    OKWrite command

    If PDU mode (+CMGF=0)AT+CMGW=[,]PDUis given

    Parameter

    Length of PDU See command +CMGL See AT+CMGL Index of message in selected

    memory

    Response

    +CMGW: +CMS ERROR:

    AT+CMGD Delete an SMS in the SMS memoryTest command

    At+CMGD=?

    Response

    OKWrite command

    AT+CMGD=

    Parameter

    Index of message in the selected memory

    Response

    OK/ERROR/+CMS ERROR

    AT+CSCB Select cell broadcast messagesTest command

    AT+CSCB=?Response

    +CSCB: (list of supported s)Parameter

    0 Accepts messages that are defined in and

    1 Does not accept messages that are defined in andRead command

    AT+CSCB?Response

    +CSCB: ,,

    Parameter

    See Test command String type; combinations of CBM message Ids String type; combinations of CBM data coding schemes

    Write command

    AT+CSCB=[[,[,]]]

    AT+CMGC Send an SMS commandTest command

    AT+CMGC=?Response

    OKWrite command

    If PDU mode (+CMGF=0)+CMGC=PDU is given

    Parameter

    Length of PDU See AT+CMGL Message reference

    Response

    If sending is successful:+CMGC: If sending is not successful:

    +CMS ERROR:

  • 8/6/2019 At Conmand

    30/31

  • 8/6/2019 At Conmand

    31/31