User guide
Developers guidelines | AT commands
184 June 2010
AT+CMGS Send message (ver. 2)
<length>:
<length> Description
Integer type Value indicating in PDU mode (AT+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: GSM 04.11 SC address fol-
lowed by GSM 03.40 TPDU in hexadecimal format.
ME/TA converts each octet of TP data unit into two
IRA character long hexadecimal number, for exam-
ple, 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 hexadeci-
mal format
<mem1>: See AT+CPMS
Description: Sends message from a TE to the network (SMS-SUBMIT). Message refer-
ence value <mr> is returned to the TE on successful message delivery.
Optionally (when AT+CSMS <service> value is 1 and network supports it)
<ackpdu> is returned. Values can be used to identify message upon unso-
licited delivery status report result code as follows:
• <length> must indicate the number of octets coded in the TP layer data
unit to be given (SMSC address octets are excluded).
• The TA sends a four character sequence
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after command
line is terminated with <CR>. After that PDU can be given from TE to
ME/TA.
• The DCD signal will be in ON state while PDU is given.
• The echoing of given characters back from the TA is controlled by
V.25ter echo command E.
• The PDU is in hexadecimal format (similarly as specified for <pdu>) and
is given in one line. ME/TA converts this coding into the actual octets of
PDU.
• When the length octet of the SMSC address (given in the <pdu>) equals
zero, the SMSC address set with command Service Centre Address
+CSCA is used.
• Sending can be cancelled by giving <ESC> character (IRA 27).
• <ctrl-Z> (IRA 26) must be used to indicate the ending of PDU.










