4 at command syntax, 1 using parameters, At command syntax 1.4.1 – Siemens Brodersen MC55 AT User Manual
Page 17: Using parameters, Table 1.4, Types of at commands and responses, At command syntax, For d
MC55_ATC_V04.00
Page 17 of 475
3/17/06
Confidential / Released
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
. Commands are usually followed by a response that includes "
". Through-
out this document, only the responses are presented,
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.
, 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=5
Activate CYCLIC SLEEP mode, don't reset ME
OK
AT+CFUN?
Query ME mode
+CFUN: 5
OK
AT+CFUN=
Set ME back to normal (default parameters: 1,0)
OK
+CFUN: 1
OK