TC63 AT Command Set

13.5 AT+CMGL

s

13.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

Reference(s)

GSM 07.05

PIN ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge 4 Last

% % % % % % % ! % !

Command Description

The execute command is the same as the write command with the given default for <stat>.

The write command returns messages with status value <stat> from message storage <mem1> to the TE. If status of the message is 'received unread', status in the storage changes to 'received read'.

TC63_ATC_V00.490

Page 327 of 501

5/24/05

Confidential / Draft - Do not copy

 

 

Page 327
Image 327
Siemens TC63 manual 13.5 AT+CMGL List SMS messages from preferred store, At+Cmgl=?