LISA-C200 & FW75-C200
AT commands examples - Application Note
CDMA-CS-12000
Preliminary
Page 28 of 41
12
SMS AT Commands
12.1
Reading a single message
Command
Response
Description
AT+CMEE=2
OK
Set verbose error messages
AT+CNMI=1,1
OK
Enables the URC to the DTE when an incoming SMS is
received by the MT.
AT+CNMI?
+CNMI: 1,1,0
OK
Checking the above parameters are set and; the URC
will be forwarded to the TE, and SMS deliver is stored
in ME and indication of memory Location is sent to TE
+CMTI: “ME”,1
URC that a new SMS has just arrived, has been stored
in memory location 1
AT+CMGR=1
+CMGR: “REC
UNREAD”,”8585596895”,”12/06/1
5,15:58:25+00”,,129,15
Test Number One
OK
Allows reading the message stored in memory index
1, receipt shows it was unread, originating address is
“8585596895”, date stamp reflects June 15
th
of 2012
@ 15:58:25 Pacific Time, Type of Address is 129
(octet), 15 characters of message, and message itself
is “Test Number One”.
AT+CMGR=1
+CMGR: “REC
READ”,”8585596895”,”12/06/15,
15:58:25+00”,,129,15
Test Number One
OK
Allows reading the message stored in memory index
1, receipt shows it was read, originating address is
“8585596895”, date stamp reflects June 15
th
of 2012
@ 15:58:25 Pacific Time, Type of Address is 129
(octet), 15 characters of message, and message itself
is “Test Number One”.
This step is optional, it helps verify the
change of status of the message from
“unread” to “read”.
12.2
Listing all messages
The use of AT+CMGL only lists the messages stores in the memory indexes, it doesn’t write the memory
flag as message “read”.
Default value will list only “Rec Unread” (Received Unread) messages.
Command
Response
Description
AT+CMEE=2
OK
Set verbose error messages
AT+CNMI?
+CNMI:0,0,0
OK
Checks the status of the URC to the DTE when a SMS
is received from the MT.
AT+CNMI=1,1
OK
Sets module SMS parameters to:
Forward the result codes to TE
SMS deliver is stored in ME and indication
of memory location I ssent to TE:
+CMTI: “ME”,<index>
AT+CNMI?
+CNMI: 1,1,0
OK
Confirms the settings to receive URC for incoming
SMS.
LISA-C
FW75