Data Sheet

Smart Machine Smart Decision
<tooa> GSM 04.11 TP-Originating-Address Type-of-Address octet
in integer format (default refer<toda>)
<tosca> GSM 04.11 RP SC address Type-of-Address octet in integer
format (default refer <toda>)
<vp> Depending on SMS-SUBMIT <fo> setting: GSM 03.40
TP-Validity-Period either in integer format (default 167) or in time-string
format (refer <dt>)
Parameter Saving NO_SAVE
Mode
Max Response 5s
Time
Reference Note
3GPP TS 27.005
4.2.5 AT+CMGS Send SMS Message
AT+CMGS Send SMS Message
Test Command Response
AT+CMGS=? OK
Parameters
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format(string should be included in quotation marks); BCD numbers
(or GSM default alphabet characters) are converted to characters of the
currently selected TE character set (specified by +CSCS in 3GPP TS
27.007); type of address given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet
in integer format (when first character of <da> is + (IRA 43) default is 145,
otherwise default is 129)
<length> Integer type value (not exceed 160 bytes) indicating in the
text mode (+CMGF=1) the length of the message body <data> (or
<cdata>) in characters; or 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)
Write Command
1) If text mode
(+CMGF=1):
+CMGS=<da>[,
<toda>]
<CR>text is
entered
<ctrl-Z/ESC>
ESC quits without
sending
2) If PDU mode
(+CMGF=0):
+CMGS=<length
>
Response
<CR>PDU is
TA sends message from a TE to the network (SMS-SUBMIT). Message
given
reference value <mr> is returned to the TE on successful message delivery.
<ctrl-Z/ESC>
Optionally (when +CSMS <service> value is 1 and network supports)
<scts> is returned. Values can be used to identify message upon unsolicited
delivery status report result code.
1) If text mode(+CMGF=1) and sending successful:
+CMGS: <mr>
OK
2) If PDU mode(+CMGF=0) and sending successful:
SIM800 Series_AT Command Manual_V1.05 119 2014-07-31