User guide

Developers guidelines | AT commands
188 June 2010
AT+CMGC Send command (ver. 1)
Description: Sends a command message from a TE to the network (SMS-COMMAND).
The entering of PDU is done in a similar way as with the command Send
Message, AT+CMGS. Message reference value <mr> is returned to the TE
on successful message delivery. Values can be used to identify the
message upon unsolicited delivery status report result code.
Execution
command: AT+CMGC=<length><CR><pdu><ctrl-Z/ESC>
Execution command
response: If PDU mode (+CMGF=0) and sending successful:
+CMGC: <mr>[,<ackpdu>]
Test command: AT+CMGC=? Shows if the command is supported.
Parameters:
<length>:
<length> Description
Integer type Value indicating in PDU mode (+CMGF=0), the
length of the actual TP data unit in octets. The RP
layer SMSC address octets are not counted in the
length
<pdu>:
<pdu> Description
Hexadecimal value In the case of SMS: 3G TS 24.011 SC address fol-
lowed by 3G TS 23.040 TPDU in hexadecimal for-
mat. ME converts each octet of TP data unit into
two IRA character long hexadecimal number. For
example, octet with integer value 42 is presented to
TE as two characters 2A (IRA 50 and 65).
In the case of CBS: 3G TS 23.041 TPDU in hexa-
decimal format
<mr>:
<mr> Description
Integer type 3GPP TS 23.040 TP-Message-Reference in integer
format
<ackpdu>:
<ackpdu> Description
Hexadecimal value GSM 03.40 RP-User-Data element of RP-ACK
PDU. Format is the same as for <pdu> in case of
SMS, but without GSM 04.11 SC address field. The
parameter is bounded by double quote characters
like a normal string type parameter. Not supported