Cmgr – read message – Westermo GDW-11 User Manual

Page 93

Advertising
background image

Short Messages commands 93

6615-2220

+CMGR – Read message

Description:

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

Syntax.

AT+CMGR=<index>

Response syntax for text mode:

for SMS-DELIVER only

+CMGR:<stat>,<oa>[,<alpha>], <scts> [,<tooa>,<fo>, <pid>, <dcs>, <sca>, <tosca>,
<length>] <CR><LF> <data>

for SMS-SUBMIT only

+CMGR: <stat>,<da>[,<alpha>] [,<toda>, <fo>, <pid>, <dcs>, [<vp>], <sca>, <tosca>,
<length>]<CR><LF> <data>

for SMS-STATUS-REPORT only

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

Response syntax for PDU mode:

+CMGR: <stat> [,<alpha>] ,<length> <CR><LF> <pdu>

Parameters:

See table in beginning of section “short messages commands”

NOTE:

A message read with status “REC UNREAD” will be updated in memory with the status
“REC READ”.

The <stat> parameter for SMS Status Reports is always “READ”.

Advertising
This manual is related to the following products: