At Commands Originating From Gsm 07.05 For Sms; At+Cmgc Send An Sms Command - Siemens TC37 Module At Command Reference

At command set cellular engines
Table of Contents

Advertisement

AT Command Set

5 AT commands originating from GSM 07.05 for SMS

The SMS related AT Commands are according to the GSM 07.05 specification issued by ETSI
(European Telecommunications Standards Institute).

5.1 AT+CMGC Send an SMS command

Test command
AT+CMGC=?
Write command
if text mode (AT+CMGF=1):
AT+CMGC=<fo>,<ct>[,<pid>
[,<mn>[,<da>[,<toda>]]]]<CR>
text is entered <ctrl-Z/ESC>
Write command
if PDU mode (AT+CMGF=0):
AT+CMGC=<length><CR>
PDU is given <ctrl-Z/ESC>
+CMGC=?
Reference
GSM 07.05
TC3X_ATC_01_V04.00
Response
OK
Response
if text mode (+CMGF=1) and sending successful:
+CMGC: <mr>[,<scts>]
if sending fails:
+CMS ERROR: <err>
Response
if PDU mode (+CMGF=0) and sending successful:
+CMGC: <mr>[,<ackpdu>]
if sending fails:
+CMS ERROR: <err>
Parameter
<length> Length of PDU
<pdu> See "AT+CMGL"
<mr>
Message reference
<fo>
depending on the command or result code: first octet of
GSM 03.40 SMS-DELIVER, SMS-SUBMIT (default 17),
SMS- STATUS-REPORT, or SMS -COMMAND (default 2)
in integer format
GSM 03.40 TP-Command-Type in integer format (default 0)
<ct>
<pid>
GSM 03.40 TP-Protocol-Identifier in integer format (default
0)
<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)
<da>
GSM 03.40 TP-Destination-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet
characters) are converted into characters; type of address
given by <toda>
<scts>
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string
format (refer to <dt> )
Note
· After invoking the commands CMGW, CMGS, CMGC wait for the
prompt ">" before entering text or PDU.
· At baudrates below 19200 it is recommended to use the line
termination character only (refer to +ATS3, default <CR>, pg. 28)
before entering the text/pdu. Use of the line termination
character followed by the response formating character (refer to
+ATS4, default <LF>, pg. 28) can cause problems.
Page 120 of 204
29.05.2002

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tc35 moduleTc35 terminal

Table of Contents