13. SHORT MESSAGE SERVICES - POINT TO POINT
185
LZT 123 7361 R1B
• <length> must indicate the number of octets coded in the TP layer
data unit to be given (i.e. SMSC address octets are excluded).
• The TA shall send 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 is in the ON state as PDU is given.
• The echoing of given characters back from the TA is controlled by
V.25ter echo command E.
• The PDU shall be hexadecimal format (similarly as specified for
<pdu>) and 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.
Text Mode
Sends a message from a TE to the network (SMS-SUBMIT). Message
reference value <mr> is returned to the TE on successful message
delivery. Optionally, when AT+CSMS <service> value is 1 and there is
<mr> Description
Integer type GSM 03.40 TP-Message-Reference in integer format
<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)
<ackpdu> Description
... 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
Description Command Possible Responses
Send message AT+CMGS=<da> [,<toda>]
<CR>
Text is entered<ctrl-Z/
ESC>
• +CMGS: <mr>[,<scts>]
• +CMS ERROR: <err>
•OK
• ERROR
Show if the command is
supported
AT +C M GS =? •OK
• ERROR