GSM/GPRS Module
M35
AT Commands Manual
M35
_AT_Commands_Manual Confidential / Released
94
/
186
Parameter
8.11. AT+CMGC Send SMS Command
AT+CMSS=<index>[,<da>[,<toda>]]
TA sends message with location value
<index>
from
message storage
<mem2>
to the network (SMS-SUBMIT). If
new recipient address
<da>
is given, it shall be used instead
of the one stored with the message. Reference value
<mr>
is
returned to the TE on successful message delivery. Values
can be used to identify message upon unsolicited delivery
status report result code.
1) If text mode (
+CMGF=1
) and sent successfully:
+CMSS:
<mr> [,<scts>]
OK
2) If PDU mode(
+CMGF=0
) and sent successfully;
+CMSS:
<mr> [,<ackpdu>]
OK
3) If error is related to ME functionality:
+CMS ERROR: <err>
Reference
GSM 07.05
<index>
Integer type; value in the range of location numbers supported by the associated memory
<da>
GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by
+CSCS
in TS 07.07); type of address given by
<toda>
<toda>
GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
character of
<da>
is + (IRA 43) default value is 145, otherwise default value is 129)
<mr>
GSM 03.40 TP-Message-Reference in integer format
<scts>
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer to
<dt>
)
<ackpdu>
In the 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
number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimal format
AT+CMGC Send SMS Command
Test Command
Response