Text mode – Sony Ericsson GM47 User Manual
Page 263

15. SHORT MESSAGE SERVICES - POINT TO POINT
263
LZT 123 7263 R1C
Text Mode
Sends a command message from a TE to the network (SMS-
COMMAND). The entering of text is as specified in the send message
command, +CMGS, but the format is fixed to be a sequence of two IRA
character long hexadecimal numbers, which the ME/TA converts into
8-bit octets (refer to +CMGS). Message reference value <mr> is
returned to the TE on successful message delivery. Optionally, when
+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.
Description
Command
Possible Responses
Send command
message
AT+CMGC=<fo>,<ct>[,<pid>
[,<mn>[,<da>[,<toda>]]]]
<CR>
Text is entered<ctrl-Z/ESC>
• if PDU mode
(+CMGF=1) and
sending successful:
+CMGC:
<mr>[,<scts>]
• if sending fails:
+CMS ERROR: <err>
• OK
• ERROR
Show if the
commands is
supported
AT+CMGC=?
• OK
• ERROR
<fo>
Description
0
First octet of SMS-DELIVER in integer format
1
First octet of SMS_SUBMIT in integer format
2
First octet of SMS-STATUS-REPORT in integer format
3
First octet of SMS-COMMAND in integer format
<ct>
Description
Integer
GSM 03.40 TP-Command-Type. Default value is 0
<pid>
Description
0-255
Protocol Identifier in integer format. Default value is 0,
according to 07.05 section 9.2.3.9
<mn>
Description
Integer
GSM 03.40 TP-Message-Number