AT Commands Phone Terminal Terminated
102
AT+CMGD
Delete Message
AT+CMGC
Send Command
AT*ESTL
SMS Template List Edit
Description:
Deletes message from preferred message <mem1> (see
) storage location
<index>. If deletion fails,
is returned.
Execution command:
AT+CMGD=
<index>
Test command:
AT+CMGD=?
Shows if the command is supported.
Parameter:
<index>:
Integer; value in the range of location numbers supported by the associated memory.
Description:
Sends a command message from a TE to the network (SMS-COMMAND). The
entering of PDU is done similarly to specified in
. <mr> is returned after
successful message delivery. Optionally (when the network supports it, and the
AT+CSMS <service>=’1’), <ackpdu> is returned. Values can be used to identify
message upon unsolicited delivery status report result code. If sending fails in a
network or if there is an ME error,
is returned.
Execution command:
AT+CMGC=
<length>
<pdu><‘ctrl-z/ESC’>
Execution command
response:
+CMGC: <mr>,[<ackpdu>]
Test command:
AT+CMGC=?
Shows if the command is supported.
Parameters:
<length>:
Integer; with
=’0’, this value indicates the length of the actual TP data
unit (in octet units).
<pdu>:
In case of SMS
: GSM 04.11 SC address followed by GSM 03.40 TPDU in
hexadecimal format. ME/TA converts each octet of TP data unit into two
IRA-character long hexadecimal numbers.
In case of CBS
: GSM TPDU in hexadecimal format.
<mr>:
Integer; GSM 03.40 TP-Message-Reference.
<ackpdu>:
GSM 03.40 RP-User-Data element of RP-ACK PDU; format is the same as for <pdu>
in case of SMS, but without GSM 04.11 SC address field. The parameter is bounded by
double quotation marks like a normal string-type parameter.
Description:
Adds an SMS template, specified by <text>, to the list of SMS templates at the
position specified by <stix>. If the list already contains an entry in the <stix> position,
the old template is overwritten by the new template.
If the <text> parameter is omitted, the command deletes the SMS template from the
<stix> position.
Set command:
AT*ESTL=
<stix>[,<text>]
Read command:
AT*ESTL?
Displays the current parameter settings.
Read command
response:
*ESTL: <stix1>,<text1>[<stix2>,<text2>[...]]