Sms; Managing Stored Messages In The G24 Memory - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

SMS

SMS

Managing Stored Messages in the G24 Memory

AT+CPMS="me"
command
+CPMS: 11,61,11,61,2,20
OK
AT+CMGF=1
OK
AT+CMGL="ALL"
+CMGL: 225,"STO UNSENT","054565132"
<Message body>
+CMGL: 223,"STO UNSENT","4565029" //Example of G24 response
<Message body>
+CMGL: 222,"STO SENT","054565029"
<Message body>
+CMGL: 221,"STO SENT","054565132"
<Message body>
+CMGL: 220,"STO UNSENT",""
<Message body>
OK
AT+CMGL="STO UNSENT"
unsent messages)
+CMGL: 225,"STO UNSENT","054565132"
<Message body>
+CMGL: 223,"STO UNSENT","4565029"
<Message body>
+CMGL: 220,"STO UNSENT",""
<Message body>
OK
AT+CMGR=225
+CMGR: "STO UNSENT","054565132"
<Message body>
OK
AT+CMGR=9
+CMS ERROR: invalid index
AT+CPMS="sm"
+CPMS: 2,20,11,61,2,20
OK
AT+CMGR=9
+CMGR: "REC UNREAD","+97254565132",,"05/02/18,"21:22:23+08"
<Message body>
OK
AT+CSDH=1
OK
AT+CMGR=9
+CMGR: "REC UNREAD","+97254565132",,"05/02/18,"21:22:23+08",145,4,0,0,"+
97254120032",145,<messsage length>
<Message body>
OK
4-10
//Select NVM as preferred memory storage using the +CPMS
// move to TEXT mode
//List all messages in memory storage
//List all messages of a certain type (for example, stored
//Read any message from the list using its index
AT Commands Reference Manual
December 31, 2007

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents