Westermo GD-01 User Manual

Page 63

Advertising
background image

63

6196-2220

Example:

Command example

Possible responses

Note

AT+CMTI: “SM”,1

New message received

AT+CMGR=1 +CMGR: “REC

UNREAD”,

”0146290800”,

Read the message

”98/10/01,18:22:11+00”,
<CR><LF>
ABCdefGHI

OK

AT+CMGR=1

+CMGR: “REC UNREAD”,

Read the message again,

”0146290800”,

note that the message is

”98/10/01,18:22:11+00”,

read now

<CR><LF>
ABCdefGHI

OK

AT+CMGR=2

+CMS ERROR: 321

Read at a wrong index

AT+CMGF=0;AT+CMGR=1

+CMGR: 2,,<length>

In PDU mode Note:

<CR><LF><pdu>

Message is stored but

OK

unsent, no <alpha>field

AT+CMGF=1;+CPMS=”SR”;

Reset to text mode, set

+CNMI=,,,2

OK

read memory to
“SR”, and allow storage of
further SMS Status
Report into “SR” memory

AT+CMSS=3 +CMSS: 160

OK

Send an SMS previously

+CDSI: “SR”,1

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

AT+CMGR=1

+CMGR: "READ",6,160,

Read the SMS Status

"+33612345678",

Report

129,"01/05/31,
15:15:09+00",
"01/05/31,15:15:09+00",0

OK

B A C K

Advertising