AT Command Set

5.5AT+CMGR Read SMS message

Test command

Response

AT+CMGR=?

OK

 

 

Execute command

AT+CMGR=

<index>

Parameter

<index> integer type; value in the range of location numbers supported by the associated memory

Response

TA returns SMS message with location value <index> from message storage <mem1> to the TE. If status of the message is ‘received unread’, status in the storage changes to ‘received read’.

1)If text mode (+CMGF=1) and command successful: for SMS-DELIVER:

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

for SMS-SUBMIT:

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

for SMS-STATUS-REPORT:

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

for SMS- COMMAND:

+CMGR: <stat>,<fo>,<ct> [,<pid>,[<mn>],[<da>],[<toda>],<length> <CR><LF><cdata>]

for CBM storage:

+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>

2)If PDU mode (+CMGF=0) and command successful:

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

for CBM storage:

+CMGR: <length><CR><LF><pdu>

3)If error is related to ME functionality:

+CMS ERROR: <err>

Parameter

<alpha> string type alphanumeric representation of <da> or <oa> corresponding to the entry found in phonebook; implementation of this feature is manu- facturer specific

<stat> integer type in PDU mode (default 0), or string type in text mode (default “REC UNREAD”); indicates the status of message in memory: defined values:

MC35_ATC_01_V04.00

Page 131 of 238

02.04.2002

Page 131
Image 131
Siemens MC35 manual AT+CMGR Read SMS message, +CMGR stat,fo,mr,ra,tora,scts,dt,st, +CMGR stat,sn,mid,dcs,page,pagesCRLFdata

MC35 specifications

The Siemens MC35 is a compact and versatile modem designed primarily for mobile communication, data transmission, and machine-to-machine (M2M) applications. Launched in the early 2000s, it quickly became popular due to its blend of performance, reliability, and ease of integration, making it a solid choice for developers and businesses.

One of the key features of the MC35 is its support for GSM and GPRS technologies. This allows it to connect seamlessly to various networks, enabling users to transmit data at speeds that were impressive for its time. The GPRS capability can offer data rates of up to 171.2 kbps, allowing for efficient data transfer even in areas with limited connectivity.

The MC35 is designed to support both SMS and voice functionalities, making it adaptable for a range of applications. This includes remote monitoring, telemetry, and alarm signaling. The ability to send and receive SMS messages is a significant advantage for applications that require immediate alerts and notifications, enhancing its utility in security systems and industrial automation.

Furthermore, the modem is equipped with a range of interfaces, including serial communication (RS232), which makes it compatible with various hardware devices. This facilitates easy integration into existing systems, whether for industrial machinery or consumer electronics. Additionally, it features a robust software development kit (SDK), which enables developers to create custom applications tailored to their specific requirements.

Power consumption is another notable characteristic of the Siemens MC35. It is engineered to be energy-efficient, which is especially important for battery-operated devices or systems that require a prolonged operation without frequent recharging or maintenance.

In terms of physical characteristics, the MC35 is compact and lightweight, allowing it to fit into various enclosure designs without occupying much space. Its durability ensures it can perform reliably in different environments, making it suitable for outdoor and industrial applications.

To summarize, the Siemens MC35 stands out as a reliable modem with a rich feature set that includes GSM and GPRS support, SMS and voice capabilities, easy integration through various interface options, and energy-efficient operation. Its adaptability makes it a valuable tool for a wide array of communication and data transmission tasks, solidifying its place in the evolution of mobile communications technology.