User Manual

16. SHORT MESSAGE SERVICES - POINT TO POINT
249
LZT 123 7263 R1A
16.9 AT+CMGC Send Command
PDU Mode
Sends a command message from a TE to the network (SMS-
COMMAND). The entering of PDU is as specified in the send message
command, +CMGS. Message reference value <mr> is returned to the
TE on successful message delivery. Optionally (when +CSMS
<service> value is 1 and network supports) <ackpdu> 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.
<da> Description
String type GSM 03.40 TP-Destination-Address Value in string format;
BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE
character(refercommand+CSCS).Typeofaddressgiven
by <toda>
<toda> Description
String type GSM 04.11 TP-Destination- Address Type-of-Address octet
in integer format (when first character of <da> is +(IRA 43)
default is 145, otherwise default is 129
<scts> Description
String type GSM 03.40 TP-Service-Centre-Time-Stamp in time-string
format (refer <dt>)
<mr> Description
Integer type GSM 03.40 TP-Message-Reference in integer format
Description Command Possible Responses
Send command
message
AT+CMGC=<length><CR>
<pdu><ctrl-Z/ESC>
•ifPDUmode
(+CMGF=0) and
sending successful:
+CMGC:
<mr>[,<ackpdu>]
•ifsendingfails:
+CMS ERROR: <err>
•OK
•ERROR
Show if the
command is
supported
AT+CMGC=? •OK
•ERROR