Sony Ericsson GM48 Cell Phone User Manual


 
GM47/GM48 INTEGRATOR’S MANUAL
262
LZT 123 7263 R1C
15.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.
Description Command Possible Responses
Send command
message
AT+CMGC=<length><CR>
<pdu><ctrl-Z/ESC>
if PDU mode
(+CMGF=0) and
sending successful:
+CMGC:
<mr>[,<ackpdu>]
if sending fails:
+CMS ERROR: <err>
•OK
•ERROR
Show if the
command is
supported
AT+CMGC=? •OK
•ERROR
<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)
<pdu> Description
String In the case of SMS: GSM 04.11 SC address followed by
GSM 03.40 TPDU in hexadecimal format: ME/TA converts
each octet of TP data unit into two IRA character long
hexadecimal number (e.g. octet with integer value 42 is
presented to TE as two characters 2A (IRA 50 and 65))
In the case of CBS: GSM 03.41 TPDU in hexadecimal format
<mr> Description
Integer type GSM 03.40 TP-Message-Reference in integer format
<ackpdu> Description
String 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