AT+CMGS – Send SMS Command in Text Mode

The AT+CMGS command sends an SMS message to a GSM phone. In text mode this command is less powerful than in PDU mode but it is certainly easier to use.

Command Response
AT+CMGS=<number><CR><message><CTRL-Z> +CMGS:<mr>
OK

Parameters
<CR> = ASCII character 13
<CTRL-Z> = ASCII character 26
<mr> = Message Reference

Example
Set the GSM modem to Text Mode SMS and send a message to GSM number +31628870634.

AT+CMGF=1
OK
AT+CMGS="+31628870634"
> This is the text message.→
+CMGS: 198
OK

See also
AT+CMGF – Set SMS Text Mode or SMS PDU Mode


Download FREE trial

Download, install and use Diafaan SMS Server for free during a 30 day trial period.
Screenshots
Click to enlarge/shrink

Web app Web application
-
Diafaan SMS Server screenshot Full edition
-
Diafaan SMS Server screenshot Send log
-
Diafaan SMS Server screenshot Event logging