HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Short Messages

11.9.3 Setting the Storage Location

Write

AT+CPMS=<mem1>[,<mem2>[,<mem3>]]

command

 

Function

Sets the storage media on which the operations of reading and writing

 

short messages are performed.

Response

z In case of successful execution:

 

<CR><LF>+CPMS:

 

<used1>,<total1>,<used2>,<total2>,<used3>,<total3><CR><LF>

 

<CR><LF>OK<CR><LF>

 

z In case of an error during command execution:

 

<CR><LF>ERROR<CR><LF>

 

z In case of an error related to the MS: <CR><LF>+CMS ERROR:

 

<err><CR><LF>

11.9.4 Examples

Example 1:

Read the current status of storage location.

AT+CPMS=?

+CPMS: (“SM”), (“SM”), (“SM”)

OK

Example 2:

Check the available storage location of short messages.

AT+CPMS?

+CPMS: “SM”,12,20, “SM”,12,20, “SM”,12,20

OK

Example 3:

Set the first storage location of short message to SM.

AT+CPMS=“SM”

+CPMS: 12,20,12,20,12,20

OK

11.10AT+CSCA - Command for Setting the Number of the

SMSC

The AT+CSCA command sets the number of the SMSC. For short messages in PDU mode, the settings performed through this command are used only when sc_len=0

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

173

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 190
Image 190
Huawei MG323 11.10 AT+CSCA Command for Setting the Number, Setting the Storage Location, At+Cpms=?, At+Cpms?, At+Cpms=Sm