Confidential
USERS MANUAL
29(158)
Document number
Revision
1/198 17-4/FCP 101 3045 Uen
D
AT*ESCAN=1<CR>
In the example above, AT is the prefix. The CM52 module expects all commands to begin with the letters “AT”
or “at”. If the host application inadvertently begins a command with characters other than “AT” or “at”, the
CM52 ignore the characters and will not echo them. The CM52 will continue to ignore input until the characters
“AT” or “at” are received.
In the example above, the body,
*ESCAN=1,
includes commands and parameters. The termination character
cannot appear in the body.
The termination character may be selected using the ATS3 command. For more information, see chapter
4.8.3. The default value is CR
(IA5 0x0D).
In addition, the CM52 supports multiple AT commands embedded in a signal AT command string request.
However it is recommended that this feature be used with care. Response from the CM52 to multiple AT
commands embedded in a single AT command string can be confusing. The module will only return the status
of the last instructional command of the string.
Other syntax that is used in this manual:
< >
Name enclosed in angle brackets is a syntactical element. Do not use the angle brackets
when entering a command line.
[ ]
Square brackets are used to indicate an optional parameter of a command or an optional
part of a response. Do not use the brackets when entering a command.
Note:
In many cases the commas separating parameters are NOT optional when delimiting
a list of “optional” parameters. The commas are necessary to provide parameter matching
with the CM52 parser.
Example:
The following command sends SMS messages. It has several optional parameters, which under normal
circumstances do not need to be used. However, if an optional parameter is going to be specified, the
correct number of commas must be present to ensure the parameter that is specified lines up with the
correct parameter position.
AT+CSSM=”<da>”,<message>,[<msg_ref>],[<type>],[<udheader>],[<smheader>],[<callback>],
[<valPer>],[<defDel>],[<alert>],[<lang>]
AT+CSSM=”1234567890”,”Hello World”,,,,,,,,1
This example of the AT+CSSM command has provided the correct number of parameter placeholders for
the alert parameter to be specified. Also note that no additional commas are necessary because there
were no other parameters after the alert.
4.1.3.4
Output Response Syntax
The two characters defined in ATS3 (the terminating character) and ATS4 (Response formatting character) are
used in all responses, reason codes, and result codes. The default values are <CR> (IA5 0x0D) and <LF> (IA5
0x0A) respectively. The following examples illustrate how S3 and S4 are used with their default values.
Response with data
(CM52 response in gray)