Reading The Status Of Short Message Notification; Setting The Status Of Short Message Notification; Examples - Huawei MG323 At Command Interface Specification

Gsm m2m module
Hide thumbs Also See for MG323:
Table of Contents

Advertisement

HUAWEI MG323 GSM M2M Module
AT Command Interface Specification

11.8.2 Reading the Status of Short Message Notification

Read
command
Function
Response

11.8.3 Setting the Status of Short Message Notification

Write
command
Function
Response
Note:

11.8.4 Examples

Example 1:
Set the short message notification mode as follows: store the short message and
send the storage location to the TE; do not send the short message status report.
AT+CNMI=1,1,0,0,0
Issue 02 (2010-11-23)
AT+CNMI?
Reads the status of CNMI.
In case of successful execution:
<CR><LF>+CNMI:
<mode>,<mt>,<bm>,<ds>,<bfr><CR><LF><CR><LF>OK<CR><LF
>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>
AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds>[,<bfr>]]]]]
Sets the status of short message notification.
In case of successful execution: <CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>
After the MT restarts, the setting values of this command are cleared. In this case, no new
short message is reported. It is not recommended that the setting mode of
AT+CNMI=0,0,0,0,0 be used.
The <mode> and <bfr> parameters set the mode of reporting the new short message
notification to the TE.
The <mt> parameter sets whether to report a new short message directly to the TE or stores
it on the MT and reports the storage location to the TE when receiving the new short
message.
The <bm> parameter sets whether to report a new CBM directly to the TE or stores it on the
MT and reports the storage location to the TE when receiving the new CBM. The <ds>
parameter sets whether to report the short message status report (+CDS).
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Short Messages
170

Advertisement

Table of Contents
loading

Table of Contents