Westermo GDW-11 User Manual

Page 94

Advertising
background image

94 Short Messages commands

6615-2220

Command example

Possible responses

Note

+CMTI: “SM”,1

New message received

AT+CMGR=1

+CMGR: “REC UNREAD”,

Read the message

”0146290800”,

”98/10/01,

18:22:11+00”,

<CR><LF>

ABCdefGHI
OK

AT+CMGR=1

+CMGR: “REC READ”,”014

Read the message again

6290800”,

”98/10/01,

18:22:11+00”,

<CR><LF>

ABCdefGHI
OK

AT+CMGR=2

+CMS ERROR: 321

Error: invalid index

AT+CMGF=0 ;+CMGR=1

+CMGR: 2,,<length>

In PDU mode

<CR><LF><pdu>

Message is stored but

OK unsent,

no

<alpha>field

AT+CMGF=1;+CPMS=

OK

Reset to text mode, set

”SR”;+CNMI=,,,2

read memory to “SR”, and

allow storage of further

SMS Status Report into

“SR”

memory

AT+CMSS=3

+CMSS: 160

Send an SMS previously

OK stored

+CDSI:

“SR”,1

New SMS Status Report
stored in “SR” memory at
index 1

AT+CMGR=1

+CMGR: “REC UNREAD”,

Read the SMS Status

6,160,

“+33612345678”,

129,

Report

“01/05/31,15:15:09+00”,
“01/05/31,15:15:09+00”,

0

OK

Advertising
This manual is related to the following products: