HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Short Messages

<ackpdu>: When the value of <service> in AT+CSMS is 1 and 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)

11.7.3 Examples

Example:

Send a stored short message in PDU mode.

AT+CMGF=0

 

OK

 

AT+CMSS=8

A short message whose status is 2 exists at the

location whose index is 8

 

+CMSS: 21

 

OK

 

11.8AT+CNMI - Command for Setting the Notification for a New Short Message

The AT+CNMI command sets the notification that is used to report the received new short message to the TE.

11.8.1Checking the Parameter Range Supported by the AT+CNMI Command

Test

AT+CNMI=?

command

 

Function

Queries the parameters supported by the CNMI command.

Response

z In case of successful execution:

 

<CR><LF>+CNMI: (list of supported <mode>s),(list of supported

 

<mt>s),(list of supported <bm>s),(list of supported <ds>s),(list of

 

supported <bfr>s) <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>

Parameter description

<mode>: integer, which sets the short message notification mode.

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

168

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 185
Image 185
Huawei MG323 manual Example Send a stored short message in PDU mode, AT+CMGF=0 AT+CMSS=8, Location whose index is +CMSS