At Commands

download At Commands

of 66

Transcript of At Commands

  • Nokia PremiCell DataList of AT Commands

    NOKIA is a registered trademark o2000 Nokia Mobile Phones. All ri

    Nokia Mobile Phones operates a pTherefore we reserve the right to mto any of the products described inNokia Mobile Phones is not responor any consequential damage how

    9351671

    Issue 4f Nokia Corporation, Finland.ghts reserved.

    olicy of continuous improvement.ake changes and improvements this guide without prior notice.sible for any loss of data, incomesoever caused.

  • Table of Contents1. Introduction ............................................................................................. 61.1 Command Syntax ....................................................................................................61.2 Syntax of AT+ Commands ....................................................................................71.3 Help on AT Commands...........................................................................................71.4. Most common AT-commands.............................................................................7AT? Command Help (Page 30) ....................................................................................7ATA Answer Command (Page 7) ...............................................................................7ATD Dial Command (Page 7) ......................................................................................7ATEn Command Echo (Page 20) .................................................................................8ATHn Hang-Up (Page 9) ...............................................................................................8ATO Go On-Line (Page 9) ............................................................................................8ATS Select an S-Register (Page 11) .........................................................................8ATV Define Response Format (Page 20)...................................................................8AT&F Restore Factory Settings (Page 12)...............................................................8AT&V View Active Configuration (PageA/ Re-execute Command Line (Page 3+++ Escape Sequence (On-Line Comm2. Descriptions of AT Commands.......2.1. Call Control ..........................................ATA Answer Command ............................ATD Dial Command...................................Examples:......................................................ATH Hang Up Call......................................ATL Monitor Speaker Volume ................ATM Monitor Speaker Mode ..................ATO Go On-Line........................................ATP Set Pulse Dial as Default.................ATT Set Tone Dial as Default..................AT+CHUP Hang Up Call ...........................AT+CRC Cellular Result Codes...............AT+CSTA Select Type of Address ..........2.2. Data adapter Control Commands ..ATI Identification.......................................ATS Select an S-Register.........................ATZ Recall Stored Profile.........................AT&F Restore Factory Settings..............AT&V View Active Configuration.......... 12)...........................................................80)................................................................9and Mode)...............................................9....................................................... 10................................................................. 10................................................................. 10................................................................. 10................................................................. 11................................................................. 12................................................................. 12................................................................. 12................................................................. 12................................................................. 13................................................................. 13................................................................. 13................................................................. 13................................................................. 14................................................................. 14................................................................. 14................................................................. 15................................................................. 15................................................................. 15................................................................. 15

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT&W Store Parameters In Given Profile.............................................................16AT&Y Select Set As A Powerup Option.................................................................16AT+GCAP Request Complete Capabilities List ....................................................16AT+GMI Request Manufacturer Identification...................................................16AT+GMM Request Model Identification ..............................................................16AT+GMR Request Revision Identification............................................................17AT+GSN Request Product Serial Number Identification .................................172.3. Terminal Control Commands ............................................................................17AT+CGMI Request Manufacturer Identification ................................................17AT+CGMM Request Model Identification............................................................17AT+CGMR Request Revision Identification .........................................................17AT+CGSN Request Product Serial Number Identification...............................17AT+CMEE Report Terminal Error.............................................................................18AT+CPAS Terminal Activity Status........................................................................18AT+CPBF Find Phone Book Entries.........................................................................19AT+CPBR Read Phone Book Entry ..........................................................................20AT+CPBS Select Phone Book Memory AT+CPBW Write Phone Book Entry .....AT+CSCS Select TE Character Set ........AT+CSQ Signal Quality............................2.4. Computer Data Adapter Interface ATE Command Echo .................................ATQ Result Code Suppression................ATV Define Response Format.................ATX Response Range Selection .............AT&C Define DCD Usage........................AT&D Define DTR Usage..........................AT&K Select Flow Control ......................AT&Q Define Communications Mode AT&S Define DSR Option ........................AT+ICF DTE-DCE Character Framing ....AT+IFC DTE-DCE Local Flow Control ....AT+IPR Fixed DTE Rate ............................2.5. Reporting Options Commands .......AT+CLIP Calling Line Identification PrAT+COLP Connected Line IdentificatioAT+CR Service Reporting Control ........AT+DR Data Compression Reporting...3

    Storage ..................................................21..................................................................21..................................................................23..................................................................24Commands ............................................24..................................................................24..................................................................24..................................................................25..................................................................25..................................................................25..................................................................25..................................................................26Option .....................................................26..................................................................26..................................................................27..................................................................28..................................................................28..................................................................29esentation..............................................29n Presentation .....................................30..................................................................31..................................................................32

  • 4AT+ILRR DTE-DCE Local Rate Reporting............................................................... 322.6. Network Communication Parameter Commands....................................... 33ATB Communications Standard Option ............................................................... 33AT+CBST Select Bearer Service Type .................................................................... 33AT+CEER Extended Error Report ............................................................................ 35AT+CRLP Radio Link Protocol ................................................................................. 352.7. Miscellaneous Commands ................................................................................ 36A/ Re-Execute Command Line................................................................................ 36AT? Command Help ................................................................................................... 36AT*C Start SMS Interpreter ..................................................................................... 36AT*T Enter SMS Block Mode Protocol .................................................................. 38AT*V Activate V.25bis Mode.................................................................................... 39AT*NOKIATEST Test Command................................................................................ 39AT+CESP Enter SMS Block Mode Protocol ......................................................... 392.8. SMS Commands Used in Text and PDU Modes........................................... 39AT+CSMS Select Message Service ........................................................................ 39AT+CPMS Preferred Message StorageAT+CMGF Message Format ....................AT+CSCA Service Centre Address .........AT+CSMP Set Text Mode Parameters .AT+CSDH Show Text Mode ParameterAT+CSCB Select Cell Broadcast MessaAT+CSAS Save Settings ...........................AT+CRES Restore Settings......................AT+CNMI New Message Indications toAT+CMGL List Messages .........................AT+CMGR Read Message........................AT+CMGS Send Message........................AT+CMSS Send Message from StorageAT+CMGW Write Message to MemoryAT+CMGD Delete Message.....................2.9. SMS Commands Used Only in PDUAT+CMGL List Messages...........................AT+CMGR Read Message........................AT+CMGS Send Message........................AT+CMGW Write Message to Memory2000 Nokia Mobile Phones. All Rights Reserved.

    ................................................................. 40

    ................................................................. 41

    ................................................................. 41

    ................................................................. 42s............................................................... 42ge Types................................................ 43................................................................. 44................................................................. 44 DTE....................................................... 45

    ................................................................. 47

    ................................................................. 48

    ................................................................. 49............................................................... 50................................................................ 51................................................................. 52 Mode.................................................... 52................................................................. 52................................................................. 53................................................................. 53................................................................ 54

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    3. S-Registers..............................................................................................554. Special Responses in AT Command Mode ............................................594.1 +CME ERROR Mobile Equipment Error Result Code..................................594.2 +CMS ERROR Message Service Failure Result Code .................................604.3 +CRING Extended Format Incoming Call Indication .................................614.4 RING Incoming Call Indication ........................................................................624.5 +CMTI Received Message Indication .............................................................624.6 +CMT Received Message Routing...................................................................624.7 +CDS Received Status Report Routing..........................................................634.8 +CMT Received Message Routing...................................................................644.9 +CDS Received Status Report Routing..........................................................645. Abbreviations..........................................................................................665

  • 61. IntroductionComputers use AT commands to communicate with modems, i.e. you can use the commands described in this booklet to use data connections via your PremiCell terminal. Most communications ap-plications, however, have a user-friendly interface that hides these AT commands from the user.

    The AT commands supported by the data adapter are listed below according to their uses. A short description, the syntax, the possible setting values and responses of the AT commands are presented. Note that the AT or at prefix must be included at the beginning of each command line. You may type several AT commands on the same line, and in such cases you need to type the AT or at prefix only at the beginning of the command line. Soported by all Nokia products. Giving a command whichresponse, and if the extended errorwith the AT+CMEE command, the the command is not supported with thrameters may not be supported bythose parameters are just ignored sponses.

    1.1 Command SyntaxThe letter used in a command sas a part of the command. If the valubrackets. Setting values for the comthe description of the command. Whan AT command, the setting is valid ality of a particular command form isyntax, and after that follows the covalues are marked with bold.2000 Nokia Mobile Phones. All Rights Reserved.

    me AT commands are not sup-

    is not supported causes an error report feature has been enabled error response also reports that

    e product used. Also, some pa- all products, and in this case in commands or left blank in re-

    yntax is the setting value typed in e is optional it is enclosed in square mands are presented below under en you select a setting value with until you change it. The function-s described on the right side of the mmand response. Note: Default

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    1.2 Syntax of AT+ CommandsWhen you want to set or display a value for a setting, or you want to know the valid values, type in AT+ the command string followed by =n, ?, or =?, and press .

    1) AT+__=n To write in a new setting with the command.2) AT+__? Displays the current setting for the command.3) AT+__=? Displays all setting values that can be used with the com-mand.

    1.3 Help on AT CommandsTo get general Help on the AT commands supported by the terminal, use the commands AT? or AT?0. To get Help on a functional group of AT commands type: AT?n (n= the number of the group). You issue AT commands to the data adapter via your communications applica-tion. When the data adapter receiva message that is displayed on you

    1.4. Most common AT-commThis section introduces the most coa brief description. You can find mcommand on the page indicated in

    AT? Command Help (Page 30)Displays a list of available AT comcommand must stand alone on the

    ATA Answer Command (Page 7)Answers an incoming call. If therecall is switched to data/fax receiviplication you are using).

    ATD Dial Command (Page 7)Initiates a call. When a data call iscontain the recipients number or the stored number.7

    es a command, it responds with r computer screen.

    andsmmonly used AT commands with ore detailed information on the the description.

    mands and Help in English. This command line.

    is already a voice call active, the ng mode (depending on the ap-

    initiated, the command has to a directory entry which contains

  • 8ATEn Command Echo (Page 20)Determines whether or not characters are echoed in the command mode.

    n = 0 / n not present echoing disabled

    n = 1 echoing enabled

    ATHn Hang-Up (Page 9)Hangs up the call.

    n = 0 / n not present clears the call

    ATO Go On-Line (Page 9)Returns data adapter to on-line mode, after a connection has been established and the escape sequence (+++) has been issued.

    ATS Select an S-Register (Page ATSr? Display

    ATSr=n Sets th

    ATV Define Response Format (PaDetermines whether result codes aalphanumeric form.

    ATV[0] Numer

    ATV1 Textua

    AT&F Restore Factory Settings Restores all factory settings includnot save them.

    AT&V View Active ConfiguratioDisplays the current S-register set2000 Nokia Mobile Phones. All Rights Reserved.

    11)s the value of S-register r.

    e value of S-register r.

    ge 20)re transmitted in numeric or

    ic responses (short form)

    l responses (long form)

    (Page 12)ing S-register settings but does

    n (Page 12)tings.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    A/ Re-execute Command Line (Page 30)Re-executes the command preceding this request. If this was the first request, then an OK status will be returned.

    +++ Escape Sequence (On-Line Command Mode) Returns the data adapter to command mode after a connection has been established, without breaking the connection. The data adapt-er must be in command mode to accept AT Commands.9

  • 10

    2. Descriptions of AT Commands

    2.1. Call Control

    ATA Answer CommandThis command answers an incoming call. The call is indicated by the RING or +CRING message on the terminal equipment or by the number 2 if numeric mode has been selected. Syntax:

    ATA Answer incoming call.

    ATD Dial CommandThis command initiates a call. When a call is initiated, the command must contain the called party's number or a directory entry which contains the stored number. The ATsending DTMF tones and for switchwhen an alternating call is active. reach a number and fails to establiswill be delayed, i.e. successive attewill be rejected for a short period LAYED will be displayed. The delayonds initially; however,

    if you continue to try to get the cabe prolonged for a few minutes. Fiincluded on a list of so-called blacBLACKLISTED will be seen on the saccept any new attempts to that non the phone keypad. This user actlist and enables you to call the numlisting numbers is to conserve the es. Syntax:

    A semicolon character needs to beinated.

    ATD[[;]] Dials th2000 Nokia Mobile Phones. All Rights Reserved.

    D command can also be used for ing call mode from voice to data When the data adapter tries to h a connection, further attempts mpts to dial the same number of time, and the response DE- period only lasts for a few sec-

    ll through and fail, the delay will nally, the called number will be klisted numbers. The response creen. The data adapter will not umber before you press any key ion erases the number from the ber again. The purpose of black-

    network's resourc-

    added when a voice call is orig-

    e number in a dial-string.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    ATD> SIM [;] Dials a stored number from a SIM card location .

    ATD> [;] Dials a stored number from a SIM card memory location .

    ATDL Redials the last number that has been dialled during the current session.

    The following special characters in dial-string are valid (dial modi-fiers):

    Character Effect

    + Automatically adds the international dialling

    code before the number. Place this modifier

    before

    , A pauspause

    is specIn the

    voice cmodifier

    are sen

    T, P, !, W These dThey have breasons.

    Examples:ATD+3583123456 Make a

    numbeautom

    access code.11

    the dialling string.

    e in dialling. The duration of the

    ified by the S-register number 8.

    all mode, numbers after the

    t as DTMF tones.

    ial modifiers have no effect.

    een included for compatibility

    n international data call to ther 3583123456. The data adapteratically adds the international

  • 12

    ATD> SIM2 Make a data call to the number stored in the

    SIM card memory location 2.

    ATH Hang Up CallThis command normally hangs up the call. If the alternating call data mode is currently active, ATH does not hang up the call but call mode is switched from data to voice. If you want to disconnect the alternating call, you must use the AT+CHUP command in-stead. Syntax:

    ATH[] Hang up call.

    ATL Monitor Speaker VolumeThis command has no effect on thcompatibility rea-sons.

    ATL[]

    ATM Monitor Speaker ModeThis command has no effect on thcompatibility rea-sons.

    ATM[]

    ATO Go On-LineThis command is used when you hremote device and have escaped (wcommand mode. Give the commancommand mode to normal on-linetion.

    ATO[] Go to on-line state. Re2000 Nokia Mobile Phones. All Rights Reserved.

    e data adapter. It is included for

    Syntax:

    e data adapter. It is included for

    Syntax:

    ave made a connection with the ith the +++ command) to the

    d to return from the (on-line) opera- Syntax:

    sponse is CONNECT [].

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    ATP Set Pulse Dial as DefaultThis command has no effect on the data adapter. It is included for compatibility rea-sons. Syntax: ATP

    ATT Set Tone Dial as DefaultThis command has no effect on the data adapter. It is included for compatibility rea-sons. Syntax: ATT

    AT+CHUP Hang Up CallThis command hangs up the call, also when an alternating mode call is ac-tive. Syntax:

    AT+CHUP Hang up call. Response

    AT+CRC Cellular Result CodesThis command controls whether oring call indication is used. When ecated to the DTE with the result[rinstead of the normal RING. Syntax:

    AT+CRC=[] Set inc

    AT+CRC? Query +CRC:.

    AT+CRC=? Show s+CRC:

    Values for :

    0 Disabletion.

    1 Enable13

    is NO CARRIER.

    not the extended format incom-nabled, an incoming call is indi-esulting?] code +CRING:

    oming call indication mode.

    current setting. Response is

    upported modes. Response is (list of supported s).

    extended format call indica-

    extended format call indication.

  • 14

    AT+CSTA Select Type of AddressThis command selects the type of number for further dialling com-mands (ATD). Syntax:

    AT+CSTA=[] Set number type.

    AT+CSTA? Query current setting. Response is +CSTA:

    AT+CSTA=? Show supported types. Response is +CSTA: (list of sup-ported s)

    Values for :

    129 normal

    145 international access code character + is automatically added

    2.2. Data adapter Control Co

    ATI IdentificationThis command displays informatioer. Syntax:

    ATI0 Displays the (IDS39 in

    decimal format

    ATI1 Displays the se

    ATI2/ATI3 Displays the re

    ATI9 Displays the Pl2000 Nokia Mobile Phones. All Rights Reserved.

    mmands

    n about the data adapt-

    ) number stored in S-register

    .

    rial number of the terminal .

    vision of the data adapter.

    ug and Play COM device field.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    ATS Select an S-RegisterThis command manipulates the S-registers of the data adapter. The S-registers contain various user alterable parameters. See the sec-tion S-registers below for information on the contents of the registers. If the S-register number is omitted, the operation will affect register number 0, i.e. ATS is the same as ATS0. If the is omitted or is incorrect, the ERROR result code will be dis-played. Syntax:

    ATS []? Displays the value of the S-reg-ister.

    ATS[]= Assigns to the S-regis-ter.

    ATZ Recall Stored ProfileThis command restores the parameby recalling the respective S-Regis

    Syntax:

    ATZ[0] Recall stored p

    ATZ1 Recall stored p

    AT&F Restore Factory SettingsThe command restores all the factRegister settings but does not save Syntax:

    AT&F Restore factory

    AT&V View Active ConfiguratioThis command displays the currenother set-tings. Syntax:

    AT&V View active co15

    ter values of one of the user sets ter settings from the memory.

    rofile 0.

    rofile 1.

    ory settings including all the S-them.

    settings.

    nt values of the S-registers and

    nfiguration.

  • 16

    AT&W Store Parameters In Given ProfileThis command stores the current S-register and other settings to one of two user pro-files. Syntax:

    AT&W[0] Store settings to user profile 0.

    AT&W1 Store settings to user profile 1.

    AT&Y Select Set As A Powerup OptionDefines which user profile (0 or 1) the parameters are loaded from when the data adapter is activat-ed. Syntax:

    AT&Y[0] Load parameters from set 0.

    AT&Y1 Load parameters from set 1.

    AT+GCAP Request Complete CaThis command causes the data adatended to permit the user to identdata adapter. Syntax:

    AT+GCAP Display data ad

    Response is +Gcellular comma

    AT+GMI Request ManufacturerThis command displays the data adtion. Syntax:

    AT+GMI Display manufacturer i

    AT+GMM Request Model IdentiThis command displays the termintion. Syntax:

    AT+GMM Display model identific2000 Nokia Mobile Phones. All Rights Reserved.

    pabilities Listpter to display information in-

    ify the overall capabilities of the

    apter capabilities.

    CAP: +CGSM which means that nds are supported.

    Identificationapter manufacturer identifica-

    dentification.

    ficational model identifica-

    ation.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+GMR Request Revision IdentificationThis command displays the terminal revision identifica-tion. Syntax:

    AT+GMR Display revision identification.

    AT+GSN Request Product Serial Number IdentificationThis command displays the terminal serial number. Syntax:

    AT+GSN Display serial number.

    2.3. Terminal Control Commands

    AT+CGMI Request Manufacturer IdentificationThis command displays phone mantion. Syntax:

    AT+CGMI Display manufacturer i

    AT+CGMM Request Model IdenThis command displays the termin

    Syntax:

    AT+CGMM Display model identific

    AT+CGMR Request Revision IdeThis command displays the termintion. Syntax:

    AT+CGMR Display revision identif

    AT+CGSN Request Product SeriThis command causes the terminalSyntax:

    AT+CGSN Display serial number.17

    ufacturer identifica-

    dentification.

    tificational model identification.

    ation.

    ntificational revision identifica-

    ication.

    al Number Identification to display its serial number.

  • 18

    AT+CMEE Report Terminal ErrorThis command disables or enables the use of the result code +CME ERROR: as an indication of an error relating to the function-ality of the terminal . When enabled, terminal related errors cause the +CME ERROR: result code instead of the regular ERROR result code. ERROR is returned normally when the error is related to syntax, invalid parameters, or data adapter functionali-ty. Syntax:

    AT+CMEE=[] Enable or disable terminal error result code.

    AT+CMEE? Query current setting. Response is +CMEE:.

    AT+CMEE=? Show supported modes. Response is +CMEE:

    (list of

    Values for :

    0 disable the res

    1 enable the resu

    2 enable the resu

    AT+CPAS Terminal Activity StaThis command returns the activityused to interrogate the terminal befSyntax:

    AT+CPAS Query terminal.

    AT+CPAS=? Show supporte+CPAS:

    (list of support

    Values for :

    0 ready (termina2000 Nokia Mobile Phones. All Rights Reserved.

    supported s).

    ult code and use ERROR instead

    lt code and use numeric values

    lt code and use verbose values

    tus status of the terminal. It can be ore requesting action from it.

    status. Response is +CPAS:

    d status values. Response is

    ed s).

    l allows commands from DTE)

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    1 unavailable (terminal does not allow commands from

    DTE)

    3 ringing (terminal allows commands from DTE and an

    incoming call is waiting to be answered)

    4 call in progress (terminal allows commands from DTE

    but a call is in progress)

    AT+CPBF Find Phone Book EntriesThis command returns phone book entries where the alphanumeric field starts with the search string . Entries are searched from the current phone book memory storage selected with the AT+CPBS command. The format used for string information is se-lected with the AT+CSCS com-mand.

    AT+CPBF= Find entry. Res

    dex>,,

    ,more

    than one entry

    AT+CPBF=? Show maximum

    Response is +C

    Parameters:

    phone book me

    phone number

    type of numbe145 for

    international

    access (numbe

    whole text fiel19

    Syntax:

    ponse is +CPBF:

  • 20

    maximum length of the field

    maximum length of the field

    AT+CPBR Read Phone Book EntryThis command returns phone book entries in a location number range ... from the current phone book memory storage selected with the AT+CPBS command. If is left out, only the location is returned. The format used for string information is selected with the AT+CSCS com-mand. Syntax:

    AT+CPBR=[,] Read phone book entry.Response is +CPBR: , , , and

    it isrepeated several times if more

    than

    AT+CPBR=? and

    sponse is

    dex>s),

    Parameters:

    phone

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    Example:

    AT+CPBR=20,22 Read SIM card memory locations 20 to 22.

    AT+CPBS Select Phone Book Memory StorageThis command selects phone book memory storage, which is used by the phone book write commands. See +CPBW command. This com-mand also affects the command AT+CPBF by setting the search to start from the memory storage selected by this com-mand. Syntax:

    AT+CPBS= Select phone book memory storage.

    AT+CPBS? Query current setting. Response is+CPBS:.

    AT+CPBS=? Show ssponse

    is +CP

    Values for :

    "SM" SIM's phone book

    Example:

    AT+CPBS="SM" Select active pcard

    memory.

    AT+CPBW Write Phone Book EnThis command writes a phone boodex> in the current phone book mAT+CPBS command. The format uslected with the AT+CSCS com-mand.

    AT+CPBW=,,

  • 22

    AT+CPBW=,,, Write phone book entry to

    first free location.

    AT+CPBW= Delete phone book en-try.

    AT+CPBW=? Show list of supported indexes and

    maximum field lengths. Re-sponse is

    +CPBW: (list of supporteds),

    , .

    Parameters:

    phone book memory location number

    tional

    Example:

    AT+CPBS=" SM" ory to2000 Nokia Mobile Phones. All Rights Reserved.

    phone number

    type of number, 129 for normal (default) and 145 forinterna-

    access (+ character added tonumber)

    text field related to entry

    maximum length of the field

    maximum length of the field

    Select active phone book mem-

    be the SIMs memory.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+CPBW=24,"285111",,"Mr Smith" Store number 285111 in the terminal's memory location 24

    with the name Mr Smith.

    AT+CSCS Select TE Character SetThis command informs the data adapter as to which character set is used by the DTE. The data adapter is then able to convert character strings correctly between DTE and mobile equipment character sets. This setting affects text mode SMS data and alpha fields in the phone book memory. Syntax:

    AT+CSCS=[] Select character set.

    AT+CSCS? Query current setting.

    Response is +CSCS: .

    AT+CSCS=? Show s

    Respons).

    efault alphabet; this setting eas-

    software

    ntrol (XON/XOFF) problems

    ter strings consist only of hexa-

    rs from 00 to FF; e.g. "032FE6"

    haracters

    e decimal values 3, 47 and 230

    tional reference alphabet (ITU-T

    racter set Code Page 437

    ish/Norwegian character set

    59 Latin 1 character set

  • 24

    AT+CSQ Signal QualityThis command returns the received signal strength indication . Bit error rate indication is not support-ed. Syntax:

    AT+CSQ Query signal strength.

    Response is +CSQ: , 99.

    AT+CSQ=? Show supported values.

    Response is +CSQ: (list of supported s), 99.

    Values for :

    0 -113dBm or less

    1 -111 -112dBm

    2...30 -109...-53 dBm

    31 -51 dBm or greater

    99 not known or not detec

    2.4. Computer Data Adapter

    ATE Command EchoThis command determines whetheceived from the DTE are echoed in thSyntax:

    ATE[0] Disable echoin

    ATE1 Enable echoing

    ATQ Result Code SuppressionThis command determines whetheDTE. Syntax:

    ATQ[0] Enable sending

    ATQ1 Disable sending2000 Nokia Mobile Phones. All Rights Reserved.

    table

    Interface Commands

    r or not characters that are re-e command mode.

    g.

    .

    r or not responses are sent to the

    of responses to DTE.

    of responses to DTE.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    ATV Define Response FormatThis command determines whether result codes are transmitted in a numeric form or an alphabetic (or verbose) form. Syntax:

    ATV[0] Select numeric (short form) responses.

    ATV1 Select textual (long) responses.

    ATX Response Range SelectionThis command selectively enables or disables the response codes sent to the DTE. Syntax:

    ATX[0] Enable response codes 0... 4.

    ATX1 Enable response codes 0... 5, 10.

    ATX2 Enable respons

    ATX3 Enable respons

    ATX4 Enable respons

    ATX5 Enable all resp

    AT&C Define DCD UsageThis command determines how thelates to the detection on the receienSyntax:

    AT&C[0] Keep DCD alwAT&C1 Enable normal

    *This is "always ON" with 09i/18i Ped for compatibility purposes.

    AT&D Define DTR UsageThis command defines how the DTRdled. Syntax:

    AT&D[0] DTR is ignored

    hangs up the t25

    e codes 0... 5, 10.

    e codes 0... 5, 7, 10.

    e codes 0... 5, 7, 8, 10.

    onse codes.

    state of the DCD V.24 signal re-ved line signal from the distant

    ays ON. DCD usage*

    remiCell. The command is includ-

    V.24 signal from the DTE is han-

    if AT&Q0 is selected. DTR ON-OFF

    erminal if AT&Q2 is selected.

  • 26

    AT&D1 DTR ON-OFF causes a transition to the on-line command state.

    AT&D2 DTR ON-OFF hangs up the phone.

    AT&D3 DTR ON-OFF hangs up the phone and resets the data

    parameters to the start-upvalues.

    AT&K Select Flow ControlThis command selects the local flow control mode. Using this com-mand is not recommended, instead use the AT+IFC com-mand. Syntax:

    AT&K[0] Disable flow control.

    AT&K3 Set hardware flow control (CTS/RTS).

    AT&K4 Set software fl

    AT&Q Define Communications MThis command defines the diallingtions. Syntax:

    AT&Q[0] Enable normal

    AT&Q2 Enable DTR cones a

    call to be madeslot

    one (1).

    DTR ON to OFF hangs up the p

    AT&S Define DSR OptionThis command defines how the DSdled. Syntax:

    AT&S[0] Keep DSR alwa

    AT&S1 Enable normal

    *This is "always ON" with 09i/18i Ped for compatibility purposes.2000 Nokia Mobile Phones. All Rights Reserved.

    ow control (XON/XOFF).

    ode Option and on-line op-

    asynchronous operation.

    trolled dial. DTR OFF to ON caus-

    to the number stored in the dial

    hone.

    R V.24 signal is han-

    ys ON.

    DSR usage*

    remiCell. The command is includ-

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+ICF DTE-DCE Character FramingThis command is used to determine the character framing that the data adapter uses while accepting commands and while transmit-ting information text and a result code to/from a DTE.

    Note: The terminal does not support autobauding. Therefore, after changing character framing settings of the data adapter and your communications application, close and restart the communications application. For repeated use of these settings you should issue the AT-commands AT&W and AT&Y.

    Syntax:

    AT+ICF=[[,]] Set character framing.

    AT+ICF? Query current setting.

    Respon

    AT+ICF=? Show v

    ResponParameters:

    3 8 data, no parity, 1 st

    4 7 data, no parity, 2 sto

    5 7 data, parity, 1 stop

    6 7 data, no parity, 1 sto

    0 odd

    1 even

    4 none27

    se is +ICF:,.

    alid range of parameters.

    se is +ICF:(1-6), (0,1,4).

    op

    p

    p

  • 28

    AT+IFC DTE-DCE Local Flow ControlThis command is used to control the operation of local flow control between the DTE and the data adapter. specifies the flow control used by DTE to control the flow of received data from the data adapter. specifies the flow control used by a data adapter to control the flow of transmitted data from the DTE. Syntax:

    AT+IFC=, Set flow control.

    AT+IFC? Query current setting.

    Response is

    +IFC:.

    AT+IFC=? Show valid range of parame-ters.

    Parameters:

    0 no flow control

    1 XON/XOFF (software) fl

    2 CTS/RTS (hardware) fl

    3 both XON/XOFF and CT

    0 no flow control

    1 XON/XOFF (software) fl

    2 CTS/RTS (hardware) fl

    AT+IPR Fixed DTE RateThis command specifies the data raaccept commands.

    Syntax:2000 Nokia Mobile Phones. All Rights Reserved.

    Response is +IFC:(0-3),(0-2).

    ow control

    ow control

    S/RTS flow control

    ow control

    ow control

    te at which the data adapter will

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+IPR= Set DTE rate.

    AT+IPR? Query current setting.

    Response is +IPR:.

    AT+IPR=? Show valid range of rate.

    Response is +IPR:(0, 300, 1200, 2400, 4800,9600,19200).

    Values for :

    300120024004800960019200

    2.5. Reporting Options Comm

    AT+CLIP Calling Line IdentificatThis command refers to the GSM sing Line Identification Presentationto obtain the calling line identity (ceiving a mobile terminated call. Wenable or disable the presentationeffect on the execution of the supnetwork.

    AT+CLIP=[] Set CLIP mode

    AT+CLIP? Query current

    Response is +C

    AT+CLIP=? Show supporte

    Response is +C

    Values for :29

    ands

    ion Presentationupplementary service CLIP (Call-) that enables a called subscriber CLI) of the calling party when re-ith this command, the user can

    of the CLI on the DTE. It has no plementary service CLIP in the Syntax:

    .

    setting.

    LIP:,2.

    d modes.

    LIP: (list of supported s).

  • 30

    0 disable CLIP

    1 enable CLIP

    CLIP information:

    When the presentation of the CLIP on the DTE is enabled (and the calling subscriber permits), the +CLIP:,[,,,] response is returned after every RING result code sent from the data adapter to the DTE (or +CRING).

    phone number

    type of number, 129 for normal and 145 for internation-al

    access (number contains + character)

    optional alphanumeric representation of a corresponding to the entry found in the data adapter

    phonebook

    AT+COLP Connected Line IdentiThis command refers to the GSM snected Line Identification Presentascriber to obtain the connected line identitysetting up a mobile originated callbles the presentation of the COL at tSyntax:

    AT+COLP=[] Set COLP mode

    AT+COLP? Query current +COLP:,2.

    AT+COLP=? Show supporte

    Response is +C

    Values for :

    0 disable COLP

    1 enable COLP2000 Nokia Mobile Phones. All Rights Reserved.

    fication Presentationupplementary service COLP (Con-tion) that enables a calling sub-

    (COL) of the called party after . The command enables or disa-he DTE.

    .

    setting. Response is

    d modes.

    OLP: (list of supported s).

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    COLP information:

    When the presentation of COLP on the DTE is enabled (and the called subscriber permits), the +COLP:,[,,,] response is returned before any +CR or V.25ter responses. Re-fer to AT+CLIP for descriptions of the response parameters.

    AT+CR Service Reporting ControlThis command controls whether or not the result code +CR: is returned from the data adapter to the computer. If enabled, the result code is transmitted at the point during the connect negotia-tion during which the data adapter has determined the speed and quality of service to be used, before any error control or data com-pression reports are transmitted, a(e.g. CONNECT) is transmitted.

    Syntax:

    AT+CR=[] Set service rep

    AT+CR? Query current .

    AT+CR=? Show supporte

    Parameters:

    0 disable reporti

    1 enable reportin

    ASYNC asynchronous

    REL ASYNC asynchronous n31

    nd before any final result code

    orting control mode.

    setting. Response is +CR:

    d values. Response is +CR: (0,1).

    ng

    g

    transparent

    on-transparent

  • 32

    AT+DR Data Compression ReportingThis command controls whether or not the +DR: result code is transmitted from the data adapter to the DTE. The result code shows the current data compression type. If enabled, the result code is transmitted at the point after error control negotiation (handshaking) during which the DCE has determined the data com-pression technique to be used (if any) and the direction of operation.

    Syntax:

    AT+DR= Set reporting mode.

    AT+DR? Query current setting. Response is NONE .

    AT+DR=? Show supported values. Response is +DR: (0,1)

    Parameters:

    0 data compress

    1 data compressi

    NONE data compressi

    V42B V.42bis in use i

    V42B RD V.42bis in use i

    V42B TD V.42bis in use i

    MNP5 MNP5 in use

    AT+ILRR DTE-DCE Local Rate ReThis command controls whether otion text is transmitted from to this transmitted after any modulatiosion reports are transmitted, and bCONNECT) is transmitted. The is applied after the final result tax:

    mode.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+ILRR? Query current setting. Response is +ILRR: .

    AT+ILRR=? Show supported values. Response is +ILRR: (0,1).

    Values for :

    0 local port rate reporting disabled

    1 local port rate reporting enabled

    2.6. Network Communication Parameter Commands

    ATB Communications Standard OptionThis command has no effect on the data adapter. It is included for compatibility rea-sons.

    ATB[]

    AT+CBST Select Bearer Service This command selects the bearer s , and the connection elemcalls are originated. The selected btion element are used both in mobnated data and alternate type of call

    Syntax:

    AT+CBST=[[,[,]]] Select bearer service type.

    Query current setting.

    Response is +CBST: ,, .

    Show supported values.

    Response is +CBST: (list of sup-

    s), (list

  • 34

    of supported s), (list of supported s).

    Parameters:

    0 autobauding (automatic selection of speed)

    1 300 bps (V.21)

    2 1200 bps (V.22)

    3 1200/75 bps (V.23)

    4 2400 bps (V.22bis)

    5 2400 bps (V.26ter)

    6 4800 bps (V.32)

    7 9600 bps (V.32)

    0 asynchronous modem

    2 PAD Access (asynchronous)

    0 transparent

    1 non-transparent

    2 both, transparent preferred

    3 both, non-transparent preferre2000 Nokia Mobile Phones. All Rights Reserved.

    d

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+CEER Extended Error ReportThis command causes the data adapter to return one or more lines of information text, which should offer the user of the data adapter an extended report of the reason for the failure in the last unsuc-cessful call setup (originating or answering). Typically, the text will consist of a single line containing the failure information given by the GSM network in a textual for-mat. Syntax:

    AT+CEER Display error report.

    Response is +CEER:.

    AT+CRLP Radio Link ProtocolThis command selects the Radio Link Protocol parameters.Syntax:

    AT+CRLP=[[,[,[,

    AT+CRLP?

    ,

    AT+CRLP=?

    255).

    Parameters:

    IWF to MS window size

    MS to IWF window size

    acknowledgement time

    retransmission attempt35

    ]]]] Set RLP parameters.

    Query current setting.

    Response is +CRLP:

    , , .

    Show valid values.

    Response is +CRLP: (0-61),(0-61),(39-255),(1-

    (default 61)

    (default 61)

    r T1 (default 60)

    s N2 (default 6)

  • 36

    2.7. Miscellaneous Commands

    A/ Re-Execute Command LineRe-executes the command preceding this re-quest. Syntax:

    A/ Re-execute previous command.

    AT? Command HelpReturns a list of available AT commands and Help in English. This command must be alone on the command line. Syntax:

    AT?[] Display AT command help screen.

    AT*C Start SMS InterpreterThis command activates the Shorter. Syntax:AT*C Activate SMS interpret

    Commands available in the SMS

    SEND

    STORE, STORE/SIM or

    DIR, DIR/SIM, DIR/NEW tive or

    SHOW sion

    SAVE

    the

    HELP 2000 Nokia Mobile Phones. All Rights Reserved.

    Message Service Interpret-

    er.

    Interpreter:

    Send a short message.

    Store a short message to active

    SIM memory.

    A short message stored in ac-

    SIM memory is displayed.

    Display current SMS transmis-

    parameters.

    Save current SMS transmission parameters in the memory of

    phone.

    Display list of available SMS commands.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    EXIT Exit the SMS interpreter.

    SCA= Change the service centre phone

    number through which your short

    messages are transmitted.

    VALIDITY= Defines the length of time that sent short messages await delivery at the Service

    Centre, if the receiver is inaccessible.

    may have following values:

    NONE Waiting time will be determined by net-work

    0..........143 (n + 1)

    144......167 12 hou

    168......196 (n -166

    197......255 (n -19

    REPLY_PATH=ON, REPLY_PATH=OThe recreceive

    pense, when t

    CONFIRMATION=ON, CONFIRMATSets th

    ery toon or o

    DATA_BITS=7, DATA_BITS=8 Sets th

    shortmessag

    can onlybe use37

    x 5 min

    rs+(n-143) x 30 min

    ) x 24 hours

    2) x 1 week

    FF ipient is allowed to reply to the d message at the senders ex-

    he reply path isset to on.

    ION=OFF e confirmation of message deliv-

    ff.

    e number of data bits used in a

    e transmission. DATA_BITS=8

    d when CLASSis not DEFAULT.

  • 38

    CLASS= Set message class. may have follow-

    ing values:

    DEFAULT sets the data coding scheme to a value according to Phase 1 GSM specifica-

    tions, number of bits is set to 7

    0 message should be displayed immedi-ately by

    the receiver as it is not stored automat-ically

    2 message should be stored in the SIM card

    memory

    PROTOCOL= Select ceiver

    of the tre of

    the netthe

    messagconnect

    ed to a

    may have following values: LT, TELEX, FAX_G3, FAX_G4,

    , TELE-TEX, UCI, X.400, TYPE0,

    , TYPE3, TYPE4, TYPE5, TYPE7.

    tocoler in the SMS Block mode. The fi-be returned until the SMS Block OK or ERROR is re-tax:

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT*T Activate SMS Block mode.

    AT*V Activate V.25bis ModeThis command activates the CCITT V.25bis command mode.

    Syntax:

    AT*V Activate V.25bis command mode

    AT*NOKIATEST Test CommandThis command can be used to test that the data adapter communi-cates with the terminal. Either the response OK or ERROR is re-turned. Syntax:

    AT*NOKIATEST Test connection to terminal.

    AT+CESP Enter SMS Block Mode ProtocolSets the data adapter in the SMS BOK (or 0) shall not be returned unted. Synta

    AT+CESP Activate SMS Block mo

    2.8. SMS Commands Used in

    AT+CSMS Select Message ServiThis commands selects the messagof messages supported. The suppo03.40 and 03.41 (service value 0). Syntax:

    AT+CSMS=0 Select message

    Response is +C

    AT+CSMS? Query current

    Response is +C

    AT+CSMS=? Show supporte

    Response is +C39

    lock mode. The final result code il block mode is exit-x:

    de.

    Text and PDU Modes

    ceing service and returns the type

    rted service is specified by GSM

    service.

    SMS: ,,.

    setting.

    SMS: 0,,,.

    d services.

    SMS: 0.

  • 40

    Parameters:

    mobile terminated messages supported (value 1) or not (value

    0)

    mobile originated messages supported (value 1) or not (value

    0)

    broadcast type messages supported (value 1) or not (val-ue 0)

    AT+CPMS Preferred Message StorageThis command selects memory storages to be used for reading/de-leting (m1), writing/sending (m2), and receiving (m3) short messag-es. Amount of used and available message locations in each memory is returned as re-sponse. Syntax:

    AT+CPMS=[[,[,]]

    AT+CPMS?

    ,

    ,

    AT+CPMS=?

    support-

    s).

    Parameters:2000 Nokia Mobile Phones. All Rights Reserved.

    ] Select preferred storage.

    Response is +CPMS: ,, , ,, .

    Current setting query.

    Response is +CPMS: ,

    , , ,

    , , .

    Show supported values.

    Response is +CPMS: (list of

    ed s), (list of supporteds), (list of supported

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    "SM" SIM message storage

    "SM" SIM message storage

    MT Any of the storages associated with the Terminal.

    AT+CMGF Message FormatThis command tells the data adapter which input and output format of messages to use with send, list, read and write com-mands. Syntax:

    AT+CMGF=[] Select message format.

    AT+CMGF? Query current setting.

    Respon

    AT+CMGF=? Show s

    Respons).

    ss centre address, through which are transmit- Syntax:

    vice centre address.

    t setting query.

    se is +CSCA: , .

    e centre address in string format

  • 42

    type of address, 129 for normal and 145 for

    international access (number contains +

    character)

    AT+CSMP Set Text Mode ParametersThis command is used to select values for additional parameters needed when short messages are sent, or stored. The parameters are only used in SMS text mode.

    Syntax:

    AT+CSMP=[[,[,[,]]]] Set parameter values.

    AT+CSMP? Current setting query.

    ,,,.

    Parameters:

    depending on the commSMS-DELIVER, SMS-SU

    TUS-REPORT in integer form

    depending on SMS-SUBeither in integer forma

    (default 167) or in time

    protocol identifier in in

    SMS Data Coding Sche

    AT+CSDH Show Text Mode ParaThis command controls whether dshown in text mode short message rSyntax:2000 Nokia Mobile Phones. All Rights Reserved.

    Response is +CSMP:

    and or result code: first octet ofBMIT (default 17), or SMS-STA-

    at

    MIT setting: validity period t

    -string format

    teger format (default 0)

    me (default 0)

    metersetailed header information is esult codes.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+CSDH=[] Enable or disable showing of detailed header

    information.

    AT+CSDH? Query current setting.

    Response is +CSDH: .

    AT+CSDH=? Show supported values.

    Response is +CSDH: (list of supporteds).

    Values for :

    0 do not show header values defined in com-mands

    +CSCA and +CSMP nor , in +CMT,

    +CMGL, +CMGmode

    1 show all the va

    AT+CSCB Select Cell Broadcast This command selects which types be received by the termi-nal.

    AT+CSCB=[[,[,]]] Select message types.

    Query current setting.

    SCB: , , .

    ues.

    SCB: (list of supported

  • 44

    0 message types specified in and are

    accepted

    1 message types specified in and are

    not accepted

    : all different possible combinations of message identifiers, example: "0,1,5,10-20,22"

    : all different possible combinations of data cod-ing

    schemes, example: "0-3,5"

    AT+CSAS Save SettingsThis command saves active messagtile memory. Saved values are not minal power up. tax:

    AT+CSAS[=] Save setting

    AT+CSAS=? Show valid values.

    Response is +CSAS: (list of suppor

    Values for :

    1 setting

    AT+CRES Restore SettingsThis command restores message sememo-ry. tax:

    AT+CRES[=] Restore

    AT+CRES=? Show v2000 Nokia Mobile Phones. All Rights Reserved.

    e service settings to a non-vola-automatically restored after ter-

    Syn-

    s.

    ted s).

    s are stored to terminal memory

    rvice settings from a non-volatile

    Syn-

    settings.

    alid values.

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    Response is +CRES: (list of supported s).

    Values for :

    1 settings are restored from terminal memory

    AT+CNMI New Message Indications to DTEThis command selects how the receiving of new messages from the network is indicated to the DTE. See section Special responses in AT command mode for detailed description of the syntax of indication responses. Syntax:

    AT+CNMI=[[,[,[,[,]]]]] Select indication procedure.

    AT+CNMI? Query

    Respons), (s), (s), (s),s).

    ations in data adapter

    when the DTE-DCE link is re-

    mode)

    ns in data adapter when the

    , (e.g. in on-line data mode), and

    E after reservation has ended

  • 46

    0 no received message indications are routed to the

    DTE

    1 indication of received message is routed to the DTE

    using a result code +CMTI

    2 received messages (except class 2 messages which

    result only in +CMTI indication) are routed di-rectly to

    the DTE using a result code +CMT

    3 class 3 received messages are routed directly to the

    DTE using a result code +CMT and messages of other

    classes using a

    0 no cell broadcaDTE

    2 new cell broadcto the

    DTE using a res

    0 no status repo

    1 status reports asult

    code +CDS

    0 data adapter bthe

    DTE when 1 or 2 is entered

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    1 data adapter buffer of indications is cleared when

    1 or 2 is entered

    AT+CMGL List MessagesThis command returns messages with a status value from a preferred message storage selected with the AT+CPMS command. This command form applies only to the SMS text mode, and the PDU mode form of the command is described in the next sec-tion. Syntax:

    AT+CMGL[=] List messages.

    Response is +CMGL: ,, ,,[][,, ]

    and itis repeated several times if more than one short message is list

    AT+CMGL=? Show valid val

    Response is +C

    Parameters:

    REC UNREAD received unrea

    REC READ received read m

    STO UNSENT stored unsent

    STO SENT stored sent me

    ALL all messages

    location numb

    origin or destin

    service centre

    type of origin onormal47

    ed.

    ues.

    MGL: (list of supported s).

    d messages (default)

    essages

    messages

    ssages

    er

    ation address

    time stamp

    r destination address, 129 for

  • 48

    and 145 for international access (number con-tains +

    character)

    length of field

    user data

    AT+CMGR Read MessageThis command returns a message with a location value from a preferred message storage selected with the AT+CPMS com-mand. This command form applies only to the SMS text mode, and the PDU mode form of the command is described in the next sec-tion. Syntax:

    AT+CMGR= Read message.

    Response for re,

    , , []

    r

    d message

    essage

    essage

    ssage

    ation address

    time stamp

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    type of origin or destination address, 129 for normal

    and 145 for international access (number con-tains +

    character)

    depending on the command or result code: first octet

    of SMS-DELIVER, SMS-SUBMIT (default 17), or SMS-STATUS-REPORT in integer format

    protocol identifier in integer format (default 0)

    SMS Data Coding Scheme (default 0)

    service centre address

    type of service centre address, 129 for normal and 145

    for internationcharacter)

    length of field

    MS-SUBMIT setting: valid-

    integer format (default 167) or

    mat

    the network. A message refer-e DTE on successful message de-y using the character. the ending of the message body. o SMS text mode, and the PDU cribed in the next sec- Syntax:

    text Send message.

  • 50

    Response is +CM-GS:.

    Parameters:

    receiver's number in string format

    type of destination address, 129 for normal and 145

    for international access (+ character automat-ically

    added to address)

    message reference number

    Example: AT+CMGS=1234567, 129

    Sends SMS message to number (12)34567

    AT+CMSS Send Message from SThis command sends a message wfrom a preferred message storage smand. If a new recipient address ]] Send message.

    Response is

    ber

    ress, 129 for normal and 145s (+ character automatically

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    AT+CMGW Write Message to MemoryThis command stores a message in a preferred memory storage se-lected with the AT+CPMS command. Memory location of a stored message is returned. By default, the message status will be set to " STO UNSENT ", but the parameter also allows other status values to be given. Entering of text is done similarly as spec-ified in the command AT+CMGS. This command form applies only to the SMS text mode, and the PDU mode form of the command is de-scribed in the next sec-tion. Syntax:

    AT+CMGW=[,[,]]text Store message.Response is +CMGW:.

    Parameters:

    origin or desti

    type of origin onormal

    and 145 for inttains +

    character)

    REC UNREAD received unrea

    REC READ received read m

    STO UNSENT stored unsent

    STO SENT stored sent me

    location numb51

    nation address in string format

    r destination address, 129 for

    ernational access (number con-

    d message

    essage

    message (default)

    ssage

    er

  • 52

    AT+CMGD Delete MessageThis command deletes a message from a preferred message storage selected with the AT+CPMS com-mand. Syntax:

    AT+CMGD= Delete message.

    Parameters:

    location number

    2.9. SMS Commands Used Only in PDU Mode

    AT+CMGL List MessagesThis command returns messages with a status value from a preferred message storage selectemand. Syntax:

    AT+CMGL[=] List medex>,

    it is

    repeateshort

    messag

    AT+CMGL=? Show v(list

    of supp

    Parameters:

    0 received unread messa

    1 received read messages

    2 stored unsent message

    3 stored sent messages

    4 all messages2000 Nokia Mobile Phones. All Rights Reserved.

    d with the AT+CPMS com-

    ssages. Response is +CMGL:

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    location number

    length of the actual PDU in octets

    GSM 03.40 Protocol Data Unit in hexadecimal format

    AT+CMGR Read MessageThis command returns a message with the location value from a preferred message storage selected with the AT+CPMS com-mand. Syntax:

    AT+CMGR= Read message. Response is +CMGR: ,, .

    Parameters:

    location number

    0 received unread messa

    1 received read message

    2 stored unsent message

    3 stored sent message

    length of the actual PD

    GSM 03.40 Protocol Da

    AT+CMGS Send MessageThis command sends a message toence value is returned to thlivery. Sending can be cancelled b must be used to indicate theSyntax:

    AT+CMGS= Send message. Re-

    U in octets

  • 54

    Data Unit in hexadecimal format

    message reference number

    AT+CMGW Write Message to MemoryThis command stores a message in a preferred memory storage se-lected with the AT+CPMS command. The memory location of the stored message is returned. By default, the message status will be set to "stored unsent ", but the parameter also allows other status values to be given. Entering of text is done similarly as specified in the command AT+CM-GS. Syn-tax:

    AT+CMGW=[,] Store message.Response is +CMGW:.

    Parameters:

    length of the actual PD

    0 received unrea

    1 received read m

    2 stored unsent

    3 stored sent me

    GSM 03.40 Pro

    Data Unit in he

    location numbe2000 Nokia Mobile Phones. All Rights Reserved.

    U in octets

    d message

    essage

    message

    ssage

    tocol

    xadecimal format

    r

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    3. S-Registers S-Reg Unless otherwise specified the value rangeDefault of the settings is from 0 to 255

    S0 Defines the number of rings after which the termi-nal automatically answers the call (Auto AnswerFunction). If the setting is 0, automatic answer isdisabled.

    0

    S1 Ring count (read only) 0

    S2 Escape code character 43

    S3 Carriage return character 13

    S4 Line feed character 10

    S5 Backspace character 8

    S7 Wait for connection c(0=connection waitin

    S8 Sets the duration, in option in the dial com

    S10 DCD OFF to hang-up255 signifies that cleared even if the DCDefault is 6 seconds.

    S12 Escape Guard Time (se

    S14 For changing the S14commands: ATEn (n=be displayed on the sATQn (n=0) to enableresponses,ATVn to switch betwresponses55

    ompletion (seconds) g time is unlimited).

    60

    seconds, for the pause (,) mand.

    2

    delay (seconds/10). Settingthe connection will not beD drops.

    100

    conds/50) 0=escape disabled. 50

    settings, use the following AT1) to enable the key presses tocreen or (n=0) to disable, or (n=1) to disable the

    een the textual (long format)

    10

  • 56

    S14 (n=1) and numerical (short format) responses(n=0).Bit-mapped options: bits 1, 2 and 3.bit 1: 0=ATE0, 1=ATE1bit 2: 0=ATQ0, 1=ATQ1bit 3: 0=ATV0, 1=ATV1.E.g. if bit 3 is 1, then the ATV1 command has beenexecuted.The default values are shown in bold. The bits arenumbered from 0 to 7.

    10

    S21 For changing the S21 settings use the following ATcommands:AT&Cn to define the DCD signal usage. The DCDsignal is always on (n=in the normal way(n=1),AT&Dn to define theAT&Sn to define the signal is always on (n=in the normal way(n=1).Bit-mapped options: The default values arebits 4&3: 00=AT&D11=AT&D3bit 5: 0=AT&C0, 1=Abit 6: 0=AT&S0, 1=ATE.g. if bit 4 is 0 and bhas been executed.

    112

    S-Reg Unless otherwise specified the value rangeDefault of the settings is from 0 to 2552000 Nokia Mobile Phones. All Rights Reserved.

    0 or not present) or else used

    DTR signal usage.DSR signal usage. The DSR 0 or not present) or else used

    bits 3, 4, 5 and 6. shown in bold.0, 01=AT&D1, 10=AT&D2,

    T&C1&S1

    it 3 is 1, the command AT&D1

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    S22 For changing the S22 Register use the following ATcommands for changing the response ranges:ATX0 responses 0-4 are enabledATX1 responses 0-5, 10 are enabledATX2 responses 0-5, 10 are enabledATX3 responses 0-5, 7, 10 are enabledATX4 responses 0-5, 7, 8, 10 are enabledATX5 all responses are enabled

    16

    S22 Bit-mapped options: bits 4, 5 and 6.bits 6&5&4: 000=ATX0, 100=ATX1, 101=ATX2,110=ATX3,111=ATX4, 001=ATX5E.g. if bit 4 is 0 and biATX3 has been execu

    16

    S25 Detect DTR change (s

    S27 For defining the comchanging the S27 RegAT&Q0 for the normAT&Q2 for the DTR cON-OFFtransition the terminthe numberin the slot &Z0).Bit-mapped options: bit 1: 0=AT&Q0, 1=A

    S34 Local flow control0=none1=XON/XOFF2=CTS/RTS3=both XON/XOFF an

    S-Reg Unless otherwise specified the value rangeDefault of the settings is from 0 to 25557

    ts 5 and 6 are 1, the commandted.

    econds). 0

    munication mode option andister use the ATQn command:

    al asynchronous operation,ontrolled dialling (on the DTR

    al adapter automatically dials

    bit 1.T&Q2

    0

    d CTS/RTS

    2

  • 58

    S35 Remote modem type0=none (ISDN connection )1=V.212=V.223=V.22bis4=V.235=V.26ter6=V.327=autobauding (mobile switching centre selects acompatible modem)8=undefined

    7

    S38 Command Interpreter mode0=EIA/TIA - 6021=CCTT V.25bis

    0

    S39 S39 stores the ID numa decimal format. TheATI0 command.

    S40 Type of number0=Unknown1=International2=National3=Network specific4=Dedicated PAD

    S41 Numbering plan0=Unknown1=ISDN/telephony (E.2=Data (X.121)3=Telex (F.69)4=National5=Private

    S42 Radio Link Protocol u

    S43 Radio Link Protocol d

    S44 Radio Link Protocol Tseconds/100.

    S-Reg Unless otherwise specified the value rangeDefault of the settings is from 0 to 2552000 Nokia Mobile Phones. All Rights Reserved.

    ber of the terminal adapter in ID can be displayed with the

    0

    0

    163/E.164)

    1

    plink window size (0-61). 61

    ownlink window size (0-61). 61

    1 timer value (39-255) 60

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    4. Special Responses in

    4.1 +CME ERROR Mobile EqThe operation of the +CME ERRORthe regular ERROR result code. If +CMfor any of the commands in a comcommands in the same command lROR nor the OK result code will bepleted command line execution. The formbose. This is set with the comman

    values (numeric format follo

    0 terminal failure

    1 no connection to termi

    2 terminal-adapter link r

    3 operation not allowed

    4 operation not supporte

    10 SIM not inserted

    S45 Radio Link Protocol N2 repetition count (1-255). 6

    S46 Force Data Compression(only for mobile to mobile connections)0=Disabled1=Data compression in transmit direction only2=Data compression in receive direction only3=Data compression in both directions

    0

    S47 Error Correction Mode with FClasses 2 and 2.00=Disabled1=Enabled, 64 byte frames2=Enabled, 256 byte frames

    0

    S-Reg Unless otherwise specified the value rangeDefault of the settings is from 0 to 25559

    AT Command Mode

    uipment Error Result Code: result code is similar to

    E ERROR: is the result code mand line, none of the following ine are executed. Neither the ER- returned as a result of a com-

    at can be either numeric or ver-d +CMEE.

    wed by verbose format):

    nal

    eserved

    d

  • 60

    16 incorrect password

    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

    31 network timeout

    100 unknown

    4.2 +CMS ERROR Message SThe final result code +CMS ERRORto mobile equipment or the netwoERROR result code. None of the focommand line is executed. Neithercode will be returned. ERROR is retrelated to syntax or invalid parame

    values used by common me

    300 ME failure

    301 SMS service of ME rese

    302 operation not allowed

    303 operation not supporte

    304 invalid PDU mode para

    305 invalid text mode param

    310 SIM not inserted

    311 SIM PIN necessary

    312 PH-SIM PIN necessary2000 Nokia Mobile Phones. All Rights Reserved.

    ervice Failure Result Code: indicates an error related rk. The operation is similar to the llowing commands in the same the ERROR nor the OK result urned normally when the error is ters.

    ssaging commands:

    rved

    d

    meter

    eter

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    313 SIM failure

    314 SIM busy

    315 SIM wrong

    320 memory failure

    321 invalid memory index

    322 memory full

    330 SMSC address unknown

    331 no network service

    332 network timeout

    500 unknown error

    ...511 other values in range 256...511 are reserved

    512... manufacturer specific

    4.3 +CRING Extended FormaThe response +CRING: inditended format incoming call indicaAT+CRC=1.

    values:

    REL ASYNC asynchronous n

    ASYNC synchronous tr

    FAX facsimile call (

    VOICE normal voice (T

    VOICE/XXX voice followedASYNC or

    ASYNC)

    ALT VOICE/XXX alternating voi

    ALT XXX/VOICE alternating dat

    ALT VOICE/FAX alternating voi

    ALT VOICE/FAX alternating fax61

    t Incoming Call Indicationcates an incoming call if the ex-tion is selected by the command

    on-transparent data call

    ansparent data call

    TS62)

    S11)

    by data (BS 81) (XXX is REL

    ce/data, voice first (BS 61)

    a/voice, data first (BS 61)

    ce/fax, voice first (TS 61)

    /voice, voice first (TS 61)

  • 62

    4.4 RING Incoming Call IndicationThe response RING indicates an incoming call. Voice calls generate no RING response. The numeric (short form) value of the RING re-sponse is 2.

    4.5 +CMTI Received Message IndicationThe response +CMTI: , indicates that a short mes-sage has arrived and is stored. The indication mode is activated with the AT+CNMI command.

    "SM" SIM message storage

    location number

    4.6 +CMT Received MessageThis response is used to carry a recedirect routing has been activated wresponse +CMT:, , , [,, , ,

    data> when text mode is used.

    U in octets or length of

    followed by GSM 03.40 Protocol

    rmat

    mp

    ess, 129 for normal and 145 for umber contains + character)

    VER in integer format

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    protocol identifier in integer format

    SMS Data Coding Scheme

    service centre address

    type of service centre address, 129 for normal and 145 for

    international access (number contains + character)

    4.7 +CDS Received Status Report RoutingThis response is used to carry a received short message status report to the DTE when direct routing has been activated with the AT+CN-MI command. The response +CDS: is used when PDU mode is enabled, and +CDS: ,,[], [], ,, when text mode is used.

    length of the actual PD

    service centre address

    Data Unit in hexadecim

    first octet of SMS-STA

    message reference

    receiver address

    type of receiver addresinternational access (n

    service centre time sta

    discharge time

    status63

    U in octets

    followed by GSM 03.40 Protocol

    al format

    TUS-REPORT in integer format

    s, 129 for normal and 145 for umber contains + character)

    mp

  • 64

    4.8 +CMT Received Message RoutingThis response is used to carry a received short message to DTE when direct routing has been activated with the AT+CNMI command. The response +CMT:, is used when PDU mode is enabled, and +CMT: , , [,, , , , , , ] when text mode is used.

    length of the actual PDU in octets or length of field

    service centre address followed by GSM 03.40 Protocol

    Data Unit in hexadecimal format

    originator address

    service centre time stamp

    type of originator addr

    international access (n

    first octet of SMS-DELI

    protocol identifier in in

    SMS Data Coding Sche

    service centre address

    type of service centre a

    for international acces

    4.9 +CDS Received Status Re

    This response is used to carry a receto the DTE when direct routing hasMI command. The response +CDS:used when PDU mode is enabled, a[], ,, when

    length of the actual PD2000 Nokia Mobile Phones. All Rights Reserved.

    ess, 129 for normal and 145 for

    umber contains + character)

    VER in integer format

    teger format

    me

    ddress, 129 for normal and 145

    s (number contains + character)

    port Routing

    ived short message status report been activated with the AT+CN- is nd +CDS: ,,[], text mode is used.

    U in octets

  • 2000 Nokia Mobile Phones. All Rights Reserved.

    service centre address followed by GSM 03.40 Protocol

    Data Unit in hexadecimal format

    first octet of SMS-STATUS-REPORT in integer format

    message reference

    receiver address

    type of receiver address, 129 for normal and 145 for international access (number contains + character)

    service centre time stamp

    discharge time

    status65

  • 66

    5. Abbreviations

    CTS Clear To Send.

    DCD Data Carrier Detect.

    DCE Data Circuit-Terminating Equipment, i.e. herethe Data adapter.

    DSR Data Set Ready.

    DTE Data Terminal Equipment (see also TE below).

    DTR Data Terminal Re

    ME Mobile Equipmenis a mobile phone

    RTS Request To Send.

    TA Terminal Adapter

    TE Terminal Equipmeis a computer.2000 Nokia Mobile Phones. All Rights Reserved.

    ady.

    t, which in most cases .

    .

    nt, which in most cases

    Nokia PremiCell Data List of AT Commands1. Introduction1.1 Command Syntax1.2 Syntax of AT+ Commands1.3 Help on AT Commands1.4. Most common AT-commandsAT? Command HelpATA Answer CommandATD Dial CommandATEn Command EchoATHn Hang-UpATO Go On-LineATS Select an S-RegisterATV Define Response FormatAT&F Restore Factory SettingsAT&V View Active ConfigurationA/ Re-execute Command Line+++ Escape Sequence (On-Line Command Mode)

    2. Descriptions of AT Commands2.1. Call ControlATA Answer CommandATD Dial CommandExamples:ATH Hang Up CallATL Monitor Speaker VolumeATM Monitor Speaker ModeATO Go On-LineATP Set Pulse Dial as DefaultATT Set Tone Dial as DefaultAT+CHUP Hang Up CallAT+CRC Cellular Result CodesAT+CSTA Select Type of Address

    2.2. Data adapter Control CommandsATI IdentificationATS Select an S-RegisterATZ Recall Stored ProfileAT&F Restore Factory SettingsAT&V View Active ConfigurationAT&W Store Parameters In Given ProfileAT&Y Select Set As A Powerup OptionAT+GCAP Request Complete Capabilities ListAT+GMI Request Manufacturer IdentificationAT+GMM Request Model IdentificationAT+GMR Request Revision IdentificationAT+GSN Request Product Serial Number Identification

    2.3. Terminal Control CommandsAT+CGMI Request Manufacturer IdentificationAT+CGMM Request Model IdentificationAT+CGMR Request Revision IdentificationAT+CGSN Request Product Serial Number IdentificationAT+CMEE Report Terminal ErrorAT+CPAS Terminal Activity StatusAT+CPBF Find Phone Book EntriesAT+CPBR Read Phone Book EntryAT+CPBS Select Phone Book Memory StorageAT+CPBW Write Phone Book EntryAT+CSCS Select TE Character SetAT+CSQ Signal Quality

    2.4. Computer Data Adapter Interface CommandsATE Command EchoATQ Result Code SuppressionATV Define Response FormatATX Response Range SelectionAT&C Define DCD UsageAT&D Define DTR UsageAT&K Select Flow ControlAT&Q Define Communications Mode OptionAT&S Define DSR OptionAT+ICF DTE-DCE Character FramingAT+IFC DTE-DCE Local Flow ControlAT+IPR Fixed DTE Rate

    2.5. Reporting Options CommandsAT+CLIP Calling Line Identification PresentationAT+COLP Connected Line Identification PresentationAT+CR Service Reporting ControlAT+DR Data Compression ReportingAT+ILRR DTE-DCE Local Rate Reporting

    2.6. Network Communication Parameter CommandsATB Communications Standard OptionAT+CBST Select Bearer Service TypeAT+CEER Extended Error ReportAT+CRLP Radio Link Protocol

    2.7. Miscellaneous CommandsA/ Re-Execute Command LineAT? Command HelpAT*C Start SMS InterpreterAT*T Enter SMS Block Mode ProtocolAT*V Activate V.25bis ModeAT*NOKIATEST Test CommandAT+CESP Enter SMS Block Mode Protocol

    2.8. SMS Commands Used in Text and PDU ModesAT+CSMS Select Message ServiceAT+CPMS Preferred Message StorageAT+CMGF Message FormatAT+CSCA Service Centre AddressAT+CSMP Set Text Mode ParametersAT+CSDH Show Text Mode ParametersAT+CSCB Select Cell Broadcast Message TypesAT+CSAS Save SettingsAT+CRES Restore SettingsAT+CNMI New Message Indications to DTEAT+CMGL List MessagesAT+CMGR Read MessageAT+CMGS Send MessageAT+CMSS Send Message from StorageAT+CMGW Write Message to MemoryAT+CMGD Delete Message

    2.9. SMS Commands Used Only in PDU ModeAT+CMGL List MessagesAT+CMGR Read MessageAT+CMGS Send MessageAT+CMGW Write Message to Memory

    3. S-Registers4. Special Responses in AT Command Mode4.1 +CME ERROR Mobile Equipment Error Result Code4.2 +CMS ERROR Message Service Failure Result Code4.3 +CRING Extended Format Incoming Call Indication4.4 RING Incoming Call Indication4.5 +CMTI Received Message Indication4.6 +CMT Received Message Routing4.7 +CDS Received Status Report Routing4.8 +CMT Received Message Routing4.9 +CDS Received Status Report Routing

    5. Abbreviations