Send command

AT+CMGC=<length><CR>

•_ if PDU mode

message

<pdu><ctrl-Z/ESC>

(+CMGF=0) and

 

 

 

 

sending successful:

 

 

+CMGC:

 

 

<mr>[,<ackpdu>]

 

 

•_ if sending fails:

 

 

+CMS ERROR: <err>

 

 

•_ OK

 

 

•_ ERROR

Show if the

AT+CMGC=?

•_ OK

command is

 

•_ ERROR

supported

 

 

 

 

 

 

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.

<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

 

 

Owner’s Manual

Rev 1.0

Page 201 of 201