GM47/GM48 INTEGRATOR’S MANUAL
258
LZT 123 7263 R1C
Text Mode
Sends a message from a TE to the network (SMS-SUBMIT). Message
reference value <mr> is returned to the TE on successful message
delivery. Optionally, when AT+CSMS <service> value is 1 and there is
network support, <scts> is returned. Values can be used to identify
message upon unsolicited delivery status report result code. If sending
fails in a network or an ME error, final result code +CMS ERROR:
<err> is returned. This command is abortable.
• The entered text (GSM 03.40 TP-Data-Unit) is sent to address <da>
and all current settings (refer Set Text Mode Parameters +CSMP and
Service Centre Address +CSCA) are used to construct the actual
PDU in the ME/TA.
• The TA shall send a four character sequence
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after the
command line is terminated with <CR>; after that text can be
entered from the TE to the ME/TA.
• The DCD signal is in the ON state as text is entered.
• The echoing of entered characters back from the TA is controlled by
V.25ter echo command E.
• The entered text should be formatted as follows:
if <dcs> (set with +CSMP) indicates that GSM 03.38 default
alphabet is used and <fo> indicates that GSM 03.40 TP-User-
Data-Header-Indication is not set:
<length> Description
Integer type Value indicating in PDU mode (+CMGF=0), the length of
the actual TP data unit in octets (i.e. the RP layer SMSC
address octets are not counted in the length)
<ackpdu> Description
... GSM 03.40 RP-User-Data element of RP-ACK PDU; format is
same as for <pdu> in case of SMS, but without GSM 04.11
SC address field and parameter shall be bounded by
double quote characters like a normal string type
parameter
Description Command Possible Responses
Send message AT+CMGS=<da>
[,<toda>] <CR>
Text is entered<ctrl-Z/
ESC>
•+CMGS:
<mr>[,<scts>]
•+CMS ERROR: <err>
•OK
•ERROR
Show if the command
is supported
AT+CMGS=? •OK
•ERROR