MC55 AT Command Set

12.5 AT+CMGL

s

mobile

12.5AT+CMGL List SMS messages from preferred store

Syntax

Test Command

AT+CMGL=?

Response(s)

+CMGL: (list of supported <stat>s)

OK

Exec Command

AT+CMGL

Response(s)

+CMGL: (see write command for default of <stat>)

OK

Write Command

AT+CMGL=<stat>

Response(s)

Output if text mode (AT+CMGF=1) and command successful:

For SMS- SUBMITs and/or SMS-DELIVERs

+CMGL: <index>, <stat>, <oa>/<da>, [<alpha>] , [<scts>] [, <tooa>/<toda>, <length>] <data>

[... ]

OK

For SMS-STATUS-REPORTs

+CMGL: <index>, <stat>, <fo>, <mr> , [<ra>] , [<tora>] , <scts>, <dt>, <st> [... ]

OK

For SMS-Commands

+CMGL: <index>, <stat>, <fo>, <ct> [... ]

OK

Output if PDU mode AT+CMGF=0 and command successful:

For SMS-SUBMITs and/or SMS-DELIVERs

+CMGL: <index>, <stat>, [<alpha>], <length> <pdu>

[... ]

OK

If error is related to ME functionality

ERROR

+CMS ERROR

MC55_ATC_V01.05

Page 319 of 469

2/10/04

Confidential / Released

 

 

Page 319
Image 319
Siemens MC55 manual 12.5 AT+CMGL List SMS messages from preferred store, At+Cmgl=?