Siemens MC55 AT manual AT Command Syntax, Using Parameters

Models: MC55 AT

1 475
Download 475 pages 54.64 Kb
Page 17
Image 17

1.4AT Command Syntax

The "AT" or "at" prefix must be set at the beginning of each command line. To terminate a command line enter <CR>. Commands are usually followed by a response that includes "<CR><LF><response><CR><LF>". Through- out this document, only the responses are presented, <CR><LF> are omitted intentionally.

Table 1.4: Types of AT commands and responses

AT command type

Syntax

Function

Test command

AT+CXXX=?

The mobile equipment returns the list of parameters and value

 

 

ranges set with the corresponding Write command or by internal

 

 

processes.

Read command

AT+CXXX?

This command returns the currently set value of the parameter or

 

 

parameters.

Write command

AT+CXXX=<...>

This command sets user-definable parameter values.

Exec(ution) command

AT+CXXX

The execution command reads non-variable parameters deter-

 

 

mined by internal processes in the GSM engine.

1.4.1Using Parameters

Optional parameters are enclosed in square brackets. If optional parameters are omitted, the current settings are used until you change them.

Optional parameters or subparameters can be omitted unless they are followed by other parameters. If you want to omit a parameter in the middle of a string it must be replaced by a comma. See also example 1.

A parameter value enclosed in square brackets represents the value that will be used if an optional parameter is omitted. See also example 2.

When the parameter is a character string, e.g. <text> or <number>, the string must be enclosed in quotation marks, e.g. "Charlie Brown" or "+49030xxxx". Symbols in quotation marks will be recognized as strings.

All spaces will be ignored when using strings without quotaton marks.

It is possible to omit the leading zeros of strings which represent numbers.

If an optional parameter of a V.250 command is omitted, its value is assumed to be 0.

Example 1: Omitting parameters in the middle of a string

AT+CCUG?

Query current setting

+CCUG: 1,10,1

 

OK

Set only the middle parameter

AT+CCUG=,9

OK

Query new setting

AT+CCUG?

+CCUG: 1,9,1

 

OK

 

Example 2: Using default parameter values for optional parameters

AT+CFUN=5

Activate CYCLIC SLEEP mode, don't reset ME

OK

Query ME mode

AT+CFUN?

+CFUN: 5

 

OK

Set ME back to normal (default parameters: 1,0)

AT+CFUN=

OK +CFUN: 1

OK

MC55_ATC_V04.00

Page 17 of 475

3/17/06

Confidential / Released

 

 

Page 17
Image 17
Siemens MC55 AT manual AT Command Syntax, Using Parameters