Extended AT Commands Manual Page 41 of 70 2009-06-25
error, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure
Result Code for a list of <err> values. This command should be abortable.
- entered text (3GPP TS 23.040 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 ME/TA.
- the TA shall send a four character sequence <CR><LF><greater_than><space> (IRA 13, 10, 62, 32)
after command line is terminated with <CR>; after that text can be entered from TE to ME/TA.
- the DCD signal shall be in ON state while 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 3GPP TS 23.038 GSM 7 bit default alphabet is used and <fo>
indicates that 3GPP TS 23.040 TP-User-Data-Header-Indication is not set:
- if TE character set other than "HEX" (refer command Select TE Character Set +CSCS in 3GPP TS
27.007 ): ME/TA converts the entered text into the GSM 7 bit default alphabet according to rules of
Annex A; backspace can be used to delete last character and carriage returns can be used (previously
mentioned four character sequence shall be sent to the TE after every carriage return entered by the user);
- if TE character set is "HEX": the entered text should consist of two IRA character long hexadecimal
numbers which ME/TA converts into the GSM 7 bit default alphabet characters. (e.g. 17 (IRA 49 and 55)
will be converted to character Π (GSM 7 bit default alphabet 23)).
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is used or <fo> indicates that 3GPP TS 23.040
TP-User-Data-Header-Indication is set: the entered text should consist of two IRA character long
hexadecimal numbers which ME/TA converts into 8-bit octet (e.g. two characters 2A (IRA 50 and 65) will
be converted to an octet with integer value 42).
- sending can be cancelled by giving <ESC> character (IRA 27).
- <ctrl-Z> (IRA 26) must be used to indicate the ending of the message body.
Table 12. +CMGS action command syntax
Command Possible response(s)
if text mode (+CMGF=1):
+CMGS=<da> [,<callback_num>]
[,<toda>]
<CR>
text is entered<ctrl-Z/ESC>
if text mode (+CMGF=1) and sending
successful:
+CMGS: <mr>[,<scts>]
if sending fails:
+CMS ERROR: <err>
<Cmotech >
AT+CMGS="dest_addr"[,"callback_addr"]
[,<toda>]
+CMGS=?
8.1.1.16. 3G Send Message from Storage +CMSS
Execution command sends message with location value <index> from preferred message storage
<mem2> to the network (SMS-SUBMIT or SMS-COMMAND). If new recipient address <da> is given
given for SMS-SUBMIT, it shall be used instead of the one stored with the message. Reference
value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS
<service> value is 1 and network supports) <scts> is returned. Values can be used to identify