HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Short Messages

<ackpdu>: When the value of <service> in +CSMS is 1 and the network support is provided, this field is returned. Except for the lack of SCA, this field has the same format as PDU. (Not supported currently)

<Ctrl-Z>: indicates the end of a short message. The character is '0x1A'.

<Esc>: cancels the sending of the current short message. The character is '0x1B'.

11.5.3 Examples

Example:

Send short messages in PDU mode (+CMGF=0).

AT+CGSMS=1

OK

AT+CMGF=0

OK

AT+CNMI=1,2,0,0,0

OK

AT+CMGS=20

>07813108608805F911000B813109732008F70000FF06E8329BFD0E01 Contents of short messages Ctrl-Z

+CMGS: 19

OK

11.6 AT+CMGW - Command for Storing Short Messages

The AT+CMGW command stores a short message to the <mem2> memory that is set by the +CPMS command. Currently, <mem2> supports only SM.

11.6.1Checking Whether the Command for Storing Short Messages Is Supported

Test

AT+CMGW=?

command

 

Function

Checks whether this command is supported.

Response

z In case of available command: <CR><LF>OK<CR><LF>

 

z In case of unavailable command: <CR><LF>ERROR<CR><LF>

 

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

 

<err><CR><LF>

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

165

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 182
Image 182
Huawei MG323 manual 11.6 AT+CMGW Command for Storing Short Messages, AT+CGSMS=1 AT+CMGF=0, AT+CMGS=20