PIONEERPOS G24-LC manual At+Mmgl, At+Cmgl, At+Cpms=Me, OK AT+CSDH=1 AT+CMGL=STO Sent

Models: G24-LC G24-L

1 444
Download 444 pages 51.67 Kb
Page 157
Image 157

Chapter 3: AT Commands Reference

Example

AT+CMGL=?

+CMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL")

OK AT+MMGL=?

+MMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL","HEADER ONLY")

OK

AT+CPMS="SM"

// read messages from SIM.

+CPMS: 2,20,11,61,2,20

 

OK

 

AT+MMGL

// read "rec-unread" messages without changing message stat

+MMGL: 1,"REC UNREAD","+972544565034",,"05/01/01,09:21:22+08"

message text

 

OK

 

AT+CMGL

// read "rec-unread" messages with changing message stat

+CMGL: 1,"REC UNREAD","+972544565034",,"05/01/01,09:21:22+08"

message text

 

OK

 

AT+CMGL

 

OK

// the message stat was changed. No "rec-unread" messages.

AT+CPMS="ME"

 

+CPMS: 11,61,11,61,2,20

 

OK

 

AT+CMGL="sto sent"

+CMGL: 142,"STO SENT","054565034",, message text

OK AT+CSDH=1

OK

AT+CMGL="STO SENT"

+CMGL: 142,"STO SENT","054565034",,,81,<message length> message text

OK

 

AT+CMGS=18

//send to myself

>079179521201009511000c917952446505430004AA0441424344 +CMGS: 68

OK

AT+CPMS="sm"

// change to SIM to read the incoming messages

+CPMS: 2,20,11,61,2,20

 

OK

 

AT+MMGL +MMGL: 2,0,,23 0791795212010095040C917952446505430004502032114340800441424344 OK

April 15, 2008

G24-L AT Commands Reference Manual

3-93

Page 157
Image 157
PIONEERPOS G24-LC manual At+Mmgl, At+Cmgl, At+Cpms=Me, OK AT+CSDH=1 AT+CMGL=STO Sent