HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
11.12.2 Reading the Current Message Service Type
Read
command
Function
Response
Parameter description
<mt>,<mo>,<bm>: integer values, which indicate whether the MT supports receiving
short messages, sending short messages, and broadcasting message services
respectively.
11.12.3 Setting the Message Service Type
Write
command
Function
Response
11.12.4 Examples
Example 1:
AT+CSMS=?
+CSMS: (0)
OK
Issue 02 (2010-11-23)
AT+CSMS?
Reads the current message service type.
In case of successful execution:
<CR><LF>+CSMS: <service>,<mt>,<mo><bm><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>
0: does not support the preceding functions.
1 (default value): supports the preceding functions.
AT+CSMS=<service>
Sets the message service type.
In case of successful execution:
<CR><LF>+CSMS:
<mt>,<mo>,<bm><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>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Short Messages
179