BGS2T AT Command Set
1.4 AT Command Syntax
BGS2T_ATC_V01.301
Page 19 of 554
1/31/12
c
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.5:
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 quotation marks.
•
It is possible to omit the leading zeros of strings which represent numbers.
•
If an optional parameter of a ITU-T 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 ME.
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
Confidential / Released