List message +cmgl – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 441

Advertising
background image


Short message Commands

List Message +CMGL

©Restricted

Page:

95 / 202

This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.

WM_DEV_OAT_UGD_049 - 001

VOLUME 3

August 23, 2007

17.13 List Message +CMGL

17.13.1 Description
This command allows the application to read stored messages by indicating the type
of the message to read. The messages are read from the memory selected by the

+CPMS command.

17.13.2 Syntax
Depending on the mode, several responses are possible.

• For SMS-DELIVER or SMS-SUBMIT and text mode

Action command

AT+CMGL=<stat>

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

<data>

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

<data>[…]]

OK

• For SMS-STATUS-REPORT and text mode

Action command

AT+CMGL=<stat>

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

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

OK

Advertising