MyTetra Share
Делитесь знаниями!
Описание AT-команд для сотовых телефонов Siemens
Время создания: 13.05.2015 10:09
Раздел: Компьютер - Аппаратное обеспечение - Мобильные телефоны - Siemens M50
Запись: xintrea/mytetra_syncro/master/base/1431500971cyfigwhu8m/text.html на raw.github.com

1.1.  AT Command Set

Remote control operation of the GSM mobile telephone runs via a serial interface (data cable of infrared connection), where AT+C commands according to ETSI GSM 07.07 and GSM 07.05 specification as well as several manufacturer specific AT commands are available. These commands are described in more detail later on.

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 ”<CR>” (= 0x0D). The input of a command is acknowledged by the display of

”OK” or ”ERROR”. A command currently in process is interrupted by each additional character entered. This means that you should not enter the next command until you have received the acknowledgment; otherwise the current command is interrupted.

The commands supported are listed in the following tables:

1.1.1.  Hayes-Standard Commands

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<str>;

Dial the dialing string <str> with the voice utility

Valid dial modifiers:”T” (tone dialing), ”P” (pulse dialing) is ignored. The character ”;” is important, for this tells the phone that the call should be set up with the voice utility. Otherwise an attempt is made to set up a data call, which the phone immediately acknowledges with ”ERROR”.

The dial command responds with OK to the user right after starting a voide call.

Other behavior like *# sequences in the dial command and also data calls remain unchanged.

ATD><n>;

Dial the telephone number from the current telephone book location number <n>

The telephone book is selected with the command at+cpbs (or at^spbs).

ATD><mem><

n>;

Dial the telephone number from the telephone book <mem> location number <n>

ATDL

Dial last telephone number

ATE0

Deactivate command echo

ATE1

Activate command echo

ATH[0]

Separate connection

ATQ0

Display acknowledgments

ATQ1

Suppress acknowledgments

ATV0

Output acknowledgments as numbers

ATV1

Output acknowledgments as text

AT&F[0]

Reset to factory profile

ATZ

Set to default configuration

AT+GCAP

Output the capabilities list

1.1.2.  Acknowledgments for Normal Data Communication

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 too long

NO DIALTONE

6

No dial tone, dialing impossible, wrong mode

BUSY

7

Remote station busy


1.2.  AT Commands and Responses According to GSM 07.07 and GSM 07.05

According to GSM, it is possible to execute an AT command in various forms.

Test command

AT+CXXX=?

The telephone responds by sending the list of parameters and value ranges; these can be set using the affiliated Write command or by means of internal processes.

Read command

AT+CXXX?

This command tells you the current value setting of the parameter(s).

Write command

AT+CXXX=<...>

This command is used to set parameters that can be set.

Execute command

AT+CXXX

The Execute command reads non-settable parameters which are influenced by internal processes in the telephone.


1.2.1.  AT Cellular Commands According to GSM 07.07

AT+CGMI

Issue manufacturer ID code

Test command AT+CGMI=?

Response OK

Execute command AT+CGMI

Response

<manufacturer>

Parameter

<manufacturer>      Name of manufacturer (SIEMENS)

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

AT+CGMM

Issue model ID code

Test command AT+CGMM=?

Response OK

Execute command AT+CGMM

Response

<model>

Parameter

<model> Name of telephone (MOBILE)

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

AT+CGMR

Output the GSM telephone version

Test command AT+CGMR=?

Response OK

Execute command AT+CGMR

Response

<revision>

Parameter

<revision>             Version of the telephone software

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

 

AT+CGSN

Output the serial number (IMEI)

Test command AT+CGSN=?

Response OK

Execute command AT+CGSN

Response

<sn>

Parameter

<sn>                      IMEI of the telephone

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

AT+GSN

Output the serial number (IMEI)

Test command AT+GSN=?

Response OK

Execute command AT+GSN

Response

+GSN: <sn>

Parameter

<sn>                      IMEI of the telephone

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

AT+CHUP

Terminate call

Test command AT+CHUP=?

Response OK

Execute command AT+CHUP

Response OK/ERROR

 

Description: All active calls and all calls on hold are terminated.

AT+CEER

Query the reason for disconnection of last call

Test command AT+CEER=?

Response OK

Execute command AT+CEER

Response

+CEER: <report>

Parameter

<report>      Disconnection reason reported as number

 

AT+CREG

Network registration

Test command AT+CREG=?

Response

+CREG: (list of supported <n>s)

OK/ERROR/+CME ERROR

 

Parameter

<n>              0 Suppresses the unexpected network-status messages 1  Displays the unexpected network-status messagesOK/ERROR/+CME ERROR

Read command AT+CREG?

Response

+CREG: <n>,<stat>[,<lac>,<ci>]

OK/ERROR/+CME ERROR

 

Parameter <n>

See Test command

 

<stat>

0             Not checked in, not seeking

1             Checked in

2             Not checked in, but seeking a network

3             Check-in denied by network

4             Unknown

5             Registered, roaming

 

<lac>

Hexadecimal 2-byte string type of location area code

 

<ci>

Hexadecimal 2-byte string type of cell ID

Write command AT+CREG=<n>

Parameter <n>

See Test command

 

Response OK/ERROR/+CME ERROR

 

Unexpected message +CREG: <stat> 

AT+COPS

Commands concerning selection of network operator

Test command AT+COPS=?

Response

+COPS: [list of supported (<stat>,long alphanumeric <oper>,,numeric <oper>)s][,,( list of supported <mode>s),( list of supported <format>s)]

OK/ERROR/+CME ERROR

Parameter

<stat>           0       Unknown

1             Useful network operator

2             Used network operator

3             Prohibited network operator

 

<oper>

Operator in the format according to <mode>

 

<mode>

0             Automatic mode

1             Manual selection of network operator

3             Setting of format

4             Automatic, manual selected

 

<format>

0       Long alphanumeric

2       Numeric <oper>

Read command AT+COPS?

Response

+COPS: <mode>[,<format>,<oper] OK/ERROR/+CME ERROR

Parameter

<mode>                 See Test command

 

<format>

See Test command

 

<oper>

Network operator

Write command

AT+COPS=<mode>

[,<format>[,<oper>]]

Parameter

<mode>

<format>

See Test command

See Test command

If <mode> = 1, <format> can only = 2

 

<oper>

Response

In numeric form only

 

 

OK/ERROR/+CME ERROR

 

 

AT+CLCK

Switch locking on and off

Revision to GSM 07.07 according to CR TDOC ETSI/SMG4 187/96

 

Test command AT+CLCK=?

Response

+CLCK: (list of supported <fac>s)

OK/ERROR/+CME ERROR

Parameter

  <fac>            ”CS”  Keyboard lock

 

 

 

”PS”

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=<fac>,

<mode>[, <passwd>

[,<class>]]

Parameter

<fac>

<mode>

0

1

2

See Test command

Cancels lock

Activates lock

Queries lock status

 

 

<passwd>

 

Password

 

 

<class>

1

Voice

 

 

 

2

Data

 

 

 

4

Fax

 

 

 

7

All classes (default value)

 

 

Response

If <mode>=2 and command is successful

+CLCK: <status>[,<class1>[<CR><LF>

+CLCK: <status>, class2....]]

Parameter

  <status>       0        Off

                           1        On

OK/ERROR/+CME ERROR

 

AT+CPWD

Change password to a lock

 

Test command AT+CPWD=?

Response

+CPWD: list of supported (<fac>, <pwdlength>)s

OK/ERROR/+CME ERROR

Parameter

  <fac>           “P2”   PIN2

otherwise         See Test command for AT+CLCK command, without ”FD” <pwdlength>    Password length

 

Write command

AT+CPWD=

<fac>,

<oldpwd>,

<newpwd>

Parameter

  <fac>                    See Test command for AT+CLCK command

<oldpwd>, <newpwd>

Old and new password

Response

OK/ERROR/+CME ERROR

 

AT+CLIP

Display telephone number of calling party

Test command AT+CLIP=?

Response

+CLIP: (list of supported <n>s)

OK/ERROR/+CME ERROR

Parameter

<n>              0  Suppresses the unexpected messages 1   Displays the unexpected messages

Read command AT+CLIP?

Response

+CLIP: <n>, <m>

OK/ERROR/+CME ERROR

Parameter

  <n>                       See Test command

  <m>             0       CLIP not booked

1             CLIP booked

2             Unknown

Write command

AT+CLIP=[<n>

]

Parameter

  <n>                       See Read command

Response

OK/ERROR/+CME ERROR

 

Unexpected message +CLIP: <num>,<type> Telephone number of caller

AT+CCFC

Call forwarding

Test command AT+CCFC=?

Response

+CCFC: (list of supported <reas>s)

OK/ERROR/+CME ERROR

Parameter

  <reas>          0        Always

 

 

1

If busy

 

 

2

If no answer

 

 

3

If not available

 

 

4

All reasons (0-3)

 

 

5

All conditional reasons (1-3)

Write command

AT+CCFC=<reas>,

<mode>[, <num> [,<type>[,<class>

[,,,<time>]]]]

Parameter

<reas>

<mode>

0

1

2

3

See Test command

Deactivate

Activate

Query

Install

 

 

4

Delete

 

<num>

 

Telephone number

 

<type>

 

Type of telephone number

 

<class>

1

Voice

 

 

2

Data

 

 

4

Fax

 

 

7

All classes

 

<time>

1-30

Time, rounded to a multiple of five seconds

 

Response

If <mode>=2 and command is successful

+CCFC: <status>, <class1>[, <num>, <type>[,,,

<time>]][<CR><LF>+CCFC: ....] OK/ERROR/+CME ERROR

Parameter

  <status>       0       Not active

                           1       Active

 

AT+CHLD

Call hold and multiparty

Test command AT+CHLD=?

Response

+CHLD: (list of supported <n>s)

OK/ERROR/+CME ERROR

Write command

AT+CHLD=

[<n>]

Parameter

  <n>              0

1

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

Terminates all active calls (if there are any) and accepts the other 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 active

 

2X

Puts all active calls except call X (X= 1-7) on hold

 

3

Connects the call put on hold to the active call

 

For terminating

Terminating all calls except waiting calls is done with

”AT+CHUP”

 

Note:

Response

OK/ERROR/+CME

Command scope depends on the SIM clearing and/or on the network support

ERROR

AT+CPAS

Query the telephone status

Test command AT+CPAS=?

Response

+CPAS: (list of supported <pas>s)

OK/ERROR/+CME ERROR

Parameter

  <pas>           0       Ready

3             Incoming call (phone is ringing)

4             Call is active

Execute command AT+CPAS

Response

+CPAS: <pas>

OK/ERROR/+CME ERROR

Parameter

  <pas>                    See Test command

OK/ERROR/+CME ERROR

 

AT+CPIN

Enter PIN and query lock

Test command AT+CPIN=?

Response OK

Read command AT+CPIN?

Response

+CPIN: <code>

OK/ERROR/+CME ERROR

Parameter

<code>

  READY                 No further input necessary

 

SIM PIN

SIM PIN input necessary

 

SIM PUK

SIM PUK input necessary

 

PH-SIM PIN

Device-code (theft protection) input necessary

 

PH-SIM PUK

Device-code PUK (theft protection) input necessary

 

SIM 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:18

The required error message can (must) be provoked by an attempted Write command.

Write command

AT+CPIN=<pin>

[,<new pin>]

Parameter

<pin> Password for appropriate lock; if the lock is a PUK, then a <new pin> is necessary.

  <new pin>             New password for the lock

Response

OK/ERROR/+CME ERROR

AT+CBC

Battery charge

Test command AT+CBC=?

Response

+CBC: (list of supported <bcs>s),(list of supported <bcl>s)

OK/ERROR/+CME ERROR

Parameter

  <bcs>                        0            ME is supplied from battery

1              ME has battery but is not supplied from there

2              ME has no battery connected

3              Error

  <bcl>                         0           Battery is flat, but no more actions possible

                                   1-100  charge in per cent

Execute command AT+CBC

Response

+CBC: <bcs>,<bcl>

 

AT+CSQ

Output signal quality

Test command AT+CSQ=?

Response

+CSQ: (list of supported <rssi>s), list of supported <ber>)

OK/ERROR/+CME ERROR

Parameter

  <rssi>                   Reception level:

 

0

-113 dBm or less

 

1

-111 dBm

 

2-30

-109 to -53 dBm

 

31

-51 dBm or more

 

99

Unknown

 

<ber>

Bit error rate:

 

0-7

Like RXQUAL values from Table GSM 05.08 in Section 8.2.4

 

99

Unknown

Execute command AT+CSQ

Response

+CSQ: <rssi>, <ber>

OK/ERROR/+CME ERROR

Parameter

<rssi> See Test command <ber>        See Test command

AT+CPBS

Select a telephone book

Test command AT+CPBS=?

Response

+CPBS: (list of supported <sto>s)

OK/ERROR/+CME ERROR

Parameter

<sto>           ”FD”  SIM fix-dialing phonebook

 

”SM”

SIM phonebook

 

”ME”

ME phonebook

 

”DC”

ME Dialled Calls List

 

”ON”

SIM (or ME) own numbers (MSISDNs) list

 

”LD”

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: <sto>

OK/ERROR/+CME ERROR

Parameter

<sto>                     See Test command

Write command AT+CPBS=<sto>

Parameter

<sto>                     See Test command

Response

OK/ERROR/+CME ERROR

 

AT+CPBR

Read a telephone-book entry

Test command AT+CPBR=?

Response

+CPBR: (list of supported <index>s), <nlength>, <tlength>

OK/ERROR/+CME ERROR

Parameter

  <index>                 Location number

  <nlength>              Max. length of telephone number

  <tlength>              Max. length of text corresponding to the number

Write command

AT+CPBR=

<index1>

[,<index2>]

Response

+CPBR: <index1>, <nummer>, <typ>, <text>[<CR><LF> +CPBR: .....

+CPBR: <index2>, <nummer>, <typ>, <text>] OK/ERROR/+CME ERROR

Parameter

  <index1>              Location number where the read of the entry starts

 

<index2>

Location number where the read of the entry ends

 

<nummer>

Telephone number

 

<typ>

Type of number

 

<text>

Text corresponding to the telephone number

 

NOTE:

In the <text> field, there may appear special characters like

`"` (0x22), `@` (0x00), `ò` (0x08), `Ö` (0x5c).

(See also +CPBW and Appendix A: Special hints for using +CPBR/+CPBW command)

In models before the S25, empty phonebook records are reported as follows:

+CPBR: <index1>,empty

In S25ff, those empty entries don't produce any output.

AT+CPBW

Write a telephone-book entry

Test command AT+CPBW=?

Response

+CPBW: (list of supported <index>s), <nlength>,(list of supported <type>s), <tlength>

OK/ERROR/+CME ERROR

Parameter

  <index>                 Location number

 

<nlength>

Max. length of telephone number

 

<tlength>

Max. length of text corresponding to the number

Write command

AT+CPBW=

[<index>]

[,<nummer>

[,<typ>[,<text>]]]

Parameter

  <index>                 Location number at which the entry is written

  <nummer>             Telephone number

  <typ>                    Type of number

  <text>                   Text corresponding to the telephone number

Response

OK/ERROR/+CME ERROR

Note:            The following characters in <text> must be entered via the escape sequence (see also Appendix A: Special hints for using

+CPBR/+CPBW command)

            GSM      Hex       ASCII   GSM                Seq.(hex)         Note

 

            Char      char.                  Esc Seq

            Ö             5C       \           Ö5C

5C 35 43          Backslash

 

            "              22        “           Ö22

5C 32 32          String delim

 

            ò             08        BSP     Ö08

5C 30 38          Backspace

 

@ 00 NULL Ö00 5C 30 30 GSM Null y cause problems on application level when using the function strlen() and should

thus be represented by an escape sequence

 

AT+CMEE

Expanded error messages according to GSM 07.07

Test command AT+CMEE=?

Response

+CMEE: (list of supported <n>s)

Parameter

  <n>              0      Suppresses the expanded error format

1             Expanded error messages as number

2             Expanded error messages as text

Read command AT+CMEE?

Response

+CMEE: <n>

Parameter

  <n>                       See Read command

Write command AT+CMEE=<n>

Parameter

  <n>                       See Read command

Response

OK/ERROR/+CME ERROR

 

Description:

The following CME errors are possible:

0                               PHONE FAILURE

1                               NO CONNECTION TO PHONE

 

2

PH-TA LINK RESERVED

 

3

OPERATION NOT ALLOWED

 

4

OPERATION NOT SUPPORT

 

5

PH-SIM PIN REQUIRED

 

10

SIM NOT INSERTED

 

11

SIM PIN REQUIRED

 

12

SIM PUK REQUIRED

 

13

SIM FAILURE

 

14

SIM BUSY

 

15

SIM WRONG

 

16

INCORRECT PASSWORD

 

17

SIM PIN2 REQUIRED

 

18

SIM PUK2 REQUIRED

 

20

MEMORY FULL

 

21

INVALID INDEX

 

22

NOT FOUND

 

23

MEMORY FAILURE

 

24

TEXT TOO LONG

 

25

INV CHAR IN TEXT

 

26

DIAL STRING TOO LONG

 

27

INV CHAR IN DIAL

 

30

NO NETWORK SERVICE

 

31

NETWORK TIMEOUT

 

100

UNKNOWN

 

512

CALL BARRED BY BLACKLIST

 

513

PHONE LINK RESERVED

 

514

INVALID DIAL STRING

 

515

PHONE BUSY

 

550

PH-SIM PUK REQUIRED

 

551

NTF-SIM PIN REQUIRED

 

552

NTF-SIM PUK REQUIRED

 

553

PH-NET PIN REQUIRED

 

554

PH-NET PUK REQUIRED

 

555

PH-SP PIN REQUIRED

 

556

PH-SP PUK REQUIRED

 

557

PH-CP PIN REQUIRED

 

558                         PH-CP PUK REQUIRED

559                         FEATURE PIN REQUIRED

 

 

  560              FEATURE PUK REQUIRED

The following CMS errors have been defined for SMS:

300                         ME failure

301                         SMS service of ME reserved

 

 

302

operation not allowed

 

 

303

operation not supported

 

 

304

invalid PDU parameter

 

 

305

invalid TEXT mode

 

 

310

SIM not inserted

 

 

311

SIM PIN necessary

 

 

312

PH-SIM PIN necessary

 

 

313

SIM failure

 

 

314

SIM busy

 

 

315

SIM wrong

 

 

320

memory failure

 

 

321

invalid memory failure

 

 

322

memory full

 

 

330

SMSC address unknown

 

 

331

no network service

 

 

332

network timeout

 

 

  340              NO +CNMA ACK EXPECTED

  500              unknown error

 

 

AT+VTS

Send a DTMF tone

 

Test command AT+VTS=?

Response

(list of supported <dtmf>s), (list of supported <duration>s)

OK/ERROR/+CME ERROR

Parameter

  <dtmf>                  0-9,#,*,A-D, exactly one character

<duration>             Duration of tone in (duration/10) seconds

 

Write command

AT+VTS=

<dtmf>

[,<duration>] or

Parameter

<dtmf>                         One character from the list, see Test command<duration> See Test command

<dtmf-string> max. 29 characters in quotation marks (”...”), then a duration cannot be specified

 

AT+VTS=

<dtmf-string>

Response

OK/ERROR/+CME ERROR

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

 

AT+VTD

Set duration of a DTMF tone

Test command AT+VTD=?

Response

+VTD: (list of supported <duration>s)

OK/ERROR/+CME ERROR

Parameter

<duration>             1-255

Duration of tone in (duration/10) seconds

Read command AT+VTD?

Response

+VTD: <duration>

OK/ERROR/+CME ERROR

Write command

AT+VTD=

<duration>

Parameter

<duration>             See Test command

Response

OK/ERROR

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

AT+WS46

Select wireless network

Test command AT+WS46=?

Response

(list of supported <n>s)

OK

Read command AT+WS46?

Response

<n>

OK/ERROR/+CME ERROR

Parameter

<n>     Integer; WDS side stack

               12        GSM digital cellular

Write command AT+WS46=[<n>]

Response

OK/ERROR/+CME ERROR

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

AT+CSCS

Select TE character set

Test command AT+CSCS=?

Response

+CSCS: (list of supported <chset>s)

OK

Read command AT+CSCS?

Response

+CSCS: <chset>

OK/ERROR/+CME ERROR

Parameter

<chset>          String; determines which TE character set is used

Write command

AT+CSCS=

[<chset>]

Response OK/ERROR/+CME ERROR

 

AT+CAOC

Advice of charge

Test command AT+CAOC=?

Response

+CAOC: (list of supported <mode>s)

Parameter

  <mode>        0       query CCM value

Read command AT+CAOC?

Response

+CAOC: <mode>

Parameter

  <mode>        0       See Test command

Write command AT+CAOC=<mode>

Response

OK

Parameter

  <mode>        0       See Test command

Execute command AT+CAOC

Response

+CAOC: <ccm>

OK/ERROR/+CME ERROR

Parameter

  <ccm>                  Updated hexadecimal call meter, measured in home

units;

                                coding analogous to ACMmax on the SIM

AT+CSSN

Supplementary service notifications

Revision according to GSM 07.07 Version 5.0.0

Test command AT+CSSN=?

Response

+CSSN: (list of supported <n>s), (list of supported <m>s)

Parameter

  <n>                  0         Suppresses the +CSSI messages

                               1         Activates the +CSSI messages

  <m>                 0         Suppresses the +CSSU messages

                               1         Activates the +CSSU messages

For supported +CSSI/+CSSU messages, see also 1.3.4. Summary of All Unexpected Messages

Read command AT+CSSN?

Response

+CSSN: <n>,<m>

Parameter

  <n>                            See Test command

  <m>                           See Test command

Write command AT+CSSN=<n>[,<m>]

Parameter

  <n>                 See Read command

  <m>                See Read command

 

Unexpected message

+CSSI: <code1>

+CSSU: <code2>

Parameter

  <code1>          Intermediate result code

                               3         Waiting call is pending

 

<code2>

Unsolicited result code

5         Held call was terminated

 

AT+CRSM

Restricted SIM access

Test command AT+CRSM=?

Response OK

Write command

+CRSM=<command>

[,<fileid>

[,<P1>,<P2>,<P3>

[,<data>]]]

Response

+

OK/ERROR/+C

CRSM: <sw1>,<sw2>[,<response>] ME ERROR

 

Parameter <command>:

176      READ BINARY

178      READ RECORD

192      GET RESPONSE 214            UPDATE BINARY

220      UPDATE RECORD

242      STATUS

 

<fileid>:            Integer, identifier of the data file on the SIM, mandatory for every command except STATUS

(see GSM 11.11) <P1>, <P2>, <P3>:

Integer, transferal parameter from ME to SIM, mandatory for every command except

GET RESPONSE,STATUS (see GSM 11.11)

<data>:            Hexadecimal string; information that is to be written to the SIM

<sw1>, <sw2>: Integer; information from the SIM as to how/whether the command was executed

<response>: Hexadecimal string; given when a command was successfully processed

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

AT+CIMI

Output of IMSI

Test command AT+CIMI=?

Response OK

Execute command AT+CIMI

Response

<imsi>

Parameter

  <imsi>        International Mobile Subscriber Identity (IMSI)

 

AT+CACM

Accumulated call meter

Test command AT+CACM=?

Response OK

Read command AT+CACM?

Response

+CACM: <acm>

OK/ERROR/+CME ERROR

Parameter

<acm> Accumulated call meter in hexadecimal format, measured                       in home units; coding analogous to ACMmax on the SIM

Write command

AT+CACM=[< passwd>]

Response

OK/ERROR/+CME ERROR

Parameter

<passwd>        String type; usually PIN2

AT+CAMM

Accumulated call meter maximum

Test command AT+CAMM=?

Response OK

Read command AT+CAMM?

Response

+CAMM: <acmmax>

OK/ERROR/+CME ERROR

Parameter

<acmmax>    Accumulated call meter maximum in hexadecimal

format, measured in home units; coding analogous to ACMmax on the SIM

Write command

AT+CAMM=

[<acmmax>

[,<passwd>]]

Response

OK/ERROR/+CME ERROR

Parameter

<acmmax>      (see Read command)

<passwd>        String type; usually PIN2

 

AT+CLCC

List Current Calls

Test command AT+CLCC=?

Response OK

Execute command AT+CLCC

Response

[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>,

<number>,<type>]

[<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>,

<number>,<type>

[...]]]

OK/ERROR/+CME ERROR

Parameter

<idx>: integer type; call identification number as described in GSM 02.30 [19] subclause 4.5.5.1; this number can be used in +CHLD command operations

<dir>:

0             mobile originated (MO) call 1       mobile terminated (MT) call

<stat> (state of the call):

0                 active

1                 held

2                 dialing (MO call)

3                 alerting (MO call)

4                 incoming (MT call) 5               waiting (MT call)

<mode> (bearer/teleservice):

0              voice

1              data

2              fax

3              voice followed by data, voice mode

4              alternating voice/data, voice mode

5              alternating voice/fax, voice mode

6              voice followed by data, data mode

7              alternating voice/data, data mode

8              alternating voice/fax, fax mode

9              unknown

<mpty>:

0              call is not one of multiparty (conference) call parties

1              call is one of multiparty (conference) call parties

<number>: string type phone number in format specified by <type>

<type>: type of address octet in integer format

 

AT+CCLK

Clock

Test command AT+CCLK=?

Response OK

Read command AT^SCLK?

Response

+CCLK: <time>

OK/ERROR/+CME ERROR

Parameter:

<time>:       string type value; format is "yy/MM/dd,hh:mm:ss",

where characters indicate year (two last digits), month, day, hour, minutes; E.g. 6th of May 1994, 22:10:00 hours equals to „94/05/06,22:10:00"

Write command AT+CCLK=<time>

Response

OK/ERROR/+CME ERROR

Parameter:

<time>             see Test commnd

AT+COPN

Read operator names

 

Test command AT+COPN=?

Response OK

 

Execute command AT+COPN

Response

+COPN:numeric <oper>,long alphanumeric <oper><CR><LF> +COPN:.....

OK/ERROR/+CME ERROR

Parameter

<oper>                   Network operator in numeric and alphanumeric notation see AT^SPLM

 

AT+CPUC

Price per unit and currency table

 

Test command AT+CPUC=?

Response OK

 

Read command AT+CPUC?

Response

+CPUC: <currency>,<ppu> OK/ERROR/+CME ERROR

Parameter

<currency> three-character currency code (e.g. “FRA”, “DEM”)

<ppu>    price per unit; dot is used as a decimal separator (e.g. “1.33”)

 

Write command

AT+CPUC=

<currency>,<ppu>[,

<passwd>]

Response

OK/ERROR/+CME ERROR

Parameter

<passwd>        String type; usually PIN2

 

 

AT+CALM

Alert sound mode

Test command AT+CALM=?

Response

+CALM: (list of supported <mode>s)

OK

Read command AT+CALM?

Response

+CALM: <mode>

OK/ERROR/+CME ERROR

Write command AT+CALM=<mode>

Response

OK/ERROR/+CME ERROR

Parameter

<mode>0          normal mode

1            silent mode (all sounds are prevented)

2            beep (only a short beep indicates an incomming call)

AT+CRSL

Ringer sound level

Test command AT+CRSL=?

Response

+CRSL: (list of supported <level>s)

OK

Read command AT+CRSL?

Response

+CRSL: <level>

OK/ERROR/+CME ERROR

Write command AT+CRSL=<level>

Response

OK/ERROR/+CME ERROR

Parameter

<level>: Ringer Sound Level

AT+CLVL

Loudspeaker volume level

Test command AT+CLVL=?

Response

+CLVL: (list of supported <level>s)

OK

Read command AT+CLVL?

Response

+CLVL: <level>

OK/ERROR/+CME ERROR

Write command AT+CLVL=<level>

Response

OK/ERROR/+CME ERROR

Parameter

<level>:  Loudspeaker Volume Level

AT+CMUT

Mute control

Test command AT+CMUT=?

Response

+CMUT: (list of supported <n>s)

OK

Read command AT+CMUT?

Response

+CMUT: <n>

OK/ERROR/+CME ERROR

Write command AT+CMUT=<n>

Response

OK/ERROR/+CME ERROR

Parameter

<n>:         0          mute off

                   1         mute on

 

AT+CVIB

Vibrator mode

Test command AT+CVIB=?

Response

+CVIB: (list of supported <mode>s)

OK

Execute command AT+CVIB

Response

+CVIB: <mode>

OK/ERROR/+CME ERROR

Write command AT+CVIB=<mode>

Response

OK/ERROR/+CME ERROR

Parameter

<mode>:  Vibrator mode

0  disable

1  enable

16 vibrate then ring (not available in every model)


 

1.2.2.  AT Commands According to GSM 07.05 for SMS

The GSM 07.05 commands are used for operating the SMS functions of the GSM mobile phone. The GSM module MOBILE supports the SMS PDU mode.

AT+CSMS

Selection of message service

Revision according to GSM 07.05 Version 5.0.0

Test command AT+CSMS=?

Response

+CSMS: (list of supported <service>s)

Parameter

<service> 0              GSM 3.40 and 3.41

                               1             GSM 3.40 and 3.41 and compatibility of the AT command

syntax for phase 2+

NOTE:                  Deactivating the phase 2+ compatibility is only possible if the direct output of short messages

+CNMI=1,2 or +CNMI=1,3 is not activated. If necessary, the latter should be deactivated first.

Read command AT+CSMS?

Response

+CSMS: <service>,

Parameter

<service> 0

mt>,<mo>,<bm>

GSM 3.40 and 3.41

 

<mt>

Mobile terminated messages

 

1

Type supported

 

<mo>

Mobile originated messages

 

1

Type supported

 

<bm>

Broadcast type messages

 

0

Type not supported

Write command

AT+CSMS=

<service>

Parameter <service> 0

GSM 3.40 and 3.41

 

Response

+CSMS: <mt>,<mo>,<bm>

OK/ERROR/+CMS ERROR

 

AT+CPMS

Selection of SMS memory

Revision according to GSM 07.05 Version 4.7.0

 

Test command AT+CPMS=?

Response

+CPMS: (list of supported <mem1>s),( list of supported <mem2>s) ,(list of supported <mem3>s)

Parameter

<mem1> Memory from which messages are read and deleted

                               ”SM”       SIM-messages memory

<mem2> Memory to which messages are written and sent

                               ”SM”       SIM-messages memory

<mem3> Memory in which received messages are stored, if forwarding to the (”+CNMI”)

                               ”SM”       SIM-messages memory

PC is not set

Read command AT+CPMS?

Response

+CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2> ,<mem3>,<used3>,<total3>

Parameter

<memx> Memory from which messages are read and deleted

<usedx> Number of messages currently in <memx>

  <totalx>  Number of storable messages in <memx>

 

Write command

AT+CPMS=

<mem1>

[,<mem2>

[,<mem3>]]

Parameter

<mem1> See Test command

<mem2> See Test command

<mem3> See Test command

Response

+CPMS: <used1>,<total1>,<used2>,<total3>,<used3>,<total3> OK/ERROR/+CMS ERROR

 

AT+CMGF

SMS format

Test command AT+CMGF=?

Response

+CMGF: (list of supported <mode>s

Parameter

<mode>:

0

)

PDU mode

Read command AT+CMGF?

Response

+CMGF: <mode>

Parameter

<mode>:

0

PDU mode

Write command

AT+CMGF=[< mode>]

Parameter

<mode>:

0

Response

OK/ERROR

PDU mode

 

AT+CSCA

Address of the SMS service center

Test command AT+CSCA=?

Response OK

Read command AT+CSCA?

Response

+CSCA: <sca>,<tos

Parameter

<sca>

ca>

Service-center address in string format

 

<tosca>

Service-center address format

Write command

AT+CSCA=

<sca>[,<tosca>]

Parameter

<sca>

<tosca>

Response

OK/ERROR

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

AT+CNMI

Display new incoming SMS

Revision according to GSM 07.05 Version 4.7.0

Test command AT+CNMI=?

Response

+

<ds>s),(list of supported <bfr>s

Parameter

  <mode>   0

 

 

CNMI: (list of supported <mode>s),(list of supported <mt>s),(list of supported <bm>s),(list of supported

)

Buffers unexpected messages (but is equivalent to rejecting; see <bfr>)

1                  Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved. Otherwise forward them directly to the TE.   (only with S25ff)

2                  Buffers unexpected messages if serial interface

is occupied, otherwise they are output

(only models before S25)

 

<mt>

NOTE:

<bm>

 

<ds>

0                  Suppresses unexpected messages for incoming short messages

1                  Unexpected messages of a received short message (SMS-DELIVER) that is stored

on a chip card are output in the form

+CMTI: <mem>,<index>

2                  Unexpected messages of a received short message (SMS-DELIVER) (except class 2 and the message ”Waiting Indication Group: store message”) are output in the form

+CMT: [<alpha>],<length><CR><LF><pdu>

(<alpha> is not supported)

Class 2 and the message ”Waiting Indication

              Group: store          message” are output as <mt>=1

3                  Unexpected messages of a received short message (SMS-DELIVER) class 3 are output as <mt>=2. Messages with other data coding schemes are output as <mt>=1.  <mt>=2 and <mt>=3 are not possible unless the Phase 2+  compatibility has been activated by means of +CSMS=1

0 Suppresses unexpected messages for incoming cell broadcast messages

2             Outputs unexpected messages for cell broadcast messages in the form

+CBM: <length><CR><LF><pdu>

0 Suppresses unexpected messages for  incoming SMS status reports

2           Outputs unexpected messages for SMS status

reports  in the form

+CDS: <length><CR><LF><pdu>

 

 

<bfr>                      1            Buffered unexpected messages are rejected

when switching from <mode> 0 to <mode> 2.

<mem>                  See +CPMS

<index>                 Index of the record on the chip card

<alpha>                 alphanumeric representation of the sender address

<length>                Length of <pdu>

<pdu>                    See +CMGL

Read command AT+CNMI?

Response

+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>

Parameter

<mode>   See Test command

<mt>                      See Test command

<bm>                     See Test command

<ds>                      See Test command

<bfr>                      See Test command

Write command

AT+CNMI=

[<mode>

[,<mt>[,<bm>

[,<ds>[,<bfr>]]]]

]

Parameter

<mode>   See Test command

<mt>                      See Test command

<bm>                     See Test command

<ds>                      See Test command

<bfr>                      See Test command

Response

OK/ERROR/+CMS ERROR

 

Unexpected message

+CMTI: <mem>,<index>                                      Indication that new message

has arrived

+CMT: ,<length><CR><LF><pdu>                                      Direct output of the short message

+CDS: <length><CR><LF><pdu>        Direct output of the status

report

+CBM: <length><CR><LF><pdu>         Direct output of the cell

broadcast message

 

AT+CNMA

Acknowledgment of a short message directly output (without storing on 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 <n>s)

Parameter

<n>         0             Mode of functioning analogous to GSM 07.05 text mode

 

Write command AT+CNMA[=<n>]

Parameter

<n>                        See Test command

Response

OK/ERROR/+CMS ERROR: <err>

 

AT+CMGL

List SMS

Revision according to GSM 07.05 Version 4.7.0

 

Test command AT+CMGL=?

Response

+CMGL: (list of supp

Parameter <stat>

              0

orted <stat>s)

”REC UNREAD”: received unread messages (default)

 

 

              1

”REC READ”: received read messages

 

 

              2

”STO UNSENT”: stored unsent messages

 

 

              3

”STO SENT”: stored sent messages

 

 

              4

”ALL”:                    all messages

 

Write command

AT+CMGL

[=<stat>]

Parameter <stat>

See Test command

 

 

Response

If PDU mode (+CMGF=0) and command are successful:

+CMGL:<index>,<stat>,[<alpha>],<length>

<CR><LF><pdu>[<CR><LF>

+CMGL: <index>,<stat>,[alpha],<length>

<CR><LF><pdu><CR><LF>

[...]]

 

 

Parameter

  <pdu>                   The PDU begins with the service-center address (according to

GSM04.11), followed by the TPDU according to GSM03.40

hexadecimal format otherwise:

+CMS ERROR: <err>

in


 

 

AT+CMGR

Read in an SMS

Revision according to GSM 07.05 Version 4.7.0

Test command AT+CMGR=?

Response OK

 

Write command

AT+CMGR=

<index>

Parameter <index>

Index of message in selected memory <mem1>

 

Response

If PDU mode (+CMGF=0) and command are successful:

+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>

Parameter

<pdu> Siehe “AT+CMGL” otherwise:

+CMS ERROR: <err>

AT+CMGS

Send an SMS

Test command AT+CMGS=?

Response OK

 

Write command

If PDU mode (+CMGF=0)

+CMGS=<length><CR>PDU is given

<ctrl-Z/ESC>

Parameter

<length>

<pdu>

<mr>

Length of PDU

See ”AT+CMGL”

Message reference

 

Response

If sending is successful:

+CMGS: <mr>

If sending is not successful:

+CMS ERROR: <err>

AT+CMSS

Send an SMS from the SMS memory

Test command AT+CMSS=?

Response OK

 

Write command +CMSS=<index>[,<da>[,<toda>]]

Parameter <index>

Index of message in selected memory <mem1>

 

<da>

Destination address in string format

 

<toda>

Format of destination address

 

<mr>

Message reference

 

Response

If sending is successful:

+CMSS: <mr>

If sending is not successful:

+CMS ERROR: <err>

 

AT+CMGW

Write an SMS to the SMS memory

Test command AT+CMGW=?

Response OK

 

Write command

If PDU mode (+CMGF=0)

AT+CMGW=<length>[,<stat>]<CR>PDU is given <ctrl-Z/ESC>

Parameter

<length>

<stat>

<pdu>

<index>

Length of PDU

See command +CMGL

See ”AT+CMGL”

Index of message in selected memory <mem1>

 

Response

+CMGW: <index>

+CMS ERROR: <err>

AT+CMGD

Delete an SMS in the SMS memory

Test command At+CMGD=?

Response OK

 

Write command

AT+CMGD=

<index>

Parameter

<index>

Response

OK/ERROR/+CMS

Index of message in the selected memory <mem1>

ERROR

AT+CSCB

Select cell broadcast messages

Test command AT+CSCB=?

Response

+CSCB: (list of supported <mode>s)

Parameter

  <mode>        0       Accepts messages that are defined in <mids> and <dcss>

1        Does not accept messages that are defined in <mids> and <dcss>

Read command AT+CSCB?

Response

+CSCB: <mode>,<

Parameter

<mode>

mids>,<dcss>

See Test command

 

<mids>

String type; combinations of CBM message IDs

Write command

AT+CSCB=[< mode>[,<mids

>[,<dcss>]]]

  <dcss>                 String type; combinations of CBM data coding schemes

AT+CMGC

Send an SMS command

Test command AT+CMGC=?

Response OK

 

Write command

If PDU mode (+CMGF=0)

+CMGC=<length><CR>PDU is given

<ctrl-Z/ESC>

Parameter

<length>

<pdu>

<mr>

Length of PDU

See ”AT+CMGL”

Message reference

 

Response

If sending is successful:

+CMGC: <mr>

If sending is not successful:

+CMS ERROR: <err>

1.2.3.  User-Defined Commands for Controlling the GSM Mobile Phone

Since user-defined commands cannot be implemented according to official syntax, the character string ”+C” is replaced by ”^S” (”^” = 0x5E). For the future: if a user-defined command is accepted in the same syntax in GSM recommendations, the command can be addressed using both command strings.

AT^SPBS

Select a telephone book (including Siemens-specific books)

Test command AT^SPBS=?

Response

^SPBS: (list of supported <sto>s)

OK/ERROR/+CME ERROR

Parameter

<sto>             ”FD”  SIM fix-dialing telephone book

 

 

”SM”

SIM telephone book

 

 

”ME”

Telephone book in device

 

 

”DC”

ME Dialled Calls List

 

 

”ON”

Own telephone numbers

 

 

”LD”

SIM last dialing number

 

 

"MC"

ME Missed Calls List

 

 

"RC"

ME Received Calls List

 

 

”MD”

Last number redial memory in telephone device

 

 

”OW”

Own numbers

 

 

”BD”

Barred dialing numbers

 

 

”SD”

Service dialing numbers

 

 

”MS”

Missed dialing numbers (unanswered calls)

 

 

”CD”

Callback dialing numbers (answered calls)

 

 

”BL”

Blacklist dialing numbers (barred numbers from remote)

 

 

”MB”

Mailbox dialing numbers (network-operator mailbox)

 

 

”CS”

Common sortable telephone book (sorted combination of ”SM”, ”ME”, ”FD”; access only via ^SPBC, ^SPBG)

 

”RD” *For a description of

Red book (all entries in ”CS” whose name portions have an exclamation point (‘!’) as the final character)  the telephone-book features, see Appendix A

Read command AT^SPBS?

Response

^SPBS: <sto>

OK/ERROR/+CME ERROR

Parameter

<sto>                      See Test command

Write command

AT^SPBS=

<sto>

Parameter

<sto>

Response

OK/ERROR/+CME

See Test command

ERROR

AT^SDLD

Delete the ”last number redial” memory

Test command AT^SDLD=?

Response OK

Execute command AT^SDLD

Response OK/ERROR/+CME ERROR

 

AT^SPBC

Seek the first entry in the sorted telephone book which begins with the selected (or next available) letter

Test command AT^SPBC=?

Response

^SPBC: (list of sorted telephone books supported <mem>s)

        See AT+CPBS/AT^SPBS

OK/ERROR/+CME ERROR

Write command

AT^SPBC=<ch ar>

Parameter

  <char>         First letter of sought entry

”A” to ”Z”

                      (with any other character, the index of the first entry that begins                        with a special character is sent back)

  <index>      Index in the sorted telephone book (access via AT^SPBG)

Response

^SPBC: <index>

OK/ERROR/+CME ERROR

AT^SPBG

Read entry from the sorted telephone book via the sorted index

Test command AT^SPBG=?

Response

^SPBG: (list of supported <index>s), <nlength>, <tlength>

OK/ERROR/+CME ERROR

Parameter

  <index>                 Location number

  <nlength>              Max. length of telephone number

  <tlength>              Max. length of the text corresponding to the number

Write command

AT^SPBG=

<index1>

[, <index2>]

Response

^SPBG: <index1>, <nummer>, <typ>, <text>[<CR><CL> ^SPBG: .....

^SPBG: <index2>, <nummer>, <typ>, <text> ] OK/ERROR/+CME ERROR

Parameter

  <index1>              Location number where the read of the entry starts

 

<index2>

Location number where the read of the entry ends

 

<nummer>

Telephone number

 

<typ>

Type of number

 

<text>

Text corresponding to the telephone number

 

AT^SLCK

Switch locks (including user-defined locks) on and off

Test command AT^SLCK=?

Response

^SLCK: (list of supported <fac>s)

OK/ERROR/+CME ERROR

Parameter

  <fac>           "PS" 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

 

 

"PN"

Network personalization (GSM 02.22)

 

 

"PC"

Corporate personalization (GSM 02.22)

 

 

"PU"

Network subset personalization (GSM 02.22)

 

 

"PP"

Service provider personalization (GSM 02.22)

 

 

"PF"

Phone locked to very first inserted SIM

Write command

AT^SLCK =

<fac>,

<mode>

[,<passwd>

[,<class>]]

Parameter

<fac>

<mode>

<passwd>

<class>

0

1

2

1

See Test command

Cancels lock

Activates lock

Queries lock status

Password

Voice

 

 

2

Data

 

 

4

Fax

 

 

7

All classes (default value)

 

Response

If <mode>=2 and command is successful

^SLCK: <status>[,<class1>[<CR><LF>

^SLCK: <status>, class2....]]

Parameter

  <status>       0        Off

                           1        On

OK/ERROR/+CME ERROR

AT^SPWD

Change password to a lock (including user-defined locks)

Test command AT^SPWD=?

Response

^SPWD: list of supported (<fac>, <pwdlength>)s

OK/ERROR/+CME ERROR

Parameter

  <fac>           ”P2”   PIN2

otherwise         See Test command for the command AT^SLCK, without ”FD” <pwdlength> Length of password

Write command

AT^SPWD =

<fac>,<oldpwd>,

<newpwd>

Parameter

  <fac>                    See Test command for the command AT^SLCK

<oldpwd>, <newpwd>

Old and new password

Response

OK/ERROR/+CME ERROR

 

AT^SACM

Output ACM (accumulated call meter) and ACMmax

Test command AT^SACM=?

Response

^SACM: (list of supported <n>s)

Execute command AT^SACM

Response

^SACM: <n>,<acm>,<acm_max>

OK/ERROR/+CME ERROR

Paramter

  <n>                 See Test command

  <acm>             Accumulated call meter

  <acm_max>    Maximum accumulated call meter

Write command AT^SACM=<n>

Parameter

  <n>                        0            Suppresses the unexpected message

                               1         Outputs the unexpected message

AT^SPLM

Read the PLMN list

Test command AT^SPLM=?

Response OK

Execute command AT^SPLM

Response

^SPLM:numeric <oper>,long alphanumeric <oper><CR><LF> ^SPLM:.....

OK/ERROR/+CME ERROR

Parameter

  <oper>                  Network operator in numeric and alphanumeric notation

AT^SPLR

Read an entry from the preferred-operator list

Test command AT^SPLR=?

Response

^SPLR: (list of supported <index>s)

OK/ERROR/+CME ERROR

Parameter

<index>                 Location numbers

Write command

AT^SPLR=<index1>

[, <index2>]

Response

^SPLR: <index1>, numeric <oper> ^SPLR: .....

^SPLR: <index2>, numeric <oper> OK/ERROR/+CME ERROR

Parameter

<index1>              Location number where the read of the entry starts

<index2>              Location number where the read of the entry ends

<oper>                  Network operator in numeric form

AT^SPLW

Write an entry to the preferred-operator list

Test command AT^SPLW=?

Response

^SPLW: (list of supported <index>s)

OK/ERROR/+CME ERROR

Parameter

<index>                 Location number

Write command

AT^SPLW=<index>[,

<oper>]

Parameter

<index>

<oper>

Response

OK/ERROR/+CME

Location number at which the entry is written

Network operator in numeric form

ERROR

 

AT^SCNI

Output call number information

Test command AT^SCNI=?

Response OK

Execute command AT^SCNI

Response

^SCNI: 1[,<cs>[,<number>,<type>]]<CR><LF>

^SCNI: 2[,<cs>[,<number>,<type>]]<CR><LF>

^SCNI: 3[,<cs>[,<number>,<type>]]<CR><LF>

^SCNI: 4[,<cs>[,<number>,<type>]]<CR><LF>

^SCNI: 5[,<cs>[,<number>,<type>]]<CR><LF>

^SCNI: 6[,<cs>[,<number>,<type>]]<CR><LF>

^SCNI: 7[,<cs>[,<number>,<type>]]

OK/ERROR/+CME ERROR

Parameter

  <cs>           Call status of affiliated call number ( first parameter)

0 Call on hold 1   Active call

2 Waiting call <number> Telephone number

  <type>         Type of number

AT^SNFV

Set the volume

Test command AT^SNFV=?

Response

^SNFV: (list of supp

Parameter

<vol>

        

orted <vol>s)

Value range of volume (0 to 4)

(0 low, ..., 4 max. volume;   approx. 3 dB/level)

Read command AT^SNFV?

Response

^SNFV: <vol>

Parameter

<vol>

See Test command

Write command AT^SNFV=<vol>

Parameter

<vol>

Response

OK/ERROR

See Test command

AT^SNFS

Select NF hardware

Test command AT^SNFS=?

Response

^SNFS: (list of supported <dev>s)

Parameter

<dev>           0 Cell phone mode

1 Handsfree

Read command AT^SNFS?

Response

^SNFS: <dev>

Parameter

<dev>                    See Test command

Note: Volume should be temporarily set to „0“ before NF hardware is changed.

Write command AT^SNFS=<dev>

Parameter

<dev>                    See Test command

Response

OK/ERROR

 

AT^SRTC

Set the ringing tone

Test command AT^SRTC=?

Response

^SRTC: (list of supported <type>s), (list of supported <vol>s)

Parameter

  <type>          1-X    Number of ringing tone

0        Mutes the ringing tone; when MTC is set, the phone does not ring and the volume is ignored

<vol>            0-Y    Volume of ringing tone

Read command AT^SRTC?

Response

^SRTC: <type>, <vo

Parameter

<type>

l>, <ringing>

See Test command

 

<vol>

See Test command

 

<ringing>

0       Test-ring is switched off

1       Test-ring is switched on

Write command

AT^SRTC=[<type>][,

<vol>]

Parameter

<type>

<vol>

Response

OK/ERROR

See Test command

See Test command

Execute command AT^SRTC

Response

The ringing tone sounds on the current NF device; it is selected using

”AT+CNFS” until AT^SRTC is called up again

OK/ERROR/+CME ERROR

Note: If an MTC arrives while the test-ring is active, the latter is switched off and the ”normal” ring is switched on.

AT^SCID

Output card ID

Test command AT^SCID=?

Response OK/ERROR/+CME ERROR

Execute command AT^SCID

Response

^SCID: <cid>

OK/ERROR/+CME ERROR

Parameter

  <cid>                     Number of SIM card

AT^SCKS

Output SIM card status

Test command AT^SCKS=?

Response

^SCKS: (list of supported <n>s)

Parameter

<n>              0  Suppresses the unexpected messages 1   Outputs the unexpected messages

Read command AT^SCKS?

Response

^SCKS: <n>, <m>

Parameter

  <m>             0        No card

                           1       Card in card reader

Write command AT^SCKS=<n>

Parameter

  <n>                       See Test command

Response

OK/ERROR

 

Unexpected message ^SCKS: <m> See Read command

 

AT^SPIC

Output PIN counter

Test command AT^SPIC=?

Response OK/ERROR/+CME ERROR

Execute command AT^SPIC

Response

^SPIC: <counter>

OK/ERROR/+CME ERROR

Parameter

<counter>              Number of tries still available to enter the <passwd. The command ”AT+CPIN?” must be used to check which password is currently needed.

AT^SMGO

SMS overflow indicator

Test command AT^SMGO=?

Response

^SMGO: (list of supported <n>s)

OK/ERROR/+CME ERROR

Parameter

<n>              0       Disable

                         1        Enable

Read command AT^SMGO?

Response

^SMGO: <n>,<mode>

OK/ERROR/+CME ERROR

 

Parameter

<n>                       See Test command

<mode>        0       Space still available

1             SMS buffer is full (chip card)

2             Buffer is full and new message that should be sent to the telephone is present in the SC

Write command AT^SMGO=<n>

Parameter

<n>                       See Test command

Response

OK/ERROR/+CME ERROR

 

Unexpected message ^SMGO: <mode>  See Read command

 

AT^SMGL

List SMS (without status change from unread to read) Revision according to GSM 07.05 Version 4.7.0

Test command AT^SMGL=?

Response

^SMGL: (lis

Parameter

<stat>

              0

t of supported <stat>s)

”REC UNREAD”: received unread messages (default)

 

              1

”REC READ”:     received read messages

 

              2

”STO UNSENT”: stored unsent messages

 

              3

”STO SENT”:      stored sent messages

 

              4

”ALL”:                 all messages

Write command

AT^SMGL

[=<stat>]

Parameter <stat>

See Test command

 

Response

If PDU mode (+CMGF=0) and command is successful:

^SMGL: <index>,<stat>,[<alpha>],<length>

<CR><LF><pdu>

[<CR><LF>^SMGL: <index>,<stat>,[alpha],<length>

<CR><LF><pdu>

[...]]

 

Parameter

<pdu>

otherwise: +CMS ERROR: <err

The PDU begins with the service-center address (according to GSM04.11), followed by the TPDU according to GSM03.40 in hexadecimal format

> 

AT^SMGR

Read SMS record without Changing unread->read Syntax like AT+CMGR

Test command AT^SMGR=?

Response OK

 

Write command

AT^SMGR=

<index>

Parameter <index>

Index of message in selected memory <mem1>

 

Response

If PDU mode (+CMGF=0) and command are successful:

^SMGR: <stat>,[<alpha>],<length><CR><LF><pdu>

Parameter

<pdu> Siehe “AT+CMGL” otherwise:

+CMS ERROR: <err>

AT^SMSO

Switch device off

Test command AT^SMSO=?

Response OK

 

Execute command AT^SMSO

Response OK

Device switches off

 

AT^SLNG

Language settings

Test command AT^SLNG=?

Response

^SLNG: (list of supported languages <lng>s)

Parameter:

<lng>: Integer; language coded according to GSM 03.38 or mobile-specific language (>100)

Read command AT^SLNG?

Response ^SLNG: <lng>

Write command AT^SLNG=<lng>

Response OK/ERROR/+CME ERROR

AT^SSTK

SIM Toolkit

Test command AT^SSTK=?

Response

^SSTK: <profile>

Parameter:

<profile>                ME profile according to GSM

11.14

Write command

AT^SSTK=<length>[,<mode>]<CR>PDU

is given<ctrl-Z/ESC>

Response:

OK/ERROR/CME E

Parameter:

<length>:

RROR

Length of PDU in bytes

 

<mode>:

0: Single command

1: Sequence of commands

 

<pdu>:

SIM Toolkit commands, see GSM 11.14

 

Limitation:

The maximum PDU length is 176 bytes.

AT^SBNW

Binary Write

Test command AT^SBNW=?

Response

OK/ERROR/+CME ERROR

Parameter:

  <type>             „bmp“

^SBNW: ((list of supported <types>s, list of supported <subtype>s))

bitmap

Windows bitmap format without compression; 2/16/256 colours, at least 97x26 pixels

 

<subtype>

0                 shown permanently when

registered in home network

1                 shown temporarily,

deletet by more important display contents

 

„mid“

ring tones in standard MIDI format 0, without polyphony specification: http://www.midi.org

 

<subtype>

0 first (and only) entry of type “mid”

 

„vcs“

vcal format specification: http://www.imc.org/pdi

 

 

               <subtype>        0         first entry of type “vcs”

                                            1         entry of type “vcs”

...

<actNumber>   0          deletes entry of the act. subtype other    actual packet number

<maxNumber> maximum number of packets

Write command

AT^SBNW=<type>,<subtype>,

[<actNumber>[,

<maxNumber>]]<CR>PDU is given<ctrl-Z/ESC>

Response

OK/ERROR/+CME ERROR

Parameter:

<type>             see Test commnd

<subtype>       see Test commnd

<actNumber>   see Test commnd

<maxNumber> see Test commnd

Note:

-It is not possible to upload data when a call is active or in progress.

 If a call is active the mobile responses with +CME

ERROR: PHONE BUSY and the  actual upload sequence is aborted and all data packets are discarded.

-If uploaded data is not useable (e.g. wrong data format) the mobile responses with +CME ERROR: INV CHAR IN TEXT after the last packet is uploaded.

-To get the extended +CME-ERROR-responses AT+CMEE=2 has to be sent before.

Otherwise the mobile respones only with ERROR .  (see GSM07.07)

-If <actNumber> and <maxNumber> during the upload are omitted, the mobile aborts the whole input sequence for the current subtype.

-If <actNumber> is 0 during the upload and <maxNumber> is ommitted, the mobile deletes the actual record with index <subtype>

-Packets have to be uploaded in the right order!

-Limitation:The maximum pdu size is 176 bytes (or 352 characters)

See Appendix B for examples.

 

AT^SBNR

Binary Read

Test command AT^SBNR=?

Response

OK/ERROR/+CME

Parameter:

<type>

^SBNR: (list of supported  <types>s, (list of supported  <subtype>s))

ERROR see AT^SBNW command

 

<subtype>

see AT^SBNW command

Write command AT^SBNR=<type>,<subtype>

Response

^SBNR: <type>,<subtype>,1,<maxNumber>

<CR><LF><data><CR><LF>

^SBNR: <type>,<subtype>,2,<maxNumber>

<CR><LF><data><CR><LF>[...] OK/ERROR/+CME ERROR

Parameter:

<type>             see AT^SBNW command

<subtype>       see AT^SBNW command

<data> data in hexadecimal form (PDU) <maxNumber> see AT^SBNW command

See Appendix B for examples.


 

1.2.4.  Summary of All Unexpected Messages

Message

Meaning

+CREG: <stat>

Network registration

+CLIP: <num>

Telephone number of caller

+CMTI:

<mem>,<index>

Indication of a new short message

+CMT:

,<length><CR><LF>

<pdu>

Short message

+CSSI: <code1>

+CSSU: <code2>

Supplementary service intermediate/unsolicited result code

^SMGO: <mode>

SMS overflow indicator

^SCKS: <m>

Message indicating whether card has been removed or inserted

^SACM: <m>

Message indicating if ACM has reached the maximum value ACMmax


Так же в этом разделе:
 
MyTetra Share v.0.65
Яндекс индекс цитирования