User Manual
PAGE 52 GPRS / GSM MODEM Configuration MAN4005-04-EN
12. AT+CMGR Read Message
13. AT+CMGS Send Message - Message Sending and Writing Commands
AT+CMGS Send Message
Command Function Sends message from the TE to the network.
Command Functional Group Short Message Services
Command Format Query
Response
N/A
N/A
Write Format
Response
N/A
N/A
Read Format
Response
N/A
N/A
Execution Format
Response
AT+CMGS=”<da>”,[<toda>]
Enter text <cntl Z>
+CMGS <mr>
OK
Parameter Values
<da> Destination address
<mr> Message reference
Notes The example provided is for text mode (AT+CMGF=1). An in depth
understanding of PDU messages is required for PDU mode.
AT+CMGR Read Message
Command Function Read stored messages.
Command Functional Group Short Message Services
Command Format Query
Response
N/A
N/A
Write Format
Response
N/A
N/A
Read Format
Response
N/A
N/A
Execution Format
Response
AT+CMGR=<index>
+CMGR: <stat>, <oa>, <scts>, [<tooa>,
<fo>, <pid>, <sca>, <tosca>,
<length>]<CR><LF><data>
OK
Parameter Values
<stat>
<oa>
Status of message (Rec Read, Rec
Unread, Sto Unsent, Sto Sent)
Originating address
<scts>
<tooa>
<fo>
<pid>
<sca>
<tosca>
<length>
Service center time stamp
Originating address – type of address
First octet
Protocol identifier
Service center address
Type of address
Length of message in octets
Notes
The above parameters are for text mode.
Page 52 of 62 ECN # 956