HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification
Short Message Service Commands
Issue 04 (2013-01-28)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
66
6.3 +CNMI–Set New Message Notification
6.3.1
Command Syntax
Command
Possible response(s)
+CNMI[=<mode>[,
<mt>[,<bm>[,<ds>
[,<bfr>]]]]]
<CR><LF>OK<CR><LF>
In case of SMS-related error:
<CR><LF>+CMS ERROR: <err><CR><LF>
+CNMI?
<CR><LF>+CNMI:
<mode>,<mt>,<bm>,<ds>,<bfr><CR><LF>
<CR><LF>OK<CR><LF>
+CNMI=?
<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>
6.3.2
Description
The SET command is used to set the program of reporting new message to TE.
<mode> and <bfr> are used to set the mode of reporting the new message notification
(including four types: +CMT, +CMTI, +CDSI, +CDS) to the TE.
<mt> is used to set whether reporting the new message to the TE, or storing the new
message in the MS and reporting the storage position when a new message is
received.
<bm> is not in use currently.
<ds> is used to set whether to report the message state report (+CDSI, +CDS).
The TEST command returns the supported parameter values.
It is possible that ME/TA result code buffer is in volatile memory. In this case
messages may get lost if the power of ME/TA is switched off before codes are sent to
TE. Thus, it is not allowed to use direct message routing (<mt>=2 or 3, or <ds>=1)
with <mode> value 0 or 2.
If ME does not get acknowledgement within required time (network timeout), both
<mt> and <ds> values of +CNMI will be cleared to 0.
Notes:
The set value of this command will be cleared to 0 after the MS is restarted. In this case, no
new message will be reported. The “AT+CNMI=0, 0, 0, 0, 0” mode is not recommended.
The
“AT+CNMI” command will set all parameters to 0.
If AT+CSMS <service> is set to 1, it should be set before AT+CNMI.