Read message +cmgr – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 436

Advertising
background image


Short message Commands

Read Message +CMGR

©Restricted

Page:

90 / 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.12 Read Message +CMGR

17.12.1 Description
This command allows the application to read stored messages. The messages are
read from the memory selected by the +CPMS command.

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

• For SMS-DELIVER and text mode:

Action command

AT+CMGR=<index>

+CMGR: <stat>,<oa>,[<alpha>,]<scts>[,<tooa>,<fo>,<pid>,<dcs>,

<sca>,<tosca>,<length>]

<data>

OK

• For SMS-SUBMIT and text mode:

Action command

AT+CMGR=<index>

+CMGR: <stat>,<da>,[<alpha>,][,<toda>,<fo>,<pid>,<dcs>,

[<vp>],<sca>,<tosca>,<length>]

<data>

OK

• For SMS-STATUS-REPORT and text mode:

Action command

AT+CMGR=<index>

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

OK

Advertising