Huawei ME909u-521 manual Reading Short Messages, Reference Process

Models: ME909u-521

1 67
Download 67 pages 9.88 Kb
Page 32
Image 32
5.4 Reading Short Messages

HUAWEI ME909u-521 LTE LGA Module

 

Application Guide

SMS Application Scenarios

5.4 Reading Short Messages

5.4.1 Reference Process

Command

Description

 

 

 

 

AT+CMGL=0

List all received unread messages.

 

 

 

 

+CMGL: 2,0,,48

 

 

0891683108608805F9040D916831

The format of short messages can refer to

 

09732097F2000001432619001001

the AT+CMGL command.

 

F506215744FD3D1A0E930C8429

 

 

6D9EC370BFDE86C2F23228FFA

 

 

EFF00

 

 

+CMGL: 4,0,,64

 

 

0891683108608805F9040D916831

 

 

09732097F2000001403261310500

 

 

32506215744FD3D1A0E930C8429

 

 

6D9EC370BFDBE83C2B0380F6A

 

 

97416FF7B80C6AVFE5E510

 

 

OK

 

 

 

 

 

AT+CMGR=4

Read the message stored in the message

 

 

storage location 4.

 

 

 

 

 

 

+CMGR: 1,,64

 

 

0891683108608805F9040D916831

The format of short messages can refer to

 

09732097F2000001403261310500

the AT+CMGR command.

 

32506215744FD3D1A0E930C8429

 

 

6D9EC370BFDBE83C2B0380F6A

 

 

97416FF7B80C6AVFE5E510

 

 

OK

 

 

 

 

 

There are two methods to read short messages:

Method 1: Use the AT+CMGL command to list the messages that are in specified state and stored in the preferred message storage. The following table describes the message states. If the message sate is received unread messages, the REC UNREAD state will be changed to REC READ after the AT+CMGL command is executed.

Message State

PDU Mode

 

 

Received unread messages

0

 

 

Received read messages

1

 

 

Stored unsent messages

2

 

 

Stored sent messages

3

 

 

Issue 01 (2013-07-05)

Huawei Proprietary and Confidential

32

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 32
Image 32
Huawei ME909u-521 manual Reading Short Messages, Reference Process