Westermo GD-01 User Manual

Page 62

Advertising
background image

62

6196-2220

<bfr>

Default is 0.

Possible values:

0:

TA buffer of unsolicited result codes defined within this command is flushed to
the TE when <mode> 1...3 is entered (OK response shall be given before
flushing the codes)

1:

TA buffer of unsolicited result codes defined within this command is cleared
when <mode> 1...3 is entered.

+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:

+CMGR:<stat>,<oa>,[<alpha>,] <scts> [,<tooa>,<fo>, <pid>,<dcs>,<sca>,
<tosca>,<length>]
<CR><LF> <data> (for SMS-DELIVER only)

+CMGR: <stat>,<da>,[<alpha>,] [,<toda>,<fo>,<pid>,<dcs>, [<vp>], <sca>,
<tosca>,<length>]<CR><LF> <data> (for SMS-SUBMIT only)

+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
(for SMS-STATUS-REPORT only)

Response syntax for PDU mode:

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

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

NOTE: the <stat> parameter for SMS Status Reports is always “READ”.

B A C K

Advertising