GM29 INTEGRATOR’S MANUAL
188
LZT 123 7361 R1A
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 ba ck 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:
if TE character set other than “HEX” (refer command Select
TE Character Set +CSCS in TS 07.07): ME/TA converts the
entered text into GSM alphabet according to rules of Annex
A; backspace can be used to delete last character and
<ackpdu> Description
... GSM 03.40 RP- User-Data el ement of RP-A CK 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