4 at command syntax, 1 using parameters, At command syntax – Siemens TC63 User Manual

Page 18: Using parameters, Table 1.4, Types of at commands and responses, For d

Advertising
background image

TC63 AT Command Set

1.4 AT Command Syntax

s

TC63_ATC_V00.490

Page 18 of 501

5/24/05

Confidential / Draft - Do not copy

1.4

AT 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

1.4.1

Using 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

Example 2: Using default parameter values for optional parameters

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.

AT+CCUG?

Query current setting

+CCUG: 1,10,1

OK

AT+CCUG=,9

Set only the middle parameter

OK

AT+CCUG?

Query new setting

+CCUG: 1,9,1

OK

AT+CFUN=7,0

Activate CYCLIC SLEEP mode, don't reset ME

OK

AT+CFUN?

Query ME mode

+CFUN: 7

OK

AT+CFUN=

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

OK

+CFUN: 1

OK

Advertising