EasyManua.ls Logo

Siemens TC37 Module - 5 AT Commands Originating from GSM 07.05 for SMS; AT+CMGC Send an SMS Command

Siemens TC37 Module
204 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT Command Set
TC3X_ATC_01_V04.00 Page 120 of 204 29.05.2002
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=?
Response
OK
Write command
if text mode (AT+CMGF=1):
AT+CMGC=<fo>,<ct>[,<pid>
[,<mn>[,<da>[,<toda>]]]]<CR>
text is entered <ctrl-Z/ESC>
Response
if text mode (+CMGF=1) and sending successful:
+CMGC: <mr>[,<scts>]
if sending fails:
+CMS ERROR: <err>
Write command
if PDU mode (AT+CMGF=0):
AT+CMGC=<length><CR>
PDU is given <ctrl-Z/ESC>
+CMGC=?
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
<ct> GSM 03.40 TP-Command-Type in integer format (default 0)
<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> )
Reference
GSM 07.05
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.

Table of Contents