Huawei MC509 Manuel D’Utilisation

Page de 156
 
HUAWEI MC509 CDMA LGA Module 
AT Command Interface Specification 
SMS Interface Commands 
 
Issue 01 (2011-08-26) 
Huawei Proprietary and Confidential 
Copyright © Huawei Technologies Co., Ltd. 
86 
 
Command 
Possible Response(s) 
+CNMI=? 
<CR><LF>+CNMI:(supported <mode> list),(supported 
<mt> list),(supported <bm> list),(supported <ds> 
list),(supported <bfr> list) <CR><LF> 
<CR><LF>OK<CR><LF> 
 
8.2.2 Interface Description 
The set command sets the mode of notifying the TE of a new short message. Where: 
<mode> and <bfr> are used to set the mode of notifying the TE of a new short 
message. 
<mt> sets the storage and notification rules for newly received short messages: a 
new short message is directly reported to the TE; or a new short message is stored in 
the MT and the storage position is reported to the TE. 
<ds> sets whether a short message status report (+CDSI, ^HCDS) is sent. 
The supported parameter value is returned when the test command is executed. 
8.2.3 Parameter Description 
<mode>: Specifies the short message notification mode. 
0: The short message notification is stored in the buffer of the MT. If the buffer of the 
MT is full, the new notification overwrites the oldest notification. 
1: The short message notification is sent to the TE. If the short message notification 
fails to be sent (for example, in online data mode), the notification is discarded 
(default value after startup). 
2: Send a message notification and message status report to the TE. If the sending 
fails (for example, in the online data mode), buffer the message notification in the MS 
and send it to the TE later. 
In CDMA mode, <mode> always set to 1. 
<mt>: Specifies the storage and notification rules for received short messages. 
The storage and notification for a new short message has the two modes: 
1. The short message is stored in the MT, and a storage position notification is sent to 
the TE (default value after startup). 
The short message notification uses the +CMTI command, that is, a new short 
message is stored in <mem3> specified by the +CPMS command; the storage 
location and the index value are reported to the TE. 
2. The short message is not stored in the MT but is directly sent to the TE. 
The short message notification uses the ^HCMT command. A new short message is 
not stored on the board. It is reported to the TE. The TE needs to call the AT+CNMA 
command to acknowledge the reported short message. If the AT+CNMA command is 
not received within two seconds, the MT sends a receiving error to the network.