Motorola G24 ユーザーズマニュアル
![Motorola](https://files.manualsbrain.com/attachments/83de88ba2280e7232128e8931d7cbd2a38dcc654/common/fit/150/50/0293f422c4d32e7e0f777d5e11bc33c83ea5627f71ddf155374c02a23d9a/brand_logo.png)
SMS
4-10
AT Commands Reference Manual
December 31, 2007
SMS
Managing Stored Messages in the G24 Memory
AT+CPMS="me"
//Select NVM as preferred memory storage using the +CPMS
command
+CPMS: 11,61,11,61,2,20
OK
AT+CMGF=1
// move to TEXT mode
OK
AT+CMGL="ALL"
//List all messages in memory storage
+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"
//List all messages of a certain type (for example, stored
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
//Read any message from the list using its index
+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>
97254120032",145,<messsage length>
<Message body>
OK