beautypg.com

Notes, Read message +cmgr, Syntax – Synaccess Networks NP-0801DTM User Manual

Page 135: Parameters and values, Pdu mode, Text mode

background image

3GPP TS 27.005 AT COMMANDS FOR SMS AND CBS

 

 

135 

HSPA+ AT Commands Reference Guide

 

Note: The order in which the messages are reported by +CMGL 
corresponds to their position in the memory storage 

Notes 

„

Reference GSM 27.005, 3GPP TS 23.040. 

Read Message   +CMGR 

Execute command reports the message with location value  from  message storage ( is 
the message storage for read and delete SMs as last settings of command +CPMS). 

Test command returns the OK result code. 

Syntax 

Command 

Command type 

AT+CMGR= 

Execute 

AT+CMGR=? 

Test 

Parameters and Values 

 

Message index. 

 

The output depends on the last settings of command +CMGF (message format to 
be used). 

PDU Mode 

If there is a message in location , the output has the following format: 

+CMGR: ,, 

Where 

 

Status of the message.

 

New message. 

Read message. 

Stored message not yet sent. 

Stored message already sent. 

 

String type, alphanumeric representation of  or , corresponding to an 
entry found in the phonebook; used character set is the one selected with 
command +CSCS. 

 

Length of the PDU in bytes. 

 

Message in PDU format according to GSM 3.40. 

 

The status of the message and entire message data unit  is returned 

Text Mode 

If there is a Received message in location   the output format is: 

+CMGR: ,,,[,,,,,,,] 

The information written in italics is present depending on +CSDH last setting. 

If there is either a Sent or an Unsent message in location  the output format is: