80591ST10886A Rev.2
Page
112
of
200
2018-07-02
Type
Command
Possible Return Result
Instruction
Test Command
AT+CMGS=?
OK
-
Write Command
If text mode;
AT+CMGS=<da>[,<toda>
]<cr>
text is entered
<ctrl+z/esc>
If PDU mode;
AT+CMGS=<length><cr>
PDU mode is given
<ctrl+z/esc>
If text mode and sending
successful;
+CMGS: <mr>
If PDU mode and sending
successful;
+CMGS: <mr>
Parameter Description
parameter
Value
Instruction
<da>
-
Destination-Address, Address-Value field in string format;
BCD numbers (or GSM 7 bit defaultalphabetcharacters) are
converted to characters of the currently selected TE
character set, type of address given by <toda>.
<toda>
-
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). The range of value is from
128 to 255.
Example
AT+CMGS=”18576408172”
> hellow rose
+CMGS: 37
OK
Sends message
Input message content
12.11. AT+CMSS Send Message from Storage