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.
<CR> = ASCII character 13
<CTRL-Z> = ASCII character 26
<mr> = Message Reference
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